ASP.Net MVC Core Middleware

Опубликовано: 11 Октябрь 2024
на канале: Cottrell Coding
457
3

This video demonstrates what middleware does for the ASP.Net MVC projects. I work in startup.cs and edit both the Configure and ConfigureServices methods. I add middleware one at a time to demonstrate that both the choice and order of middleware are important. I reference a figure from Andrew Lock's ASP.Net Core In Action, 2nd edition text.

For setup, I create an empty ASP.Net project, and added a wwwroot and pages folder. I populated these with a picture and an index.html page respectively.