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.

How to use the minimal hosting model in ASP.NET Core 6

How to use the minimal hosting model 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.

How to resolve dependencies in ASP.NET Core

How to resolve dependencies in ASP.NET Core

Explore three different ways to resolve dependencies in ASP.NET Core 6, using constructor injection, action method injection, or IServiceProvider instances.

How to improve StringBuilder performance in C#

How to improve StringBuilder performance in C#

Take advantage of best practices for using StringBuilder to reduce memory allocations and improve the performance of your string operations.

How to use IDisposable in ASP.NET Core

How to use IDisposable in ASP.NET Core

Learn the different ways to dispose of objects that implement IDisposable in ASP.NET Core.

Load More