зеркало из https://github.com/aspnet/Identity.git
React to breaking change in aspnet/Mvc
This commit is contained in:
Родитель
781ca09033
Коммит
8003a5550e
|
@ -45,14 +45,7 @@ namespace Identity.DefaultUI.WebSite
|
||||||
.AddRoles<IdentityRole>()
|
.AddRoles<IdentityRole>()
|
||||||
.AddEntityFrameworkStores<TContext>();
|
.AddEntityFrameworkStores<TContext>();
|
||||||
|
|
||||||
services.AddMvc()
|
services.AddMvc();
|
||||||
.AddRazorOptions(ro =>
|
|
||||||
{
|
|
||||||
// We do this to avoid file descriptor exhaustion in our functional tests
|
|
||||||
// due to Razor Pages using a file watcher.
|
|
||||||
ro.FileProviders.Clear();
|
|
||||||
ro.FileProviders.Add(new CompositeFileProvider(new[] { new NullFileProvider() }));
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче