ASP.NET Core Clean Architecture
Creating a testable and maintainable application in .NET Core requires a solid foundation. This course will teach you how to use Clean Architecture principles for your ASP.NET Core applications.
What you'll learn
Setting up an application architecture isn’t a straightforward task. Decisions made early in the process can have a large impact later on. When creating an architecture for an enterprise application, maintainability and testability play an important role. In this course, ASP.NET Core Clean Architecture, you’ll learn how to create a testable and maintainable architecture for ASP.NET Core using the principles of Clean Architecture. First, you’ll explore foundational architectural principles which help with the creation of maintainable code. Next, you’ll discover how to set up a real-world application architecture with ASP.NET Core. Finally, you’ll learn how to plug in different, common blocks such as logging and authentication. When you’re finished with this course, you’ll have the skills and knowledge of creating a testable and maintainable ASP.NET Core application needed to architect enterprise .NET Core apps.
Table of contents
- Module Introduction 2m
- Understanding the Business Requirements 4m
- Setting up the Application Architecture 2m
- Demo: Creating the Visual Studio Solution 1m
- Creating the Domain Project 1m
- Demo: Creating the Domain Project 2m
- Designing the Application Project 4m
- Demo: Creating the Application Project 4m
- Using MediatR and AutoMapper 7m
- Demo: Writing the Application Logic in the Request Handler 12m
- Introducing CQRS into the Architecture 4m
- Demo: Adding CQRS into the Application Architecture 2m
- Understanding Features 1m
- Demo: Organizing the Code Using Features 5m
- Demo: Using Commands to Create a New Entity 5m
- Adding Validation Using Fluent Validation 4m
- Demo: Adding Validation and Custom Exceptions 9m
- Summary 1m
- Module Introduction 1m
- Understanding the Goal of the Infrastructure Projects 2m
- Adding Data Persistence with Entity Framework Core 2m
- Demo: Adding Entity Framework Core 4m
- Demo: Implementing the Persistence Layer 5m
- Adding the Infrastructure Project 1m
- Demo: Adding Support for Mailing from the Infrastructure 7m
- Summary 1m
- Module Introduction 2m
- Creating the API Project 3m
- Demo: Adding the API Project 8m
- Transitioning from View Services to MediatR 5m
- Demo: Adding Controller Code Using MediatR 6m
- Deciding Which Objects to Return 3m
- Demo: Returning View Models and Responses 4m
- Demo: Adding Support for Returning a CSV File 5m
- Exposing the API Functionality Using Swagger 2m
- Demo: Adding Support for Swagger 2m
- Summary 1m
- Module Introduction 1m
- Handing Errors in the API 5m
- Demo: Handing Errors 4m
- Adding Logging to the Architecture 4m
- Demo: Adding Logging to the Application 3m
- Authenticating Users 4m
- Demo: Adding Authentication Using Tokens 5m
- Demo: Adding Authentication to the Blazor App 4m
- Summary and Course Closing 1m