Welcome! This guide will help you learn about implementing CRUD operations using ASP.NET Core Web API with a clean architecture approach. The following technologies are used:
- ASP.NET Core Web API (DotNet 8)
- MediatR
- Entity Framework Core
- SQL Server
Nitish Kaushik is a Microsoft MVP in developer technologies and has rich experience in Microsoft Technologies.
You can find more content from Nitish on following YouTube channels:
In this lesson, you will learn how to set up clean architecture from the ground up. We will cover the essential layers required and how to create references between them.
🎥 Video How to Learn and Implement Clean Architecture in ASP.NET Core Web API
In this lesson we will implement the follwing CRUD Operations
- Get All records
- Get single record by Id
- Add new record
- Update the record
- Delete the record
We will be using following technologies in these CRUD operations
- Asp.Net Core Web API
- Entity Framework Core
- SQL Server
- CQRS (MediatR)
- Clean Architecture
🎥 Video CRUD opeations in ASP.Net Core
👉 Lesson 3: Options Pattern (Get data from appsettings.json file) in ASP.NET Core application with Clean Architecture
Options pattern is used to get the data (configuration) from appsettings.json and other configuration places with strongly binding. Options patern reduced the chances of typo mistake for the key name while getting the data from appsetings.json
🎥 Video Options Pattern in Asp.Net Core in Class Library using Clean Architecture
👉 Lesson 4: Use HttpClient Typed implementation to call the external API (endpoints) from ASP.NET Core application
In an ASP.NET Core application, there are many instances where calling external endpoints is necessary. To achieve this, we can utilize the HttpClient
.
In this video, we will explore how to use HttpClient
to make calls to external APIs, adhering to Clean Architecture principles.