Ejemplo n.º 1
0
 protected void Application_Start()
 {
     OTConfigurer.Configure <OverStoreGatewayUnityConfig, OverStoreGatewayCacheConfig>();
     GlobalConfiguration.Configure(WebApiConfig.Register);
     // RouteConfig.RegisterRoutes(RouteTable.Routes);
     GlobalConfiguration.Configuration.Filters.Add(new OTWebApiContextAttribute());
     GlobalConfiguration.Configuration.Filters.Add(new OTWebApiAuthorizeAttribute());
 }
Ejemplo n.º 2
0
 protected void Application_Start(object sender, EventArgs e)
 {
     OTConfigurer.Configure();
 }
Ejemplo n.º 3
0
 protected void Application_Start(object sender, EventArgs e)
 {
     OTConfigurer.Configure();
     ServicePointManager.Expect100Continue       = false;
     ServicePointManager.MaxServicePointIdleTime = 0;
 }