Copied to clipboard

Flag this post as spam?

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


  • Christian Neess 3 posts 23 karma points
    Mar 16, 2012 @ 08:05
    Christian Neess
    0

    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

  • Rodion Novoselov 694 posts 859 karma points
    Mar 16, 2012 @ 08:43
    Rodion Novoselov
    0

    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).

  • Christian Neess 3 posts 23 karma points
    Mar 16, 2012 @ 10:30
    Christian Neess
    0

    Are there any guides about Umbraco razor macros?

  • Rodion Novoselov 694 posts 859 karma points
    Mar 16, 2012 @ 10:36
  • Christian Neess 3 posts 23 karma points
    Mar 16, 2012 @ 10:56
    Christian Neess
    0

    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.

  • Rodion Novoselov 694 posts 859 karma points
    Mar 16, 2012 @ 13:32
    Rodion Novoselov
    0

    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies