Copied to clipboard

Flag this post as spam?

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


  • Frederik T 242 posts 373 karma points
    Feb 08, 2013 @ 13:23
    Frederik T
    0

    Possible to combine MVC project with a razor script?

    At my workplace we use Umbraco 4.7.2, and we are wondering if we can somehow combine MVC with the razor scripts. We have made a normal MVC web application in visual studio, that uses cshtml for the views. Can that "view" be replaced with an umbraco razor script/macro and still interact with the underlying control/model layer from the application? If this makes sense?

    If its possible, then how? Just a pointer in the right direction will suffice :)

    Thank you in advance

  • Pasang Tamang 258 posts 458 karma points
    Feb 08, 2013 @ 15:14
    Pasang Tamang
    100

    Hi Frederik,

    There is a package named MVC Bridge, can be download from http://our.umbraco.org/projects/developer-tools/mvcbridge which is compatible with U4.7.x . I haven't use this package yet. If you wants full control over MVC features then my suggestion is better you update your U4.7.2 to 4.10+ version where you can interact with your control/ model layer. 

    More information can be found in:
    http://umbraco.com/follow-us/blog-archive/2012/10/30/getting-started-with-mvc-in-umbraco-410.aspx
    http://our.umbraco.org/documentation/reference/mvc/

    Hope this helps you.

    Kind Regards
    PTamang 

Please Sign in or register to post replies

Write your reply to:

Draft