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 :)
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.
Possible to combine MVC project with a razor script?
If its possible, then how? Just a pointer in the right direction will suffice :)
Thank you in advance
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
is working on a reply...