React to errorhandler and errorpage extension name changes
This commit is contained in:
parent
b705922235
commit
62c0eb3f02
|
|
@ -26,7 +26,7 @@ namespace TagHelperSample.Web
|
||||||
|| (name.StartsWith("Microsoft.Net.Http.Server.WebListener", StringComparison.OrdinalIgnoreCase)
|
|| (name.StartsWith("Microsoft.Net.Http.Server.WebListener", StringComparison.OrdinalIgnoreCase)
|
||||||
&& logLevel >= LogLevel.Information));
|
&& logLevel >= LogLevel.Information));
|
||||||
|
|
||||||
app.UseErrorPage();
|
app.UseDeveloperExceptionPage();
|
||||||
|
|
||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ namespace ErrorPageMiddlewareWebSite
|
||||||
{
|
{
|
||||||
app.UseCultureReplacer();
|
app.UseCultureReplacer();
|
||||||
|
|
||||||
app.UseErrorPage();
|
app.UseDeveloperExceptionPage();
|
||||||
app.UseMvc();
|
app.UseMvc();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue