Learn about building Web apps with ASP.NET Core.
+Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationBasics/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/ConfigurationProviders/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/CustomConfigurationProvider/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsPattern/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/OptionsValidation/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +Use this page to detail your site's privacy policy.
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/Error.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/Error.cshtml new file mode 100644 index 000000000..8f923fdf4 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/Error.cshtml @@ -0,0 +1,25 @@ +@model ErrorViewModel +@{ + ViewData["Title"] = "Error"; +} + +
+ Request ID: @Model.RequestId
+
+ Swapping to Development environment will display more detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the + ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app. +
diff --git a/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml b/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000..208bd9a35 --- /dev/null +++ b/aspnetcore-webapi/AspNetCoreConfigurationSeries/SecuringDataLocally/ProjectConfigurationDemo/Views/Shared/_Layout.cshtml @@ -0,0 +1,30 @@ + + + + + +