Diving into ASP.NET Web API Book Available Now

May 13, 2016 | Noida, India

Today, we are pleased to add one more E-Book to the collection of C# Corner's free books library, "Diving into ASP.NET WebAPI". This book is written by C# Corner author Akhil Mittal.

C# Corner (www.c-sharpcorner.com), one of the most popular online communities for software developers, has been publishing ebooks for several years now. C# Corner books are written by C# Corner members and are available to the community absolutely free. Almost 50 free books have been published. Here is a list of all the books:

C# Corner Free Book Downloads

Book Details

This book is a hands-on tutorial on ASP.NET Web API. It is a walk through to Web API with tutorials and practical demo applications.

Table of Contents

  • About Author
  • Enterprise-Level Application Architecture with Web APIs Using Entity Framework, Generic Repository Pattern and Unit of Work
  • Inversion of Control Using Dependency Injection in Web API's using Unity Container and Bootstrapper
  • Resolve Dependency of Dependencies using Inversion of Control & Dependency Injection in ASP.Net Web APIs with Unity Container and Managed Extensibility Framework (mef) 90Existing Design and Problem
  • Managed Extensibility Framework (mef)
  • Creating a Dependency Desolver with Unity and mef
  • Setup Business Services
  • Setup Datamodel
  • Setup Rest endpoint / WebAPI Project
  • Running the Application
  • Advantages of this Design
  • Conclusion
  • Custom url re-writing/Routing using Attribute Routes in MVC 4 Web APIs
  • Routing
  • Existing Design and Problem
  • Attribute Routing
  • Setup Rest endpoint / Web API Project to Define Routes
  • More Routing Constraints
  • Routeprefix: Routing at Controller level
  • Routeprefix: Versioning
  • Routeprefix: Overriding
  • Disable Default Routes
  • Running the Application
  • Conclusion
  • References
  • Security in Web API - basic & Token Based custom Authorization in Web APIs using Action Filters
  • Security in Web API set
  • Basic Authentication
  • Token Based Authorization
  • Web API with Basic Authentication and Token Based Authorization
  • Maintaining Session using Token
  • Running the Application
  • Conclusion
  • References
  • Request Logging and Exception Handing/Logging in Web APIs using Action Filters, Exception Filters and nlog
  • Request Logging
  • Running the Application
  • Exception Logging
  • Custom Exception Logging
  • Conclusion
  • Unit Testing and Integration Testing in Web API using nunit and moq Framework: Part 1
  • Unit Tests
  • Nunit
  • Moq Framework
  • Setup Solution
  • Testing Business services
  • Conclusion
  • Unit testing and Integration Testing in Web API using NUnit and Moq Framework: Part 2
  • Setup Solution
  • Testing WebAPI
  • Conclusion
  • Odata in ASP.NET Web APIs
  • Odata
  • Query Options
  • Setup Solution
  • Odata Endpoints
  • Standard Filter Operators
  • Standard Query Functions
  • Paging
  • Query Options constraints
  • Conclusion
  • Creating self Hosted ASP.NET Web API with CRUD Operations in Visual Studio 2010
  • Conclusion
  • Index

About the Author



Akhil Mittal @AkhilMittal20

Akhil Mittal is a Microsoft MVP, C# Corner MVP, a Code project MVP, blogger, programmer by heart and currently working as a Sr. Analyst in Magic Software and has experience of more than 9 years in C#.Net. He is a B.Tech in Computer Science and holds a diploma in Information Security and Application Development. His work experience includes Development of Enterprise Applications using C#, .Net and SQL Server, Analysis as well as Research and Development. He is a MCP in Web Applications (MCTS-70-528, MCTS-70-515) and .Net Framework 2.0 (MCTS-70-536). Visit his personal blog CodeTeddy for more informative articles.