* Adds an example for injecting configuration
* Change formatting for appsettings-file
* Update dependency-injection.md
* Update dependency-injection.md
* C80832: Adding two spaces at the end of a line
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: missing spaces are breaking formatting on loc pages
@guardrex
* Update
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: missing spaces break formatting
Please review and merge the proposed file change to fix to target versions. If you make related fix in another PR then share your PR number so we can confirm and close this PR.
Many thanks in advance.
cc: @rick-anderson,
* fix: MD033/no-inline-html
Doesn't remove actual inline HTML, but escapes Generics and examples in braces
* Apply suggestions from code review
Co-Authored-By: nschonni <nschonni@gmail.com>
Fixes#11232
This heading ...
> \#\# Moving from WebHostBuilder to HostBuilder
... didn't seem to make sense because the prior section is addressing the same migration aspect. These two sections were probably added at different times (guessing), which would explain the (accidental) appearance of both.
I see a handful of little super-nits in the view comp file beyond the few that I touch here (mostly punctuation on this PR), but I'll leave those unless you want me to edit the file.
Fix https://github.com/aspnet/Docs/issues/10636
### Question
@Rick-Anderson
Under 7f52e7646a/aspnetcore/mvc/views/view-components.md (specifying-a-view-name)
I don't know why there is the sentance`Update Views/ToDoList/Index.cshtml:` Maybe we must say instead `Update Views/ToDo/Index.cshtml:`
Furthermore, there is a comment ` <!-- Views/ToDoList/Index.cshtml is never imported, so change to test tutorial -->` . But the Views/TodoList doesn't exist ? Should we delete this comment?
Sorry, I don't understand well…
* Update About.cshtml
The WebsiteContext instance was initialized inside a C# code block to avoid a possible problem when one of its attributes is a string.
* Update authoring.md
Update highlights and ranges after updating the relevant source code:
authoring/sample/AuthoringTagHelpers/src/AuthoringTagHelpers/Views/Home/About.cshtml