Microsoft .NET | News, how-tos, features, reviews, and videos
How to implement basic password authentication for a minimal API in ASP.NET Core using a custom authentication handler that validates the user’s credentials against a database.
Parameter binding from forms, antiforgery tokens, and Native AOT are now supported in ASP.NET Core. Here’s how to take advantage of them.
Take advantage of connection resiliency in EF Core to detect errors and retry commands and enable your ASP.NET Core application to overcome transient faults.
The new SearchValues class takes advantage of vectorization and hardware acceleration to speed up repeated searches in .NET 8.
Understand the pitfalls of using enumeration types in the domain layer of your .NET applications and the advantages of using record types instead.
Embrace the request-endpoint-response design pattern to simplify API development and make your code cleaner, more efficient, and easier to maintain.
EF Core allows you to instantiate a DbContext in several ways. Learn when and how to use these different approaches in your ASP.NET Core applications.
Learn how you can use value objects in C# to improve the clarity, structure, and maintainability of your code.
Learn how to choose between classes, structs, and record types in C# for power, flexibility, efficiency, and performance.
Take advantage of the new IExceptionHandler interface to handle exceptions gracefully in your ASP.NET Core applications.
Sponsored Links