Derik Whittaker

Syndication

News


Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Upgrading Dimecasts.Net to the MVC Beta

Today is the official launch of the Asp.Net MVC beta (can get the bits here) so I can finally blog about the upgrade process for Dimecasts.net

First things first, what is new in this drop:

  • The added the MVC assemblies into the GAC.  This was done to allow global system usage.  Please note you can (and still should) do \bin deployment with the needed MVC assemblies for your application
  • They changed, moved, renamed a few of the HtmlHelpers.  For example Html.Form is now Html.BeginForm
  • The created an HttpVerbs enum for usage in the AcceptVerbs attribute.  This is nice because now i do not have to have 'magic' strings.

    Was
    [AcceptVerbs("Post")]

    Now
    [AcceptVerbs( HttpVerbs.Post ) ]
  • Made great improvements to the ModelBinding process (more on this in another post)
  • Many, many more.  Read the release notes for more information

Onto the actual upgrade process:

  • Changes to the Web.Config class
    • Add the following line to the <compilation><assemblies> section
      <add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    • Add the following to the <namespaces> section
      <add namespace="System.Web.Mvc.Html"/>
    • Added the following to the <httpHandlers> section
      <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  • Looks like Microsoft.Web.Mvc is no longer in use so I needed to remove that.  Was not a big deal as I was only using 1 method from that assembly anyway.
  • Needed to make various changes based on Html helpers being changed (ie needed to change my Html.Form to Html.Begin form)
  • Needed to copy the new assemblies into my local /library folder because I do not want to use the GAC version.  This is because the hosting company I use may not have the beta installed and I am not going to count on it ever being installed.

Well I guess that does it.  Was not near as painful as other releases, but was still a bit of effort.

Please note that www.dimecasts.net has NOT been upgraded publicly yet.  This is because I have some pending changes that are not ready for prime time yet.

Hope this helps someone.

Till next time,


Posted 10-16-2008 12:40 PM by Derik Whittaker
Filed under: , ,

[Advertisement]

Comments

ASP.NET MVC Goes Beta (Part 2) - Nick Berardi’s Coder Journal wrote ASP.NET MVC Goes Beta (Part 2) - Nick Berardi&#8217;s Coder Journal
on 10-16-2008 2:33 PM

Pingback from  ASP.NET MVC Goes Beta (Part 2) - Nick Berardi&#8217;s Coder Journal

ASP.NET MVC Archived Buzz, Page 1 wrote ASP.NET MVC Archived Buzz, Page 1
on 10-17-2008 12:09 AM

Pingback from  ASP.NET MVC Archived Buzz, Page 1

Reflective Perspective - Chris Alcock » The Morning Brew #203 wrote Reflective Perspective - Chris Alcock &raquo; The Morning Brew #203
on 10-17-2008 5:04 AM

Pingback from  Reflective Perspective - Chris Alcock  &raquo; The Morning Brew #203

Dew Drop - October 17, 2008 | Alvin Ashcraft's Morning Dew wrote Dew Drop - October 17, 2008 | Alvin Ashcraft's Morning Dew
on 10-17-2008 9:33 AM

Pingback from  Dew Drop - October 17, 2008 | Alvin Ashcraft's Morning Dew

Will Beattie wrote re: Upgrading Dimecasts.Net to the MVC Beta
on 10-17-2008 5:37 PM

Thanks Derik, this was really helpful.

I'm currently going through the upgrade process and have found a few other changes thus far check out <a href="talesfromthebleedingedge.blogspot.com/.../mvc">My Blog</a> for some more will be updating it as a find more.

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)