Architecting ASP.NET Core 3 Applications: Best Practices
Creating a testable and maintainable application in .NET Core requires a solid foundation. This course will teach you best practices for creating an architecture 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, and maintainability and testability play an important role. In this course, Architecting ASP.NET Core Applications: Best Practices, you’ll learn how to create a testable and maintainable architecture for ASP.NET Core. 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 real-world, enterprise .NET Core apps.
Table of contents
- Module Introduction 2m
- Understanding the Business Requirements 4m
- Setting up the Application Architecture 1m
- Demo: Creating the Visual Studio Solution 1m
- Creating the Domain Project 0m
- Demo: Creating the Domain Project 2m
- Designing the Application Project 4m
- Demo: Creating the Application Project 3m
- 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 5m
- 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 6m
- Transitioning from View Services to MediatR 5m
- Demo: Adding Controller Code Using MediatR 5m
- Deciding Which Objects to Return 3m
- Demo: Returning View Models and Responses 4m
- Demo: Adding Support for Returning a CSV File 4m
- Exposing the API Functionality Using Swagger 3m
- Demo: Adding Support for Swagger 2m
- Summary 1m
- Module Introduction 1m
- Handling Errors in the API 5m
- Demo: Handing Errors 3m
- Adding Logging to the Architecture 4m
- Demo: Adding Logging to the Application 2m
- Authenticating Users 4m
- Demo: Adding Authentication Using Tokens 5m
- Demo: Adding Authentication to the Blazor App 2m
- Summary and Course Closing 1m