DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Calling A MVC Controller And Action Method Using ActionLink
When creating a link to a controller action in ASP.NET MVC, using the generic ActionLink method is preferable, because it allows for strongly typed links that are refactoring friendly.
Default: ActionLink
@Html.ActionLink("Delete", "Delete", new { id = item.ID })
<a href="http://www.java-forums.org/java-software/"><strong>Java Software</strong></a>





