Milan Jovanović
@mjovanovictech
Practical .NET and Software Architecture Tips | Microsoft MVP 📰 The .NET Weekly: https://bit.ly/45T0U7i ▶️ YouTube: http://youtube.com/@MilanJovanovicTech
I've been working on this for more than 6 months. So, I'm excited to share that Pragmatic REST APIs is now live. 🎉 Here's what I packed inside: - 9 in-depth chapters - 80+ lessons - 14+ hours of video lessons We'll go from scratch (quite literally, a blank VS solution) to…



If you need to register many services, don't do it manually. You can use assembly scanning to solve this with a few lines of code. You pay the price at app startup, but after that, there's no impact. For an advanced solution, there's code generation.
I benchmarked 7 different approaches for bulk inserts in C#. SqlBulkCopy crushed the competition, no surprise there. But the real surprise? A lesser-known method came in second with impressive results. It’s fast, simple, and might be a better fit for many real-world scenarios.…

Monoliths fail when they’re poorly structured—not because they’re monoliths.
The right way to build ASYNC APIs in .NET. Most APIs follow a simple pattern: - The client sends a request - The server does some work - The server sends back a response This works well for fast operations, like fetching data or simple updates. But what about long-lasting…

The ecosystem of integrations has been expanding in aspire! #dotnet #aspire
Passing services to the domain model? Passing services like IPricingService or IInventoryService into a domain method such as Order.Create might seem unconventional at first glance. But it's a deliberate design choice.
I let AI loose on a 6,000+ LOC .NET monolith. It understood my architecture. Wrote real features. Built without errors. Even visualized my business flows with Mermaid diagrams. 🤯 See what Augment Code can do: youtu.be/Qk4F36MbNKg

.NET Aspire is the future of cloud-native development in .NET. If you haven’t looked into it yet, now’s the time. I’ve been using Aspire a lot. Here’s where it stands out: - Streamlined setup for distributed apps - Built-in support for databases, queues, and caches - Dashboard…

Multiple EF Core DbContexts in a single application? Here's when this makes sense: - Working with multiple databases - Separating concerns - Modular monolith - Read replicas I use this when implementing a modular monolith. Each module had a dedicated schema in the database and…
