title: 'The name WebApplication does not exist in the current context' when swapping to ASP.Net 5 RC2
body: <p>When you make a new ASP.Net 5 application in Visual Studio you get this line at the end of your Startup.cs file</p>
  
  <pre class="lang-cs prettyprint-override"><code>// Entry point for the application.
  public static void Main(string[] args) =&gt; WebApplication.Run&lt;Startup&gt;(args);
  </code></pre>
  
  <p>(The class is <code>Microsoft.AspNet.Hosting.WebApplication</code>.)</p>
  
  <p>If you replace <code>rc1-final</code> with <code>*</code> in the project.json file and thus pick up the latest RC2 the project no-longer builds, giving the error "The name WebApplication does not exist in the current context".</p>
  
  <p>Looking at the <a href="https://github.com/aspnet/Announcements/issues?page=1&amp;q=is%3Aopen+is%3Aissue+milestone%3A1.0.0-rc2" rel="nofollow">1.0.0.RC2 breaking changes</a> there is one titled <a href="https://github.com/aspnet/Announcements/issues/141" rel="nofollow">Hosting renaming WebApplication to WebHost</a>. I cannot see how to take account of this change in the boiler-plate code. What line should replace the line of code above when swapping from ASP.Net 5 RC1 to RC2?</p>