Razor TagHelpers default registration

95 views Asked by At

Should I expect any TagHelpers to be automatically registered for use in my Razor Pages?

That is, if I don't write addTagHelper *, whatever anywhere, should I expect any TagHelpers to be registered?

I'm seeing inconsistent behaviour between projects and I cant work out why.

In neither project do I have the line addTagHelper, but in one project a TagHelper from the web-project assembly is automatically registered and operating on tags in my view (my desired behaviour, actually), but in the other project the same* setup does not auto-register a tag helper

  • somethings different, im sure. but i cant find it.
0

There are 0 answers