© Andrew Troelsen and Philip Japikse 2017

Andrew Troelsen and Philip Japikse, Pro C# 7, https://doi.org/10.1007/978-1-4842-3018-3_30

30. Introducing ASP.NET Web API

Andrew Troelsen and Philip Japikse2

(1)Minneapolis, Minnesota, USA

(2)West Chester, Ohio, USA

The previous chapter covered ASP.NET MVC, the pattern, and the .NET implementation. This chapter introduces you to the ASP.NET Web API, a service framework built largely on the chassis of MVC that shares many of the concepts, including routing, controllers, and actions. ASP.NET Web API allows you to leverage your MVC knowledge to build RESTful services without the configuration and plumbing that WCF (Chapter 23) requires. You will create a RESTful service called CarLotWebAPI that exposes all ...

Get Pro C# 7: With .NET and .NET Core 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.