Hi i am trying to add "@Url.Action" in c#.net (WebForms) to resolve the path conflict in server and with my local system using configuration file. i had this line and in this i am trying to use url.action in href property.
<a href="/User/Add"><span class="glyphicon glyphicon-plus"></span> Add User</a>
my question is how to use this url.action method .......
i tried like
href="@Url.Action("Add","User")"
but its not accepting this.... thank you..