ASP.NET MVC Beta 1 Released
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:
- ScottGu's mandatory monster post - ASP.NET MVC Beta Released
- Phil Haack's (PM for ASP.NET MVC) post - ASP.NET MVC Beta Released!
- ScottHa's post - ASP.NET MVC Beta released - Coolness Ensues
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:
<namespaces> <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.