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.

How to use Simple Injector in ASP.NET Core MVC

How to use Simple Injector in ASP.NET Core MVC

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.

How to prevent CSRF attacks in ASP.NET Core

How to prevent CSRF attacks in ASP.NET Core

Take advantage of anti-forgery tokens in ASP.NET Core to protect users of your applications against cross site request forgery exploits.

How coupling impacts software quality

How coupling impacts software quality

Why loose coupling between components makes your .NET application more flexible, manageable, scalable, and testable.

How to use string interpolation in C# 9

How to use string interpolation in C# 9

Take advantage of string interpolation to incorporate variable substitution in formatted strings in C#.

How to build lightweight services in ASP.NET Core 6

How to build lightweight services in ASP.NET Core 6

Take advantage of the extension methods of the IEndpointConventionBuilder interface to implement lightweight services sans template or controller in ASP.NET Core 6.

Load More