Skip to content

Commit b11c945

Browse files
Freshness, in progress.
1 parent 1e00801 commit b11c945

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/app-service/configure-language-dotnetcore.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.author: cephalin
1717
1818
ASP.NET Core apps must be deployed to Azure App Service as compiled binaries. The Visual Studio publishing tool builds the solution and then deploys the compiled binaries directly. The App Service deployment engine deploys the code repository first and then compiles the binaries.
1919

20-
This guide provides key concepts and instructions for ASP.NET Core developers. If this is your first time using Azure App Service, first follow the [ASP.NET Core quickstart](quickstart-dotnetcore.md) and [ASP.NET Core with SQL Database tutorial](tutorial-dotnetcore-sqldb-app.md).
20+
This guide provides key concepts and instructions for ASP.NET Core developers. If this article is your first time using Azure App Service, first follow [Deploy an ASP.NET web app](quickstart-dotnetcore.md) and [Deploy an ASP.NET Core and Azure SQL Database app to Azure App Service](tutorial-dotnetcore-sqldb-app.md).
2121

2222
::: zone pivot="platform-windows"
2323

@@ -177,23 +177,23 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
177177
});
178178
```
179179

180-
You can then configure and generate logs with the [standard .NET Core pattern](/aspnet/core/fundamentals/logging).
180+
You can then configure and generate logs with the standard .NET Core pattern. See [Logging in .NET Core and ASP.NET Core](/aspnet/core/fundamentals/logging).
181181

182182
[!INCLUDE [Access diagnostic logs](../../includes/app-service-web-logs-access-no-h.md)]
183183

184184
For more information on troubleshooting ASP.NET Core apps in App Service, see [Troubleshoot ASP.NET Core on Azure App Service and IIS](/aspnet/core/test/troubleshoot-azure-iis).
185185

186186
## Access a detailed exceptions page
187187

188-
When your ASP.NET Core app generates an exception in the Visual Studio debugger, the browser displays a detailed exception page, but in App Service that page is replaced by a generic "HTTP 500" or "An error occurred while processing your request." To display the detailed exception page in App Service, add the `ASPNETCORE_ENVIRONMENT` app setting to your app by running the following command in <a target="_blank" href="https://shell.azure.com" >Cloud Shell</a>.
188+
When your ASP.NET Core app generates an exception in the Visual Studio debugger, the browser displays a detailed exception page. In App Service, a generic "HTTP 500" or "An error occurred while processing your request" message replaces that page. To display the detailed exception page in App Service, add the `ASPNETCORE_ENVIRONMENT` app setting to your app by running the following command in <a target="_blank" href="https://shell.azure.com" >Cloud Shell</a>.
189189

190190
```azurecli-interactive
191191
az webapp config appsettings set --name <app-name> --resource-group <resource-group-name> --settings ASPNETCORE_ENVIRONMENT="Development"
192192
```
193193

194194
## Detect HTTPS session
195195

196-
In App Service, [TLS/SSL termination](https://wikipedia.org/wiki/TLS_termination_proxy) happens at the network load balancers, so all HTTPS requests reach your app as unencrypted HTTP requests. If your app logic needs to know if user requests are encrypted, configure the Forwarded Headers Middleware in `Startup.cs`:
196+
In App Service, [TLS termination](https://wikipedia.org/wiki/TLS_termination_proxy) happens at the network load balancers, so all HTTPS requests reach your app as unencrypted HTTP requests. If your app logic needs to know if user requests are encrypted, configure the Forwarded Headers Middleware in `Startup.cs`:
197197

198198
- Configure the middleware with [`ForwardedHeadersOptions`](/dotnet/api/microsoft.aspnetcore.builder.forwardedheadersoptions) to forward the `X-Forwarded-For` and `X-Forwarded-Proto` headers in `Startup.ConfigureServices`.
199199
- Add private IP address ranges to the known networks, so that the middleware can trust the App Service load balancer.
@@ -245,11 +245,11 @@ To rewrite or redirect a URL, use the [URL-rewriting middleware in ASP.NET Core]
245245

246246
## Related content
247247

248-
* [Tutorial: ASP.NET Core app with SQL Database](tutorial-dotnetcore-sqldb-app.md)
248+
* [Tutorial: Deploy an ASP.NET Core and Azure SQL Database app](tutorial-dotnetcore-sqldb-app.md)
249249

250250
::: zone pivot="platform-linux"
251251

252-
* [App Service Linux FAQ](faq-app-service-linux.yml)
252+
* [Azure App Service on Linux FAQ](faq-app-service-linux.yml)
253253

254254
::: zone-end
255255

-142 KB
Loading

0 commit comments

Comments
 (0)