The ASP.NET MVC Framework has always been a good platform on which to implement REST-based services, but the introduction of the ASP.NET Web API Framework raised the bar to a whole new level.
Now in release version 2.1, the Web API Framework has evolved into a powerful and refreshingly usable platform. This concise book provides technical background and guidance that will enable you to best use the ASP.NET Web API 2 Framework to build world-class REST services.
New content in this edition includes:
- New capabilities in Web API 2 (currently version 2.1).
- Support for partial updates, or PATCH.
- API versioning.
- Support for legacy SOAP-based operations.
- How to handle non-resource APIs using REST
- How to best expose relationships between resources
- JSON Web Tokens, CORS, CSRF
Get ready for authors Jamie Kurtz and Brian Wortman to take you from zero to REST service hero in no time at all. No prior experience with ASP.NET Web API is required; all Web API-related concepts are introduced from basic principles and developed to the point where you can use them in a production system. A good working knowledge of C# and the .NET Framework are the only prerequisites to best benefit from this book.
Most helpful customer reviews
32 of 32 people found the following review helpful.
Not my first choice
By Jeff Dosser
Not sure what the intent of this book was, but getting a service up and running quickly using MS products
didn't appear to be it.
IMHO the authors took a somewhat convoluted subject and made it almost unworkable by adding in
3rd party tools and techniques which had nothing to do with the ultimate goal (building a web service)
and simply clouded the issue for me.
After getting thru half the book, I just went to the MS site and started hunting thru that and looked for online
examples and resources mainly in codeproject and stackoverflow..
A simple step by step for a simple service would have been nice to find in book form, but I eventually
found what I needed with online examples...this book however was not it for me
17 of 17 people found the following review helpful.
Not clear and concise
By Daniel Allen Langdon
In a nutshell, this book has way too much about stuff that isn't Web API. I do realize that Web API is not a technology to be used in a vacuum, that it is part of an integrated whole product, but this book seems to go on forever about using Ninject, nHibernate, log4net, and other technologies. No doubt these technologies are important, but if I wanted to learn Ninject, I would have bought a book about Ninject.
Also, this book is printed in small text with quarter-inch margins, so even tho it is listed as having 250 pages, it would probably fill 400 the way most tech books are printed. If you don't have good vision, I hope you have reading glasses.
In short, if you want a clear, concise book about ASP.net Web API, this isn't it.
4 of 4 people found the following review helpful.
See all 36 customer reviews...
Lack of focus on main topic
By Steve Tijerina
I really wanted to like this book, but the book lacked focus on the main character: Web API 2. The first few chapters of the book were OK. Yet, the book quickly got lost and became more focused on the implementation of dependencies (NHibernate, Ninject, AutoMapper etc.) into the coding example used throughout the book, with Web API making a minor guest appearance on occasion.