ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,164 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I can write html to taghelper and can I write js code to it?
as a script block is just html, yes you can. If you are looking for something like webforms register startup script, than no. You could create a separate helper, placed in the layout section that rendered a collection of registered script.