ASP.NET Web API 2 Recipes [electronic resource] : A Problem-Solution Approach /
Wojcieszyn, Filip.author.
ASP.NET Web API 2 Recipes provides you with the code to solve a full range of Web API problems and question marks that you might face when developing line-of-business applications. ASP.NET Web API 2 Recipes gives you an in-depth explanation for each of these scenarios and shows you how to use Web API with a vast array of .NET application development tools and external libraries, to solve common business problems. Find out how you can build custom web services with ASP.NET Web API more efficiently than ever.
Contents at a Glance; Introduction; Chapter 1: Web API in ASP.NET; 1-1. Add ASP.NET Web API to an MVC Application; Problem; Solution; How It Works; The Code; 1-2. Add ASP.NET Web API to a Web Forms Application; Problem; Solution; How It Works; The Code; 1-3. Accept an HTML Form; Problem; Solution; How It Works; The Code; 1-4. Link from MVC Controller to API Controller and Vice Versa; Problem; Solution; How It Works; The Code; 1-5. Use Scaffolding with ASP.NET Web API; Problem; Solution; How It Works; The Code; 1-6. Add Model Validation; Problem; Solution; How It Works; The Code
1-7. Use CSRF ProtectionProblem; Solution; How It Works; The Code; 1-8. Add Support for Session State; Problem; Solution; How It Works; The Code; Chapter 2: ASP.NET Web API Outside of IIS; 2-1. Self-Host ASP.NET Web API; Problem; Solution; How It Works; The Code; 2-2. Host ASP.NET Web API with OWIN; Problem; Solution; How It Works; The Code; 2-3. Host ASP.NET Web API in Azure Mobile Services; Problem; Solution; How It Works; The Code; 2-4. Quick Prototypes with scriptcs; Problem; Solution; How It Works; The Code; 2-5. Host ASP.NET Web API in Azure Worker Role; Problem; Solution; How It Works
The Code2-6. Use ASP.NET Web API with F#; Problem; Solution; How It Works; The Code; Chapter 3: Routing; 3-1. Define Centralized Routes; Problem; Solution; How It Works; The Code; 3-2. Define Direct Routes; Problem; Solution; How It Works; The Code; 3-3. Set Default Route Values; Problem; Solution; How It Works; The Code; 3-4. Set Optional Route Values; Problem; Solution; How It Works; The Code; 3-5. Set Route Constraints; Problem; Solution; How It Works; The Code; 3-6. Define Remote Procedure Call Style Routes; Problem; Solution; How It Works; The Code; 3-7. Create Catch-all Routes; Problem
SolutionHow It Works; The Code; 3-8. Prevent Controller Methods from Inadvertently Becoming Web API Endpoints; Problem; Solution; How It Works; Solution; 3-9. Configure Route-Specific Message Handlers; Problem; Solution; How It Works; The Code; 3-10. Ignore Routes; Problem; Solution; How It Works; The Code; 3-11. Localize Routes; Problem; Solution; How It Works; The Code; 3-12. Generate a Link to the Route; Problem; Solution; How It Works; The Code; Chapter 4: Content Negotiation and Media Types; 4-1. Request a Specific Media Type from ASP.NET Web API; Problem; Solution; How It Works
The Code4-2. Support Additional Media Types; Problem; Solution; How It Works; The Code; 4-3. Control Model Binding From URI and Body; Problem; Solution; How It Works; The Code; FromUri and FromBody; TypeConverters; ModelBinders; 4-4. ASP.NET MVC-style Parameter Bindingin ASP.NET Web API; Problem; Solution; How It Works; The Code; 4-5. Customize XML and JSON Responses; Problem; Solution; How It Works; The Code; JSON; XML; 4-6. Write Your Own MediaTypeFormatter; Problem; Solution; How It Works; The Code; 4-7. Run Content Negotiation Manually; Problem; Solution; How It Works; The Code
4-8. Bypass Content Negotiation
Includes index.
ASP.NET Web API 2 Recipes provides you with the code to solve a full range of Web API problems and question marks that you might face when developing line-of-business applications. ASP.NET Web API 2 Recipes gives you an in-depth explanation for each of these scenarios and shows you how to use Web API with a vast array of .NET application development tools and external libraries, to solve common business problems. Find out how you can build custom web services with ASP.NET Web API more efficiently than ever.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.