ASP.NET Core Diagrams
The Host and a Request's Path Through It
C4 · ComponentWhat the host holds, and a request passing from Kestrel to an endpoint.
Middleware Around next, and a Short-Circuit
C4 · DynamicCode before and after next, and a middleware that skips next.
Pipeline Branches: UseWhen and Map
FlowA UseWhen branch rejoins the main pipeline; a Map branch never does.
Where the Endpoint Is Selected and Where It Runs
FlowRouting picks the endpoint early; it runs at the end, inside its filters.
Exception Handler Re-Execution
FlowWhat runs again when the exception handler re-executes at an error path.
How Routing Picks One Endpoint
FlowThe narrowing steps, and the three ways selection can fail.
Endpoint Filter Order
C4 · DynamicGroup filters wrap endpoint filters, and the result executes last.
The MVC Filter Pipeline
StructureWhich filters wrap which stages of a controller action.
Buffered and Streamed Uploads
FlowThe two upload paths, and where each checks the size limits.
SignalR Scale-Out
C4 · DeploymentTwo ways to scale out: a Redis backplane, or Azure SignalR Service.
IoT Dashboard Pipelines
FlowDevice telemetry to the browser, through an app server or through Functions.
Where 401 and 403 Come From
FlowAuthentication identifies the caller, and authorization decides the response.
A CORS Preflight
C4 · DynamicThe browser asks permission before a cross-origin PUT, then sends it.
Three Limiters, One Burst
ChartPermits left over time when a client bursts at 55 s and 61 s.
An Integration Test Host
C4 · DeploymentWhat runs in-process, what a test replaces, and what runs outside.
Where a Response Can Be Reused
FlowThe caches a GET passes, and what controls each one.
Hosted Services Across the Host's Lifetime
C4 · DynamicWhen two hosted services start, run, and stop, relative to the server.
Health Checks Routed to Kubernetes Probes
FlowHow tags send each check to a probe, and what each probe's failure does.
OpenTelemetry in an ASP.NET Core App
FlowTelemetry from .NET's APIs, through name-based subscriptions, to a collector.
Four Ways a Request Reaches the App
C4 · DeploymentThe processes and servers a request crosses in each hosting model.
A Pod Shutting Down in Kubernetes
C4 · DynamicRouting updates, the preStop sleep, and the app's drain, inside one grace period.
What Running the AppHost Starts
FlowThe AppHost starts each resource and injects its configuration.
A Multi-Service AppHost
C4 · ContainerA gateway, order service, and worker sharing a database, cache, and broker.
Found this useful? Share it:
Share on LinkedIn