Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Misleading (wrong?) information regarding @addTagHelper #13

Open
PerryCodes opened this issue Jan 21, 2022 · 0 comments
Open

Misleading (wrong?) information regarding @addTagHelper #13

PerryCodes opened this issue Jan 21, 2022 · 0 comments

Comments

@PerryCodes
Copy link

On page 103, Listing 4-3 is titled "Adding All Tag Helpers in the Microsoft.AspNet.Mvc.TagHelpers Namespace"

The fact it's a Namespace is not why that works... it's because it's an Assembly. Please refer to the "Managing Tag Helper scope" on the TagHelpers Overview page for the two ways (Assembly wildcard and FQN) you can make Tag Helpers available to the view.

It would be much less misleading if 'Namespace' were changed to 'Assembly' and it would then also align with the official Microsoft documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant