Microsoft .NET | News, how-tos, features, reviews, and videos
Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls.
Aspect-oriented programming allows you to isolate the cross-cutting concerns of your application, reduce code duplication, and improve the readability and maintainability of your code.
Take advantage of the new Task.WhenEach method to process asynchronous tasks as they complete, enhancing the efficiency of your .NET applications.
Take advantage of extension methods to add functionality to existing types without needing to modify or derive from those original types.
FusionCache is an open-source, easy-to-use implementation of hybrid in-memory and distributed caching that brings additional features and resiliency to caching in ASP.NET Core.
Take advantage of the Result pattern, the Try-Parse pattern, and other techniques to make error handling more explicit and to avoid writing exception handling code in your .NET applications.
Take advantage of the FluentValidation open-source library to validate data in your ASP.NET Core application and keep your code clean, organized, and maintainable.
C# 13 introduces several new features that make it easier to build modern applications including enhanced params collections and a new Lock API that improves thread synchronization.
HybridCache is a new API in .NET 9 that brings additional features, benefits, and ease to caching in ASP.NET Core. Here’s how to take advantage of it.
Take advantage of the free open-source FastEndpoints library to build fast and lean APIs in your ASP.NET Core applications.
Sponsored Links