Controllers and Routing
Learning Objectives
- Understand the basic architecture of an MVC web application
- Build an ASP.NET application that can handle various types of requests
Key Terminology
Simple Controllers
- route
Controllers
- endpoint
- routing
- conventional routing
- attribute routing
- action method
- attribute
[HttpGet]
[HttpPost]
[Route("path")]
IActionResult
Controllers with Parameters
- query string
Cleaning Up Your Controllers
- attribute routing
- attributes