private void SetConfigrations(Context context)
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     GlobalConfiguration.Configure(ApiRouteConfig.Register);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     ViewEngines.Engines.Clear();
     ViewEngines.Engines.Add(new RazorViewEngine());
     Saml.RegisterSamlConfiguration(context: context);
 }
예제 #2
0
 private void SetConfigrations(Context context)
 {
     Saml.RegisterSamlConfiguration(context: context);
 }