Summary
In this chapter, you learned how to build simple ASP.NET Core MVC websites using the HTTP pipeline, routes, models, views, and controllers, as summarized in the following list:
- HTTP pipeline: A sequence of middleware components that process HTTP requests and responses, allowing for handling tasks like routing, authentication, and exception handling. You will learn more details about this in Chapter 8, Configuring and Containerizing ASP.NET Core Projects.
- Routes: These define URL patterns in ASP.NET Core that map incoming HTTP requests to corresponding controllers and actions for processing.
- Controllers: These act as intermediaries between models and views in ASP.NET Core, handling user input, updating models, and returning views or other types of responses like JSON.
- Models: These represent the data or business logic in ASP.NET Core applications and are used to manage and manipulate data, often interacting with a database.
- Views: These are responsible for rendering the UI, typically...