Skip to content

Commit

Permalink
Merge to Live (#30300)
Browse files Browse the repository at this point in the history
* secure swag (#30299)

* logging with dot on linux /7 (#30298)

* logging with dot on linux /7

* logging with dot on linux /7

* Update http-files.md (#30301)

Fixes #30293

---------

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Rick-Anderson committed Sep 11, 2023
1 parent 0798acf commit 319d2fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aspnetcore/fundamentals/logging/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ The following command sets the preceding configuration in the environment:
setx Logging__Console__LogLevel__Microsoft.Hosting.Lifetime Trace /M
```

> [!NOTE]
> When configuring environment variables with names that contain `.` (periods), consider the "Exporting a variable with a dot (.) in it" question on **Stack Exchange** and its corresponding [accepted answer](https://unix.stackexchange.com/a/93533).
On [Azure App Service](https://azure.microsoft.com/services/app-service/), select **New application setting** on the **Settings > Configuration** page. Azure App Service application settings are:

* Encrypted at rest and transmitted over an encrypted channel.
Expand Down
4 changes: 4 additions & 0 deletions aspnetcore/release-notes/aspnetcore-8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,10 @@ The complete updated sample can be found [here](https://github.com/dotnet/AspNet
See <xref:security/authorization/iard> for a detailed examination of the new sample.

### Securing Swagger UI endpoints

Swagger UI endpoints can now be secured in production environments by calling [`MapSwagger().RequireAuthorization`](xref:Microsoft.AspNetCore.Builder.AuthorizationEndpointConventionBuilderExtensions.RequireAuthorization%2A). For more information, see [Securing Swagger UI endpoints](/aspnet/core/tutorials/web-api-help-pages-using-swagger?view=aspnetcore-8.0&preserve-view=true#securing-swagger-ui-endpoints)

## Miscellaneous

The following sections describe miscellaneous new features in ASP.NET Core 8.
Expand Down
1 change: 1 addition & 0 deletions aspnetcore/test/http-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,6 @@ Send the request as described [earlier in this article](#send-an-http-request).

## See also

* [Endpoints Explorer window only recognizes literal strings for routes](https://github.com/dotnet/AspNetCore.Docs/issues/30293)
* [Web API development in Visual Studio 2022](https://devblogs.microsoft.com/visualstudio/web-api-development-in-visual-studio-2022/)
* [Visual Studio Code REST Client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)

0 comments on commit 319d2fc

Please sign in to comment.