Understand the key concepts behind composition and inheritance that allow you to build reusable and flexible types in your .NET applications.
Take advantage of stored procedures, query pagination, query caching, and other advanced Dapper feature to simplify data access and ensure high performance.
Factory-based middleware activation is a more flexible and dynamic approach to configuring and activating middleware components. Here’s how to take advantage of it in ASP.NET Core 7.
Learn how to use the fixed window, sliding window, token bucket, and concurrency algorithms in ASP.NET Core 7 to protect your applications and APIs against malicious attacks or overuse.
Take advantage of response compression middleware in ASP.NET Core to reduce bandwidth requirements and improve the responsiveness of your apps.
Take advantage of the request decompression middleware in ASP.NET Core 7 to enable your API endpoints to accept requests that contain compressed content.
If you don’t repeat yourself, keep it simple, and implement only the functionality you really truly need, your C# code will be cleaner, simpler, and much easier to maintain.
Take advantage of the unit of work design pattern to build flexible, extensible, and reusable data access layers in your ASP.NET Core applications.
Take advantage of the new rate limiting middleware in ASP.NET Core 7 to protect against malicious attacks on your applications and ensure equitable use of server resources.
Take advantage of migrations in EF Core to manage database schema changes over time and keep them in sync with the data models of your ASP.NET Core applications.
Take advantage of SendGrid to integrate reliable and scalable email into your ASP.NET Core applications. Here’s how.
Take advantage of parameter binding in ASP.NET Core 7 to convert request data to strongly typed parameters, improving both application performance and code maintainability.
Orchestration takes a centralized approach, and choreography a decentralized approach, to coordinating the interactions of microservices. Understand the differences.
The latest version of Microsoft’s web application development framework brings excellent new capabilities to middleware, minimal API apps, and more. Here are the highlights.
Take advantage of implicit and explicit operators to convert between user-defined types and improve the readability of your code.
Learn how you can take advantage of delegates like Action, Func, and Predicate to facilitate callbacks and add flexibility to your code.
Take advantage of delegates to promote flexibility and code reuse in your .NET applications and to implement event-driven programming with ease.
Take advantage of the built-in support for OpenAPI in ASP.NET Core to automatically document your HTTP endpoints. Minimal APIs are supported too.
Take advantage of the null object pattern in .NET to eliminate the need for null checks and avoid runtime errors in your applications.
Learn how to protect the information handled by your .NET applications by encrypting and decrypting the data using either a single key or a public/private key pair.
Take advantage of endpoint filters in ASP.NET Core 7 to modify request and response objects, short-circuit the request processing pipeline, or handle cross-cutting concerns for every request.
Take advantage of the stream classes in .NET 7 for faster reads and writes of the data in your .NET applications.
Take advantage of query types in EF Core to query types that don’t have keys and to map to tables and views that lack an identity column.
Learn how you can use Entity Framework Core to log data to the console, SQL Server, and other log targets when working with ASP.NET Core 7 applications.
Take advantage of the in, out, and ref keywords to pass parameters to your C# methods in .NET and make your code more readable and maintainable.
Take advantage of the BitArray class in .NET 7 to perform bitwise operations on your data for improved performance.
Take advantage of FluentValidation to validate your model classes when working with minimal APIs in ASP.NET Core 6.
Take advantage of cancellation tokens in ASP.NET Core to allow long running operations to be cancelled gracefully and keep applications responsive.
Take advantage of minimal API filters in ASP.NET Core 7 to modify request and response objects or short-circuit the request processing pipeline.
ASP.NET Core configuration providers read configuration data from common sources such as JSON files and databases. But you can use other sources by creating custom configuration providers.
Entity Framework Core allows you to store and retrieve data to and from an in-memory database. It’s a quick and easy way to test your ASP.NET Core 6 web applications.
Learn the most important new features and enhancements in Microsoft’s cross-platform framework for building modern web applications.
Take advantage of the PriorityQueue class in .NET 6 to create queues that work based on priority values you assign to the elements.
It’s easy to update your ASP.NET Core 5 code to ASP.NET Core 6. Learn how by following these examples.
Microsoft .NET 6 marks a new era of developing performant, modern-day applications for web, cloud, desktop, and mobile devices.
Take advantage of trace listeners in ASP.NET Core 6 to add performance and debugging instrumentation to your applications with ease.
Take advantage of middleware in ASP.NET Core 6 to check the remote IP address of every request, and allow requests only from known and trusted addresses.
How to implement logging, read from the configuration system, and use dependency injection in minimal APIs in ASP.NET Core 6.
Take advantage of String.Create to create strings with no allocation overhead and improve the performance of your .NET 6 applications.
Take advantage of the GZip and Brotli compression methods to reduce the size of string data and improve performance in your .NET Core applications.
Take advantage of Azure Functions to run small pieces of code that can be triggered by events in the Azure cloud.
Take advantage of the NetArchUnit to enforce architecture rules in your application and ensure consistency of quality and standards.
Learn how you can track changes to entities while disconnected from the EF context in Entity Framework Core.
Take advantage of the IAsyncDisposable interface to dispose of objects in a non-blocking way and make your .NET applications more efficient.
Program and Startup are the main classes for configuring .NET applications. Learn how to use them in ASP.NET Core 6.
The minimal hosting model in ASP.NET Core 6 means having to write less boilerplate code to get your application up and running.
Explore three different ways to resolve dependencies in ASP.NET Core 6, using constructor injection, action method injection, or IServiceProvider instances.
Take advantage of best practices for using StringBuilder to reduce memory allocations and improve the performance of your string operations.
Learn the different ways to dispose of objects that implement IDisposable in ASP.NET Core.
Take advantage of the fast, easy, and lightweight Simple Injector inversion of control library to implement dependency injection in your ASP.NET Core MVC applications.