Skip to content
gaurangsinha edited this page Dec 19, 2011 · 1 revision
  1. Add APIBrowser reference to MVC project

  2. Add entry in httpHandler section in web.config

    <system.web> </system.web>

    <system.webServer> </system.webServer>

  3. Add following line at the begining of RegisterRoutes method in Global.asax file.

    routes.IgnoreRoute("apibrowser.axd");

The Global.asax file should now look like this:

public class MvcApplication : System.Web.HttpApplication {
    ...
    
    public static void RegisterRoutes(RouteCollection routes) {
        routes.IgnoreRoute("apibrowser.axd");            
        ...            
    }
    ...
}
  1. Build & Run the project. Point the browser to http://[localhost]:[port]/APIBrowser.axd
Clone this wiki locally