Hi. I don't know a direct way to do it, but I suppose it shouldn't be too difficult a task to convert an MVC partial view into an Umbraco razor macro (course assumed that the view itself is implemented with Razor).
Yes, there's no controllers, it's much more like WebPages framework page model, but you still have benefits of full control over HTML rendering, needlessness of viewstate and so on.
Integrate a MVC page on content page
It is easy to create a macro there use a User control.
But is there a way where I can implement a MVC page insted of a usercontrol.
Composite have a MVC player
http://docs.composite.net/ASP-NET/MVC/HelloWorldMVC
Is there some simulare in Umbraco?
I'm using v4,7
Hi. I don't know a direct way to do it, but I suppose it shouldn't be too difficult a task to convert an MVC partial view into an Umbraco razor macro (course assumed that the view itself is implemented with Razor).
Are there any guides about Umbraco razor macros?
For instance there're a chain of orticles in the umbraco blog:
http://umbraco.com/follow-us/blog-archive/2011/2/23/umbraco-47-razor-feature-walkthrough-%E2%80%93-part-1.aspx
Thx for the link.
Is is correct that there is no Controller to a razor macro?
If there is no controller methods, what is then the benefits comparet with a usercontrol then.
Yes, there's no controllers, it's much more like WebPages framework page model, but you still have benefits of full control over HTML rendering, needlessness of viewstate and so on.
is working on a reply...