How To

How to use the REPR design pattern in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 299

The REPR (Request-Endpoint-Response) design pattern is a strategy that aids in simplifying API development by promoting modularization and clear separation of concerns.

How to use DispatchProxy in C#
By Tan Lee Published on Dec 31, 2024 310

In C#, aspect-oriented programming (AOP) allows developers to isolate cross-cutting concerns such as logging, authentication, and caching separately from core business logic.

How to use request decompression in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 392

In modern web applications, minimizing data transfer is essential for improving performance and reducing bandwidth consumption.

How to use response compression in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 304

Response compression middleware in ASP.NET Core helps reduce bandwidth usage and enhances application responsiveness by compressing server responses before they are sent to clients.

How to send emails using SendGrid in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 775

In this article, we will walk through how to use SendGrid in an ASP.NET Core application to send emails.

How to use the Unit of Work pattern in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 270

The Unit of Work design pattern is an essential technique in software development, particularly when building scalable, maintainable, and reusable data access layers in ASP.NET Core applications.

How to use API keys to secure web APIs in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 270

API key authentication is a method used to control which applications or services can access your APIs.

Action, Func, and Predicate delegates in C#
By Tan Lee Published on Dec 31, 2024 355

Delegates in C# are powerful tools that help manage method callbacks and provide flexibility in code.

How to use OpenAPI in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 337

In ASP.NET Core, you can easily document your HTTP endpoints using OpenAPI support, which includes Swagger UI for a graphical interface.

Speeding Up Searches with SearchValues in .NET 8
By Tan Lee Published on Dec 31, 2024 409

With the release of .NET 8, Microsoft introduced the SearchValues class, a new addition that leverages vectorization and hardware acceleration to improve search performance.

How to use FastEndpoints in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 780

FastEndpoints is a free, open-source framework designed to create lightweight and fast REST APIs in .NET Core.

How to use HybridCache in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 373

Caching is a key strategy for improving application performance and scalability.