
Implement authorization for Swagger in ASP.NET Core
Swagger makes it easy to document APIs, and Swashbuckle makes it easy to use Swagger in ASP.NET Core. Here’s how to implement basic authentication and authorization for your Swagger UI.

How to implement JWT authentication in ASP.NET Core
It’s easy to secure minimal API endpoints in ASP.NET Core using JSON Web Tokens for authentication and authorization. Just follow these steps.

How to measure API performance in ASP.NET Core
Take advantage of MethodTimer.Fody to measure the execution speed of your APIs and keep your ASP.NET Core applications running smoothly.

How to use the specification design pattern in C#
Take advantage of the specification design pattern in C# to improve the modularity, maintainability, and reusability of your source code.

How to use IAsyncEnumerable in C#
Learn how to use IAsyncEnumerable in C# to easily filter, aggregate, transform, project, or otherwise process continuous streams of data asynchronously.

How to create SOAP services in ASP.NET Core
Take advantage of SoapCore to create SOAP services in ASP.NET Core and support data exchange with other systems.

How to use structured concurrency in C#
Structured concurrency offers a more organized and more intuitive way of managing the lifetimes of asynchronous tasks. Here’s how to take advantage of it in C#.

How to use TinyIoC in ASP.NET Core
TinyIoC is a lightweight and fast inversion of control container that makes dependency injection simple and easy. Here’s how to take advantage of it in ASP.NET Core applications.

How to implement in-memory caching in ASP.NET Core
You can take advantage of the decorator design pattern to add in-memory caching to your ASP.NET Core applications. Here’s how.

Build an API gateway using YARP in ASP.NET Core
Take advantage of an API gateway to provide a single point of entry to your back-end services and keep your services secure. YARP makes it easy.

How to build a microservice in ASP.NET Core
A microservices architecture can help you build applications that are flexible, scalable, and easy to maintain. Here’s how to get started with microservices in ASP.NET Core.

How to improve API security in ASP.NET Core
Take advantage of authentication and authorization, API keys, rate limiting, CORS, API versioning, and other recommended practices to build secure and robust APIs in ASP.NET Core.

How to improve data access performance in EF Core
Take advantage of these 10 strategies to improve data access performance when using Entity Framework Core in your data-driven .NET applications.

How to use Fluent Assertions in C#
When unit tests fail, they should clearly explain why. Take advantage of the Fluent Assertions library to write unit test methods that are simple, readable, concise, and expressive.

How to handle null values in C#
Null pointer exceptions are no fun. You can avoid them and keep your code clean and maintainable by using these techniques to elegantly handle null values in C#.

How to use the is and as operators in C#
Take advantage of the is and as operators in C# to perform casting operations elegantly and write code that is well structured, concise, and maintainable.

How to use API keys to secure web APIs in ASP.NET Core
Take advantage of API key authentication to control the access of applications and services to your Web APIs in ASP.NET Core.

How to work with Azure Key Vault in .NET Core
Azure Key Vault is a safe and secure place to store the tokens, keys, passwords, certificates, and other sensitive data used in your .NET Core applications. Here’s how to work with it in C#.

How to avoid spaghetti code in C#
Spaghetti is good eating but bad programming. Follow these 10 best practices to keep your C# code clean, lean, and easy to maintain.

Composition vs. inheritance in OOP and C#
Understand the key concepts behind composition and inheritance that allow you to build reusable and flexible types in your .NET applications.
Top Blog Posts