Method | Description | |
---|---|---|
RegisterApis ( System.Web.Http.HttpConfiguration config ) : void |
Registers the WebAPI routes.
|
Method | Description | |
---|---|---|
Application_Error ( ) : void | ||
Application_Start ( ) : void | ||
RegisterRoutes ( RouteCollection routes ) : void |
Method | Description | |
---|---|---|
WebGlobal ( ) : System |
IMPORTANT! This needs to be static as that ensures it runs before the EPiServer.Global class constructor. In that one the initialization engine kicks in and loads modules that requires the databases to be available
|
public static RegisterApis ( System.Web.Http.HttpConfiguration config ) : void | ||
config | System.Web.Http.HttpConfiguration | The configuration. |
return | void |
protected RegisterRoutes ( RouteCollection routes ) : void | ||
routes | RouteCollection | |
return | void |