July, 2012

  • roncain

    Using the ASP.NET Web API UrlHelper

    • 0 Comments
    This article describes how to use the UrlHelper class in WebApi to create URL’s that can be used to invoke ApiController methods.   This UrlHelper class uses the application’s route tables to compose the URL, avoiding the need to hard-code specific...
  • roncain

    Dependency Injection with ASP.NET Web API and Autofac

    • 7 Comments
    This post describes how we can use Dependency Injection (DI) in ASP.NET Web API using Autofac to accomplish a fairly common task – namely creating an ApiController with custom parameters to service an Http request. In WebApi, we define the basic verbs...
Page 1 of 1 (2 items)