How to use cancellation tokens in ASP.NET Core 7

How to use cancellation tokens in ASP.NET Core 7

Take advantage of cancellation tokens in ASP.NET Core to allow long running operations to be cancelled gracefully and keep applications responsive.

How to use route handler filters in minimal APIs in ASP.NET Core 7

How to use route handler filters in minimal APIs in ASP.NET Core 7

Take advantage of minimal API filters in ASP.NET Core 7 to modify request and response objects or short-circuit the request processing pipeline.

How to create a custom configuration provider in ASP.NET Core 6

How to create a custom configuration provider in ASP.NET Core 6

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.

How to use EF Core as an in-memory database in ASP.NET Core 6

How to use EF Core as an in-memory database in ASP.NET Core 6

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.

How to implement JWT authentication in ASP.NET Core 6

How to implement JWT authentication in ASP.NET Core 6

It’s easy to secure minimal API endpoints in ASP.NET Core 6 using JSON Web Tokens for authentication and authorization. Just follow these steps.

The best new features in ASP.NET Core 6

The best new features in ASP.NET Core 6

Learn the most important new features and enhancements in ASP.NET Core 6, a major upgrade to Microsoft’s framework for building modern web applications.

How to work with a priority queue in .NET 6

How to work with a priority queue in .NET 6

Take advantage of the PriorityQueue class in .NET 6 to create queues that work based on priority values you assign to the elements.

How to migrate ASP.NET Core 5 code to ASP.NET Core 6

How to migrate ASP.NET Core 5 code to ASP.NET Core 6

It’s easy to update your ASP.NET Core 5 code to ASP.NET Core 6. Learn how by following these examples.

The best new features in .NET 6

The best new features in .NET 6

Microsoft .NET 6 marks a new era of developing performant, modern-day applications for web, cloud, desktop, and mobile devices. Here’s what’s new.

How to work with trace listeners in ASP.NET Core 6

How to work with trace listeners in ASP.NET Core 6

Take advantage of trace listeners in ASP.NET Core 6 to add performance and debugging instrumentation to your applications with ease.

How to implement IP whitelists in ASP.NET Core 6

How to implement IP whitelists in ASP.NET Core 6

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.

Use logging and DI in minimal APIs in ASP.NET Core 6

Use logging and DI in minimal APIs in ASP.NET Core 6

How to implement logging, read from the configuration system, and use dependency injection in minimal APIs in ASP.NET Core 6.

How to work with String.Create in C#

How to work with String.Create in C#

Take advantage of String.Create to create strings with no allocation overhead and improve the performance of your .NET 6 applications.

How to compress and decompress strings in C#

How to compress and decompress strings in C#

Take advantage of the GZip and Brotli compression methods to reduce the size of string data and improve performance in your .NET Core applications.

How to work with Azure Functions in C#

How to work with Azure Functions in C#

Take advantage of Azure Functions to run small pieces of code that can be triggered by events in the Azure cloud.

How to enforce architecture rules in C#

How to enforce architecture rules in C#

Take advantage of the NetArchUnit to enforce architecture rules in your application and ensure consistency of quality and standards.

How to work with disconnected entities in Entity Framework Core

How to work with disconnected entities in Entity Framework Core

Learn how you can track changes to entities while disconnected from the EF context in Entity Framework Core.

Implement authorization for Swagger in ASP.NET Core 6

Implement authorization for Swagger in ASP.NET Core 6

Take advantage of authentication and authorization to secure your Swagger UI in ASP.NET Core 6.

How to work with IAsyncDisposable in .NET 6

How to work with IAsyncDisposable in .NET 6

Take advantage of the IAsyncDisposable interface to dispose of objects in a non-blocking way and make your .NET applications more efficient.

Demystifying the Program and Startup classes in ASP.NET Core

Demystifying the Program and Startup classes in ASP.NET Core

Program and Startup are the main classes for configuring .NET applications. Learn how to use them in ASP.NET Core 6.

Load More