Fixes#10906
@tdykstra see @guardrex original [here](ce55bac02e). I'm starting to think his original might be better.
It's an alway run filter, shouldn't we get that point across. My version if far too verbose but has the thoughts I want to conveigh.
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
Fixes#10264
[Review URL](https://review.docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-2.2&branch=pr-en-us-10390)
* Not too keen on "top-level node." It isn't documented anywhere, and Google Fu wasn't much help either. I've *guessed* from the API what it means (and I could be *wrong*).
* Side note: `Required` is *required* as a model property attribute to get client-side required validation to work AFAICT. Adding `Required` or `BindRequired` to the top-level node (parameter) doesn't make it work client-side. Not sure if that's an issue or not ... just a side behavior that I noticed when testing.
* `jQuery.validate()` doesn't seem to be a thing any longer. JS complains that it can't find the function with the most recent jQuery validation scripts (from the current templates). Everything seems to work without it, so I nixed it.
* The sample was *almost* updated for 2.2. This should take it across the finish line. 🏁
* In the OP, the dev said that they were missing `AddDataAnnotations`, but we don't doc that level of detail. If they go `AddMvcCore`, they're kind'a on their own to make sure that they have all of the bits in place.
* Add example of asp-area with a Razor Pages area
* Minor edits
* Fix code snippet include
* Add example of AllowAreas property
* Update aspnetcore/mvc/views/tag-helpers/built-in/anchor-tag-helper.md
Co-Authored-By: scottaddie <10702007+scottaddie@users.noreply.github.com>