I have baseUrl = "http://localhost:10232";
I'm using it in my view like the following:
<a href='@mynamespace.Controllers.MyVars.baseUrl/Tickets/Create'>Create New</a>
It gives me fine output i.e
<a href='http://localhost:10232/Tickets/Create'>Create New</a>
But if I add /
at end of my url like http://localhost:10232/
Then is there a way to produce same result like above? I tried it following way
<a href='@mynamespace.Controllers.MyVars.baseUrl+Tickets/Create'>Create New</a>
but concatenation does not work in html, so how can i achieve it (concat a c# variable with html string)