Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MrFlo 159 posts 403 karma points
    Dec 03, 2010 @ 02:03
    MrFlo
    0

    How to use umbraco and asp.net mvc custom made applications together

    Hello all,

    I am working on a new version of my site, for the moment everything is under umbraco.

    The main purpose of the actual site is to publish article and news.
    I want to extend it and add community features, ads, eShop, address/link listing, tag clouds, etc...

    I would like to use asp.net MVC because I often use it and I prefer to have a custom made app for some datas, it's sometimes more easy to make a simple admin part with listing,etc.

    But I like Umbraco for the editor and easy way to make links between pages, pictures management. I want everything in friendly url and make my separate own admin part for some functionnalities.

    What do you advise ? I know the new umbraco 5 will be in MVC but I want to start now. How can I easily mix the two thing easily ?

    Thank you for your help and advices!

    MrFlo

     

     

     

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Dec 03, 2010 @ 02:48
    Aaron Powell
    0

    It's not really hard to mix a webforms and mvc site together, Scott Hanselman wrote a blog about it a while ago: http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx

    To adapt this with Umbraco you probably need to specify the paths that you want MVC to handle as excludes in the web.config for Umbraco.

    If you really wanted to go to the extreme you can run Umbraco 4.5 in a virtual directory and write a MVC website which uses Umbraco as a data store, which is what we did at TheFarm for Linkin Park's new album - http://www.athousandsuns.com.au/
    That site is a pure MVC site, and we had user generated content on it that was stored in Umbraco (so it could be approved/ rejected) and then used LINQ to Umbraco to read it back out.

    Not the simplest solution but it was totally cool!

     

    Without taking away from Umbraco if you're looking for a purely MVC application to use as a site you should check out another project I work on called FunnelWeb (http://www.funnelweblog.com ) which is a wiki/ blog hybrid using MVC.

Please Sign in or register to post replies

Write your reply to:

Draft