atomsite.net

The AtomPub server for .NET

News Blog - Browsing Asp.Net

  1. Update to ASP.NET MVC RC1

    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.

    Posted by JarrettV on January 31 at 12:05 AM

  2. Now on ASP.NET MVC Preview 5

    I'm proud to announce the next release is built on MVC.  The move to MVC has many benefits for BlogService:MvcLayout

    1. No more WCF issues
    2. Testable
    3. Simplified authentication
    4. VS.net development server support
    5. Better flexibility around themes
    6. Url rewriting no longer required
    7. Better ajax scenarios
    8. Cleaner deployment structure (see right)
    9. Less configuration required

    This website is already running on MVC and it appears overall speed has increased both on the browser and through Windows Live Writer (even on the new beta).

    If you like to discuss the change to MVC, please head on over to the discussion already in progress.

    Posted by JarrettV on September 30 at 10:03 AM

© Copyright 2010 Powered by AtomSite 1.4.0.0