How To

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

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

How to use Refit to consume APIs in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 515

Refit is a powerful library designed to streamline API consumption in .NET, .NET Core, and Xamarin.

abstract class vs interface in C#
By Tan Lee Published on Dec 31, 2024 367

When designing flexible and maintainable applications, it's important to understand the differences between abstract classes and interfaces.

How to implement identity authentication using Minimal APIs in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 605

Minimal APIs offer a lightweight approach to building APIs with minimal dependencies, but authentication and authorization are still often necessary.

How to use Dapper with SQLite in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 634

When building .NET and .NET Core applications that rely on databases, developers often seek a lightweight and fast database engine to speed up testing and development.

How to Use the New Minimal API Features in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 396

In ASP.NET Core 8, several new features have been introduced to enhance the development of minimal APIs.

How to Build an authentication handler for a minimal API in ASP.NET Core
By Tan Lee Published on Dec 31, 2024 575

ASP.NET Core’s minimal API framework provides a lightweight approach to building APIs with minimal overhead, but security is still a priority.

How to host Web API in a separate process
By Tan Lee Published on Dec 30, 2024 423

Web APIs are essential for building RESTful services that communicate over HTTP, providing a lightweight, stateless, and scalable architecture.

Asynchronous operations in ADO.Net
By Tan Lee Published on Dec 30, 2024 304

In this article, we explore asynchronous programming basics and demonstrate how to implement it in ADO.NET and Entity Framework for database operations.

Optimizing LINQ Query Performance
By Tan Lee Published on Dec 30, 2024 298

The post provides tips and best practices for optimizing LINQ (Language Integrated Query) performance.

Exception handling in WCF
By Tan Lee Published on Dec 30, 2024 267

In WCF (Windows Communication Foundation), handling exceptions becomes more complex due to its reliance on sending .NET objects over the wire and serialized data (e.g., SOAP messages).

Improving Web API performance
By Tan Lee Published on Dec 30, 2024 283

To improve the performance of your Web API services, you can apply several optimization techniques.