CHAPTER 34

image

ASP.NET MVC and Web API

The last three chapters covered ASP.NET Web Forms as well as web-related concepts such as HTTP and HTML. This chapter introduces two newcomers to the ASP.NET ecosystem: ASP.NET MVC and Web API. MVC grew out of the user community (specifically the ALT.NET movement) asking for a framework that more closely adhered to the tenants of HTTP, was more testable, and adhered to separation of concerns. While Web Forms still controls the market share of the .NET web development ecosystem, MVC is rapidly growing its adoption rate.

This chapter begins with a brief explanation of the MVC pattern and then dives right into creating ...

Get C# 6.0 and the .NET 4.6 Framework, Seventh 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.