Diving into ASP.NET WebAPI – FreeBook

Posted by


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 91
  • 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 / WebAPI 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 WebAPI set
  • Basic Authentication
  • Token Based Authorization
  • WebAPI 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 WebAPI using nunit and moq Framework: part 1
  • Unit Tests
  • Nunit
  • Moq Framework
  • Setup Solution
  • Testing Business services
  • Conclusion
  • Unit testing and Integration Testing in WebAPI 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

Download now from:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.