title: How does ASP.Net MVC ActionLink Work?
body: <p>I am trying to write my own LightWeight MVC for .Net 2.0 using <em>NHaml</em> as the view engine.</p>
  
  <p>In ASP.Net 3.5 MVC the View file we used to specify the link by the code snippet.</p>
  
  <pre><code>Html.ActionLink("Add Product","Add");
  </code></pre>
  
  <p>In MVC binary there is no function to match this call. </p>
  
  <p><strong>I Only found:</strong></p>
  
  <p><em>(In class System.Web.Mvc.Html.LinkExtensions )</em></p>
  
  <pre><code>public static string ActionLink(this System.Web.Mvc.HtmlHelper htmlHelper, 
     string linkText, string actionName)
  </code></pre>
  
  <p>There are more similar static classes like <code>FormExtensions</code>, <code>InputExtensions</code> etc.</p>
  
  <p>How does ASP.Net MVC handle it? Does it generates dynamic code for Html.ActionLink?</p>