Practical ASP.NET Web API

Front Cover
Apress, Aug 19, 2013 - Computers - 340 pages
1 Review
Reviews aren't verified, but Google checks for and removes fake content when it's identified

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 Building a Basic Web API Debugging HTTP Formatting CLR Objects into HTTP Response Customizing Response Binding HTTP Request into CLR Objects Validating Request Managing Controller Dependencies Extending Pipeline Hosting ASP.NET Web API Securing ASP.NET Web API Consuming ASP.NET Web API Building Performant Web API

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Chapter 1 Building a Basic Web API
1
Chapter 2 Debugging and Tracing
27
Chapter 3 MediaType Formatting CLR Objects
55
Chapter 4 Customizing Response
85
Chapter 5 Binding an HTTP Request into CLR Objects
115
Chapter 6 Validating Requests
157
Chapter 7 Managing Controller Dependencies
175
Chapter 8 Extending the Pipeline
211
Chapter 10 Securing ASPNET Web API
255
Chapter 11 Consuming ASPNET Web API
275
Chapter 12 Building a Performant Web API
295
Index
315
Contents
vii
About the Author
xii
About the Technical Reviewer
xiii
Copyright

Chapter 9 Hosting ASPNET Web API
231

Other editions - View all

Common terms and phrases

Bibliographic information