Using URL helper inside your .NET Core Tag Helper

added by DotNetKicks
5/3/2021 4:34:36 PM

289 Views

If you're writing a tag helper and would like to generate links using IUrlHelper then you can not inject this directly. You need to inject an IUrlHelperFactory and then there are a few hoops that you need to jump through.


0 comments