All projects

FlowLens

A Visual Studio extension that turns ASP.NET Core request paths into interactive source-linked graphs using Roslyn semantic analysis.

Category
Developer Tools
Year
2026
Role
Developer tool engineer

Overview

FlowLens is a Visual Studio extension that analyses ASP.NET Core execution paths and turns them into interactive graphs. It traces an HTTP endpoint through controller actions, DI interfaces, concrete services, repositories and Entity Framework Core operations.

The problem

Understanding a complex ASP.NET Core endpoint often requires manually tracing calls across controllers, interfaces, services, repositories and projects. Traditional debugging is not always the fastest way to understand static request structure.

The solution

I built an IDE-integrated tool that accepts a controller action, analyses the Roslyn workspace, recursively traces method and dependency relationships, identifies EF Core operations and renders an interactive Overview or Deep Dive graph with direct source navigation.

My contributions

Designed and developed the Roslyn analysis engine, endpoint discovery, DI resolution, recursive tracing, EF Core operation classification, graph metadata, Visual Studio VSIX host, WPF/WebView2 tool window, Next.js React interface, ELK graph layout, theme support, progressive expansion and source navigation.

Architecture & engineering

FlowLens separates static analysis, IDE integration and graph presentation. FlowLens.Core targets netstandard2.0 and uses Microsoft.CodeAnalysis Roslyn. FlowLens.VisualStudio targets .NET Framework 4.7.2 and hosts WPF/WebView2 inside Visual Studio. The UI is a statically exported Next.js application packaged inside the VSIX.

Challenges & decisions

Call graphs must resolve interfaces and implementations across projects without relying on fragile text searches. Roslyn semantic symbols and recursive traversal provide reliable relationships. Large graphs are managed through Overview and Deep Dive exploration, while ELK layout and source metadata connect visual nodes back to exact code locations.

Outcomes & lessons

Built an IDE-integrated request-flow visualiser with semantic endpoint, dependency and EF Core analysis, interactive graph exploration, direct source navigation, VSIX packaging and automated tests. The SentinelOps sample demonstrates tracing across controllers, services, repositories and EF Core.

System flow

  1. 01Visual Studio action
  2. 02Roslyn workspace
  3. 03Endpoint and DI analyzers
  4. 04Recursive method tracer
  5. 05Graph builder
  6. 06React Flow and ELK
  7. 07WebView2 tool window
  8. 08Visual Studio source navigation