Skip to content

Commit 323ec92

Browse files
authored
Update README.md file
1 parent c8de58c commit 323ec92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ In each view wrap a content or an anchor tag inside `secure-content` tag:
242242
</ul>
243243
```
244244

245+
Don't forget to add your tag halper namespace to `_ViewImports.cshtml`
246+
```cshtml
247+
@using SampleMvcWebApp
248+
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
249+
@addTagHelper *, SampleMvcWebApp
250+
```
251+
245252
If you extended `IdentityUser` or you changed user and role key, you should pass user and role type too. for example:
246253

247254
```c#

0 commit comments

Comments
 (0)