protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); // Condigurar la inyeccion de dependencias. DIConfig.ConfigureInjector(); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); // configurar la inyección de dependencias DIConfig.ConfigureInjector(); // Sha256 AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier; }