Top 5 Features of Entity Framework Core 6

EF Core 6 launched with .NET 6. Here are my favorite parts: Temporal Tables: Native support for SQL Server temporal tables. Query data “AS OF” a specific time. Migration Bundles: Compile your migrations into a standalone executable. `ef bundle`. This makes DevOps pipeline deployment significantly safer (no SDK required on the deployment agent). Faster Query […]

Read more โ†’
Posted in UncategorizedTagged

Testing .NET 6 Applications: Integration Testing with WebApplicationFactory

Integration testing is the highest value testing you can do. In .NET 6, `WebApplicationFactory` makes it incredibly easy to spin up an in-memory version of your API for testing. Exposing the Program Class With Top-level statements, `Program` is internal. To test it, you need to expose it in `Program.cs`: The Test Setup

Read more โ†’

.NET 6: Minimal APIs Explained

Minimal APIs are the biggest shift in ASP.NET Core since version 1.0. They remove the MVC ceremony (Controllers, Actions, Filters) in favor of a fluent lambda-based syntax. The Code Is it just for tiny apps? No. Performance is technically better than MVC (fewer allocations, no Filter Pipeline overhead). However, organization becomes the challenge. You don’t […]

Read more โ†’