Expert ASP.NET Web API 2 for MVC Developers
- Length: 688 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2014-08-16
- ISBN-10: 1484200861
- ISBN-13: 9781484200865
- Sales Rank: #955175 (See Top 100 Books)
Web API 2 is the latest evolution of Microsoft’s web services toolkit, which allows the creation of RESTful applications built on the ASP.NET platform. It provides a standards-based approach and a high-productivity development model that makes it easy to deliver services to a wide-range of clients, including mobile devices.
This book puts Web API into context for the experienced MVC Framework developer and dives deep into the tools and techniques required to build Web API applications that integrate with the MVC Framework and shows you how to create single-page applications to consume them.
Best-selling author Adam Freeman explains how to get the most from Web API 2 by building on the foundation of the MVC Framework and the ASP.NET platform. He starts with the nuts-and-bolts and shows you everything through to advanced features, going in-depth to give you the knowledge you need.
What youll learn
- Gain a solid architectural understanding of RESTful services
- Learn how to leverage the MVC pattern and components to build web services
- Generate and process JSON data from data models
- Learn what’s new in Web API 2 and how best to apply these new features
- Build secure and scalable web services that integrate with MVC applications
- Extend Web API 2 to customize it to your needs
Each topic is covered clearly and concisely and is packed with the details you need to learn to be truly effective. The most important features are given a no-nonsense in-depth treatment and chapters include common problems and details of how to avoid them.
Who this book is for
Experienced MVC developers who want to build and integrate web applications using the latest version of Web API 2
Table of Contents
Part I: Getting Ready
Chapter 1: Getting Readys
Chapter 2: Your First Web API Application
Chapter 3: Essential Techniques
Chapter 4: Understanding HTTP Web Services
Chapter 5: SportsStore: Preparation
Chapter 6: SportsStore: A RESTful Application
Chapter 7: SportsStore: Creating the Clients
Chapter 8: SportsStore: Deployment
Part 2: Results and Parameters
Chapter 9: The Anatomy of ASP.NET Web API
Chapter 10: Creating and Configuring a Web API Application
Chapter 11: Action Method Results
Chapter 12: Creating Media Type Formatters
Chapter 13: Using the Built-in Media Formatters
Chapter 14: Understanding Parameter and Model Binding
Chapter 15: Binding Simple Data Types
Chapter 16: Binding Complex Data Types Part I
Chapter 17: Binding Complex Data Types Part II
Chapter 18: Model Validation
Part 3: Dispatching Requests
Chapter 19: Dispatching Requests
Chapter 20: URL Routing: Part I
Chapter 21: URL Routing: Part II
Chapter 22: Controllers and Actions
Chapter 23: Filters Part I
Chapter 24: Filters Part II
Chapter 25: Error Handling
Chapter 26: Using OWIN