Skip to content

nitish-kaushik/aspnetcore-webapi-clean-architecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET Core Web API Clean Architecture: CRUD Operations 🚀🚀

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

👨‍💻 Instructor

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:

How to Learn and Implement Clean Architecture in ASP.NET Core Web API

👉 Lesson 1: Setting Up Clean Architecture from Scratch

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

👉 Lesson 2: Implement the CRUD Operations in ASP.NET Core application

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages