Oct 16

ASP.NET MVC Beta 1 Released

The latest release of ASP.NET MVC (Beta 1) is out and I just updated the site to it.

Apparently, ASP.Net MVC Beta 1 was quietly released yesterday and announced at VSLive in Vegas. Today, the blog posts came out and appeared in my reader:

I quickly downloaded the latest bits, which for some reason are now hosted on microsoft.com instead of CodePlex (not sure why??). Also, since I am using extensions from the "futures" assembly, I downloaded the latest Microsoft.Web.Mvc library which is still available on codeplex.

As far as updating my code for this site, it was pretty straightforward. I added the System.Web.Mvc.Html namespace to my Web.config:

  <add namespace="System.Web.Mvc"/>
  <add namespace="System.Web.Mvc.Html"/>
  <add namespace="Microsoft.Web.Mvc"/>

The reason for this new namespace is that a lot of the HtmlHelper methods are now implemented as extensions in this namesapce.

The final change I had to make was changing the Html.Form() helper which is now Html.BeginForm(). ScottGu has all the juicy details in his post.


Powered by my hackings on Django-Mingus a Django project, PostgreSQL, memcached, nginx, Apache + mod_wsgi, Ubuntu, Rackspace Cloud,...

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

html5 | top