Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
In this article, we are going to cover the Onion Architecture in .Net 5 and its usage.

This article explains how to create a Web API project in ASP.NET Core from scratch.

In this article, you will learn how to Implement Database Views Using Entity Framework (EF) Code First Approach.

In this article, you will learn about Hexagonal Architecture In ASP.NET Core.

In this article, we will learn what .NET 6 is and how to configure the SDK in Visual Studio.

Configure cookie-based authentication and CORS in an ASP.NET Core Web API for separate front-end applications.

Learn how to install and configure NSwag in an ASP.NET Core Web API to generate OpenAPI documentation, Swagger UI, and API client code.

Learn how to configure Serilog in an ASP.NET Core 5.0 Web API and store structured log events, including custom user data, in SQL Server.

Swagger (Open API) is a language-agnostic specification for describing and documenting the REST API. Swagger Allows both the Machine and Developer to understand the working and capabilities of the Machine without direct access to the source code of the project the main objectives of swagger (Open API) are to: · Minimize the workload to connect with Microservice. · Reduce the Time Needed to accurately document the Microservice. he OpenAPI Specification is a document that describes the capabilities of our APIS. The Open Specification is based on XML and attributes Annotations with the controller and models. It is the main part of the OpenAPI flow and is used to drive the tools such as SwaggerUI by Default its name is openapi.json the given below Jason file is the example of the OpenAPI Specification.

This article is meant to make the process of authentication and authorization easier using JSON Web Tokens and also to check the entire process with Swagger UI rather than PostMan.

Configure ngrok's host header to forward requests to an ASP.NET Core app and resolve 400 Bad Request errors.

In this article, we will configure the swagger for existing API's in .Net and .Net Core

In this article, you will learn how to deploy of ASP.NET Core 5.0 Application in Windows Server IIS.

Configure Serilog logging in an ASP.NET Core 3.1 application, including default ILogger logging, log levels, console output, and file logging.

In this article, we will learn about the Hangfire and its usage in .Net 5

This article is about globalization and localization in ASP.NET Core MVC 3.1 and the hierarchy of the resource file and folder in the project.

Learn the basics, features, version history, and benefits of ASP.NET Core 5.0, along with the Visual Studio and .NET SDK setup required for development.

There are 3 types of Controller action return types in ASP.NET Core web API. These are very important for the Http Response of Web API.

Learn how to implement CQRS with MediatR in an ASP.NET Core MVC and Vue.js application, using separate command and query handlers for image upload and display.

In this article we are going to learn how to setup the basic auth for API's in .net 5

Learn how to authorize an ASP.NET Core application with Azure AD groups by querying Microsoft Graph API and mapping group memberships to role claims.

Create a Hello World app using ASP.NET Core Middleware. Middleware components are called in the order they appear in Configure() method; i.e., the order in which they're added to the pipeline. The response, on its way back to the client, also passes through the same middleware pipeline.

In this article, we will create an empty ASP.NET Core project that doesn’t include default features, i.e., an empty shell.

Here e will learn how to use ASP.NET Core service container for dependency injection.

ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks to Dependency Injection.

Starting from an empty project, discussed in a previous post, modify the Configure() method to use the IHostingEnvironment to call different middleware based on current environment.

The sample code will require you to set up an Azure account, NoSQL database and collection.

Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as lambda) to handle production exceptions.

Framework provides logging capability through ILoggerFactory, to which you could attach one or more providers. Providers act on the logged data in some form i.e., log it to file, database, Azure etc.

This article is about how to work with structured logging in ASP.NET Core and Serilog
Everything on ASP.NET Core, not only its articles: the ASP.NET Core page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article