Apress Access

Expert ASP.NET Web API 2 for MVC Developers

By Adam Freeman

  • eBook Price: $41.99
Buy eBook Buy Print Book

Learn the details about how to create efficient, portable MVC applications using Web API 2

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-484200-86-5
  • 688 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: August 25, 2014
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Windows 10 for the Internet of Things
  • Practical Microsoft Visual Studio 2015
  • ASP.NET MVC with Entity Framework and CSS
  • HTML5 Quick Markup Reference
Full Description

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 you’ll 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

Table of Contents

Part I – Getting Started

1. Getting Started

2. Your First Web API Application

3. Essential Techniques

4. Understanding HTTP Web Services

5. SportsStore: Preparation

6. SportsStore: A RESTful Application

7. SportsStore: Creating the Clients

8. SportsStore: Deployment

Part II – Results and Parameter

9. The Anatomy of ASP.NET Web API

10. Creating and Configuring a Web API Application

11. Action Method Results

12. Creating Media Formatters

13. Using the Built-In Media Formatters

14. Understanding Parameter and Model Binding

15. Binding Simple Data Types

16. Binding Complex Data Types – Part 1

17. Binding Complex Data Types – Part 2

18. Model Validation

Part III – Dispatching Requests

19. Dispatching Requests

20. URL Routing – Part 1

21. URL Routing – Part 2

22. Controllers and Actions

23. Filters – Part 1

24. Filters – Part 2

25. Error Handling

26. Using OWIN

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. Expert ASP.NET Web API 2 for MVC Developers


      View Book

    2. ASP.NET Web API 2: Building a REST Service from Start to Finish


      View Book

    3. JavaScript Quick Syntax Reference


      View Book

    4. Advanced API Security


      View Book