How To

How to use Glimpse in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 351

Glimpse is an open-source debugging and diagnostics tool for ASP.NET Core web applications.

How to implement health checks in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 622

Health check middleware in ASP.NET Core helps monitor the application's health, including its database connection and other dependencies.

How to use System.Threading.Channels in C#
By Tan Lee Published on Jan 03, 2025 655

The System.Threading.Channels namespace in .NET Core enables the implementation of the asynchronous producer-consumer pattern.

How to implement rate limiting in ASP.NET Core
By Tan Lee Published on Jan 03, 2025 420

Rate limiting in ASP.NET Core helps protect web applications from malicious attacks, such as denial-of-service (DoS) attacks, by controlling the frequency of requests from users.

How to Implement Versioning in ASP.NET Core Web API
By Tan Lee Published on Jan 03, 2025 619

API versioning in ASP.NET Core allows you to manage multiple versions of the same Web API while minimizing changes to the URI.

How to use the Data Protection API in ASP.NET Core
By Tan Lee Published on Jan 03, 2025 650

ASP.NET Core offers an easy-to-use cryptographic API through its Data Protection stack, designed to help secure sensitive data in applications.

How to use URL Rewriting Middleware in ASP.NET Core
By Tan Lee Published on Jan 03, 2025 874

The URL Rewriting Middleware in ASP.NET Core allows you to modify incoming request URLs based on predefined rules.

How to use Autofac in ASP.Net Core
By Tan Lee Published on Jan 03, 2025 443

Dependency injection in ASP.Net Core helps achieve loose coupling, enhancing testability and maintainability.

How to handle exceptions with asynchronous in C#
By Tan Lee Published on Jan 03, 2025 799

Exception handling in asynchronous code differs from synchronous methods in C#.

How to use default interface methods in C#
By Tan Lee Published on Jan 03, 2025 463

C# 8.0 introduced default interface methods, allowing you to add new methods to an interface without breaking existing implementations.

How to format response data in ASP.NET Core
By Tan Lee Published on Jan 03, 2025 448

In this article, we will learn how to use the FormatFilterAttribute in ASP.NET Core to control the format of response data based on the request URL.

How to use projections in C#
By Tan Lee Published on Jan 03, 2025 379

Projections in C# allow you to transform an object into a new form by selecting only the properties you need.