fix snippet language in dependency-injection (#23965)

pull/23969/head
Fabian 2021-11-17 20:12:14 +01:00 committed by GitHub
parent d1a5acb026
commit c975af1949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ To reduce the logging output, set "Logging:LogLevel:Microsoft:Error" in the *app
The following code shows how to resolve a scoped service for a limited duration when the app starts: The following code shows how to resolve a scoped service for a limited duration when the app starts:
[!code-json[](dependency-injection/samples/6.x/WebApp1/Program.cs?highlight=3,7-13)] [!code-csharp[](dependency-injection/samples/6.x/WebApp1/Program.cs?highlight=3,7-13)]
## Scope validation ## Scope validation