Chapter 3. Controllers

As discussed in the first chapter, all web applications receive requests from the server and produce a response, that is delivered back to the end user. A Controller does the job of receiving the request and producing the output based on the input data in ASP.NET MVC.

In this chapter, you'll be learning about the following topics:

  • Role of the Controller in ASP.NET MVC applications
  • Routing introduction and concepts
  • Creating your first ASP.NET 5 application
  • Installation of the ASP.NET Core NuGet packages in your application
  • Creation of your first Controller and action method, which returns a simple Hello World
  • Adding a View and making the changes that allow your Controller to use that View
  • Adding a Model and passing that Model data ...

Get Learning ASP.NET Core MVC Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.