How To
How to enable CORS in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 248
The same-origin policy is a security measure in web browsers that restricts interactions between different URLs unless they share the same protocol, port, and host.
How to implement HTTP.sys web server in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 261
ASP.Net Core is an open-source, cross-platform framework for building high-performance web applications.
How to use File Providers in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 482
File Providers in ASP.NET Core offer an abstraction layer over the file system, enabling easy retrieval of file and directory information, monitoring for changes, and accessing physical files.
How to use policy-based authorization in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 313
ASP.NET Core is a framework for building web applications across different platforms, policy-based authorization is a new feature that complements traditional role-based authorization.
How to enforce SSL in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 253
SSL (Secure Sockets Layer) is a security protocol that encrypts communications between a web server and a browser.
How to use HttpClientFactory in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 230
HttpClientFactory helps avoid issues like socket exhaustion by reusing `HttpClient` instances.
How to use configuration providers in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 197
ASP.NET Core enables flexible and modular configuration management through configuration providers and dependency injection, promoting a loosely coupled architecture.
DbContext in Entity Framework Core
By Tan Lee Published on Dec 31, 2024 399
Entity Framework (EF) Core is an Object-Relational Mapper (ORM) that helps developers interact with databases using .NET objects, eliminating the need to deal directly with SQL queries for CRUD operations.
How to use Scrutor in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 307
Scrutor is a library that enhances ASP.Net Core's dependency injection (DI) system by eliminating the need for repetitive boilerplate code when registering services.
How to use response caching middleware in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 175
In ASP.NET Core, response caching can significantly improve application performance by reducing the load on the web server.
How to enable CORS in ASP.NET Core WebAPI
By Tan Lee Published on Dec 05, 2024 263
To enable Cross-Origin Resource Sharing (CORS) in an ASP.NET Core Web API project, follow these steps.
How to use Glimpse in ASP.NET Core
By Tan Lee Published on Jan 04, 2025 202
Glimpse is an open-source debugging and diagnostics tool for ASP.NET Core web applications.