Chapter 3. Service Layer with ASP.NET Web API
In this chapter, ASP.NET Web API will be introduced with examples, and the service layer structure for our Movie Tickets application will be created. If you are not a .NET programmer or you don't intend to mess with data and service layers, feel free to skip this chapter. The service that we are building in this chapter is available online, which can be used while building the sample application. This service instance can be used as the backend, while following the Movie Tickets application integration. This chapter is not a complete reference of ASP.NET Web API, but details its features and how to use it to develop, service backend for our mobile client. An understanding of ASP.NET MVC is desired, but not necessary to follow the contents of this chapter.
In this chapter we will cover:
- Creating a Web API service
- Routing
- Parameter binding
- Building a service for the Movie Tickets application
- Content negotiation
- Securing Web API
ASP.NET...