It is my pleasure to announce that this summer my ASP.NET Web API book will be released. It’s entitled “ASP.NET Web API Recipes”, and will be published by Apress.
While the publication date is not set in stone yet (probably early August), you can already pre-order at:
The idea behind the book is quite simple - to discuss and dissect some of the most common problems and issues you might encounter in your work with Web API solutions.
There is going to be a total of 12 chapters with about 10 recipes per chapter (the number varies obviously). You will also get a full VS project with source code per each recipe.
Contents 🔗
The table of contents is as follows:
-
- Chapter 1: ASP.NET Web API in ASP.NET
-
- Chapter 2: Hosting ASP.NET Web API outside of IIS
-
- Chapter 3: Routing
-
- Chapter 4: Content Negotiation and Media Types
-
- Chapter 5: Configuration and Customization
-
- Chapter 6: Embracing HTTP with ASP.NET Web API
-
- Chapter 7: Exceptions, Troubleshooting and Documenting
-
- Chapter 8: Cross Domain and Push Communication
-
- Chapter 9: Dependency Injection
-
- Chapter 10: Securing an ASP.NET Web API Service
-
- Chapter 11: Testing Your ASP.NET Web API
-
- Chapter 12: OData
Each recipe contains 4 sections:
-
- Problem - short definition of a problem/issue that will be addressed in the recipe
-
- Solution - quick summary of how it can be resolved/implemented in Web API
-
- How It Works - a look behind the scenes - into Web API source code, into source of some external library that might be used or even into an RFC that defines a relevant standard
-
- The Code - a dive into the code needed to solve your problem
and takes more or less 3-4 pages. Below are some sample recipes, just to give you a taste of what’s coming:
-
- Recipe 3-11 Localize Routes
-
- Recipe 5-1 Throttling ASP.NET Web API
-
- Recipe 6-8 Versioning With Attribute Routing
-
- Recipe 8-4 Support Streaming and Push from Web API
-
- Recipe 9-5 Write a Custom DI Adapter
-
- Recipe 11-5 Simplify Tests with IHttpActionResult
If you are used to the blog format, and enjoy the style used here, I am sure (or, well, I hope) you will find the book enjoyable too.
Also, this is by no means an attempt to create an A-Z compendium/reference of ASP.NET Web API - there are other great books that have done that already. Instead I focus on this very readable, no-nonsense, straight-to-the-point, problem-solution format which will allow us (me, and you the reader) to explore specific scenarios directly.
Apress offers an Alpha program so you can already get an ebook with some of the draft/early versions of a number of chapters.
Cheers!