Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Architecting an ASP.NET Core MVC Application for Unit Testability

via Pluralsight

Overview

Want to quickly and easily know if your app is working? You'll need automated tests. This course will show you how to architect an ASP.NET Core app so that you can write great automated unit tests.

You need unit tests if you want to know if your app is really and truly working. The problem is that it's not always easy to do. In this course, Architecting an ASP.NET Core MVC Application for Unit Testability, you will gain the ability to design your apps for testability. First, you will learn about the architectural design patterns that help make your application easy to test, refactor, and maintain. Next, you will discover how to apply these architectural design patterns in order to implement testable ASP.NET Model-View-Controller code and testable database code using Entity Framework Core. Finally, you will explore how to apply these design patterns to create testable security code, validation code, and Web API code. When you are finished with this course, you will have the skills and knowledge of software architecture and unit testing needed to design your ASP.NET Core apps for testability.

Topics:
  • Course Overview
  • What Should I Test?
  • Using Abstraction to Test the User Interface
  • Overthrowing the Tyranny of the Database with Repository and Adapter Patterns
  • Leveraging the Strategy Pattern to Encapsulate Business Logic
  • Invoking the Right Logic and Loading the Correct Page
  • Testing Security: Authorization & Policies
  • Testing Security: Custom Logic & Middleware
  • Validating Your Web API Service Code

Taught by

Benjamin Day

Reviews

4.8 rating at Pluralsight based on 49 ratings

Start your review of Architecting an ASP.NET Core MVC Application for Unit Testability

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.