Practical ASP.NET Web API

By Badrinarayanan Lakshmiraghavan

Practical ASP.NET Web API is a down-to-earth introduction to using the Web API to solve common professional problems. Taking a code-centric approach and emphasizing the way that you create, build and run code in the real world, you'll learn the fundamentals of Web API by seeing them in action and working with them in a hands-on way.

Full Description

  • ISBN13: 978-1-4302-6175-9
  • 340 Pages
  • User Level: Intermediate
  • Publication Date: August 26, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $59.99
  • eBook Price: $41.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Practical ASP.NET Web API provides you with a hands-on and code-focused demonstration of the ASP.NET Web API in action. From the very beginning, you'll be writing working code in order to see best practices and concepts in action. As the book progresses, the concepts and code will become more sophisticated. Beginning with an overview of the web service model in general and Web API in particular, you'll progress quickly to a detailed exploration of the request binding and response formatting that lie at the heart of Web API. You'll investigate various scenarios and see how they can be manipulated to achieve the results you need.

Later in the book more sophisticated themes will be introduced that will set your applications apart from the crowd. You’ll learn how you can validate the request messages on arrival, how you can create loosely coupled controllers, extend the pipeline processing to compartmentalize your code for security and unit testing before being put onto a live hosting server.

What you’ll learn

  • What ASP.NET Web API is and how it can be used effectively
  • Ways to optimize your code for readability and performance
  • What controller dependencies are and why they matter
  • How to maintain robust security across your projects
  • Reliable best-practices for using Web API in a professional context

Who this book is for

The book is ideal for any .NET developer who wants to learn how the ASP.NET Web API framework works in a realistic setting. A good working knowledge of C# and the .NET framework and a familiarity with Visual Studio are the only pre-requisites to benefit from this book

Table of Contents

Table of Contents

    1. Building a Basic Web API
    2. Debugging HTTP
    3. Formatting CLR Objects into HTTP Response
    4. Customizing Response
    5. Binding HTTP Request into CLR Objects
    6. Validating Request
    7. Managing Controller Dependencies
    8. Extending Pipeline
    9. Hosting ASP.NET Web API
    10. Securing ASP.NET Web API
    11. Consuming ASP.NET Web API
    12. Building Performant Web API

    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.

    Errata

    Please Login to submit errata.

    No errata are currently published