Anatomy of a modern ASP.NET web application
Good architecture isn't an end in itself - it shows in how easily a team moves with it: today and in two years. This eBook revisits modern web-development approaches that everyday work often forgets. Food for thought, not dogma.
- Use dependency injection & lifetimes correctly - from the composition root to a unit of work per request.
- Understand the middleware pipeline: order, rate limiting and custom middleware - including our interactive Middleware Designer.
- Test web APIs like a real consumer - with WebApplicationFactory, Testcontainers and honest TDD.
.NET experts from Switzerland · Microsoft MVP & open-source contributors · proven in cloud environments
The eBook is available in German only.
Shall we get in touch?
No newsletter, no ads. We'd like a personal, one-to-one conversation about your projects, your challenges, and whether we could work together.
What's inside the eBook
From good architecture and dependency injection through the middleware pipeline and caching to testing - compact and practical.
9 chapters · 25 pages
-
Good architecture
What defines it
-
Dependency Injection
IoC & composition root
-
Controllers vs. Minimal APIs
TypedResults & Native AOT
-
Middleware pipeline
Order & cross-cutting
-
Caching
L1/L2 & HybridCache
-
Testing
WebApplicationFactory & Testcontainers
We build and maintain web APIs - for many years.
We're .NET experts from Switzerland, including a Microsoft MVP and open-source contributors. From advising CTOs on architecture to running .NET workshops: we love code - and even more, software that matters.
Dependency Injection
Chapter 4Constructor injection as the norm, DbContext as scoped - and why a singleton must never depend on a scoped service.
Middleware pipeline
Chapter 6CORS → Authentication → Authorization: the ordering invariants - plus an interactive designer to try it out.
Testing
Chapter 8Test web APIs as a real consumer: WebApplicationFactory in memory, Testcontainers for the real database, honest TDD.
Interactive Middleware Designer
Compose your ASP.NET middleware pipeline visually - with warnings for problematic ordering and generated C# code.
An eBook doesn't replace a conversation about your specific architecture. But it shows the principles we build by - and where decisions pay off early.
Ready for cleaner ASP.NET architecture?
Get the eBook and see how modern web applications are well structured from the ground up.
Download the eBookPrefer to write to us directly?
Let's Build Something Great Together
Have a question or want to discuss a project? We'd love to hear from you. Fill out the form below and we'll get back to you as soon as possible.
You can also reach us directly at [email protected]
