Writing ASP.NET Server Code (Models and Controllers)
You’ve now looked at the basics of creating, running, and working with an ASP.NET 5/MVC 6 application. It’s time to dig a little deeper. This section explores implementing a model for a sample application (a model that works with a database). We then discuss handling requests and returning results using controllers and the many action methods available in the framework. For views, however, we created a separate section that follows this one. “Coding for the UI (Views and Related Web UI Elements)” covers many aspects of building a web UI inside ASP.NET MVC.
Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.