GravityCube - Development, design, and simplicity.

HydrogenCMS upgraded to asp.net mvc preview 3

Thursday, 5 June 2008 21:26 by jf26028

I upgraded HydrogenCMS for it's second release to asp.net mvc preview 2 tonight, and updated the HydrogenCMS.net site.  Overall, it was not a difficult exercise.  I had a hiccup or two because I had a view unfortunately named "View", and with the renaming of the RenderView method to View, it caused some problems.

Another issue was simply changing ViewData to ViewData.Model for the strongly typed pages.  Simple enough.

And, finally, there were some routing changes.  Routing, apparently, is not my strong suit, so it took a little effort to get it lined up because I am trying for the super seo friendly url of just the slug of the page, so there is a little kung fu in there, but not much.  The biggest routing issue was how Default.aspx actually gets called now, so you have to put a redirect in the codebehind, where the old version just never got called.  I don't know what the reason for that is, but a little research can fix that.

All in all, considering how much effort the .net people are putting into asp.net mvc, and how much they are listening to the community, the changes were minimal.  If you have a project in preivew 1 or 2 (I upgraded from the first preview), then I suggest upgrading.  It is mostly painless, and it will keep you from having to drop a big chunk of updates in when the library goes rtm.

Jesse Foster | jf26028

Currently rated 3.0 by 2 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

June 13. 2008 03:27

Luis

Gracias por la información, era lo que justo estaba buscando para una comparación. Laughing

Luis

July 12. 2008 18:28

Fikret AKIN

HydrogenCMS Admin password?
I Don't login admin panel..

Fikret AKIN

July 12. 2008 22:13

jf26028

Fikret,

The default username/password is admin/test.

Jesse

jf26028

July 13. 2008 13:53

Fikret AKIN

thanks Smile

Fikret AKIN

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading