atomsite.net

The AtomPub server for .NET

Update to ASP.NET MVC RC1

Posted in Asp.Net, BlogSvc, MVC by JarrettV on 1/31/2009 12:05:09 AM - CST

I've checked in the code to update BlogSvc to ASP.NET MVC RC1 Refresh.  There were only minor updates to get things workings and the overall process only took around 10 minutes.  However, the readme notes on the configuration are misleading.  The release notes tell you to update the pages section to look like:

<pages

validateRequest="false"

pageParserFilterType = " System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 "

pageBaseType = " System.Web.Mvc.ViewPage, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 "

userControlBaseType = " System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 " >

This is not necessary as you'll notice when creating a new MVC project that three bolded lines are not included.  When I added the lines to my config it caused errors on my hosting provider.

 

Update: yes, the readme notes are very misleading.  These lines should actually be added to the web.config file in the "Views" directory.  I added these lines to web.config file in the themes folder.

Comments

Gravatar
Posted by Phil on 2/8/2009 11:24:06 PM - CST
test
Gravatar
Posted by Phil on 2/8/2009 11:45:29 PM - CST
test
Gravatar
Posted by JarrettV on 2/9/2009 12:26:06 AM - CST
test
Gravatar
Posted by OpenID User on 7/1/2009 9:33:44 PM - CST
ok

Add Comment

Login using
Google Yahoo flickr AOL
and more
Or provide your details
Please enter your name. Please enter a valid email. Please enter a valid website.
Please supply a comment.
3.0 (1)
on 2/6/2009 8:45:48 PM - CST

Recent Entries

© Copyright 2012 Powered by AtomSite 1.4.0.0