SyntaxFix
Write A Post
Hire A Developer
Questions
Maybe it is a better solution.
@{ var baseUrl = @Request.Host("/"); }
using
<a href="@baseUrl" class="link">Base URL</a>