【发布时间】:2020-12-19 13:08:35
【问题描述】:
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
else
{
app.UseExceptionHandler("/Administration/Error");
app.UseExceptionHandler("/Production/Error");
}
如何为剃须刀页面上的不同区域定义 2 个错误处理页面?
【问题讨论】:
标签: c# asp.net-core