Copied to clipboard

Flag this post as spam?

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


  • Filur 20 posts 154 karma points
    Dec 06, 2017 @ 11:38
    Filur
    0

    Resolving controllers and views in runtime

    Is implementing UmbracoControllerFactory the way to go if I would like to have complete control over what controller and view Umbraco uses?

    To elaborate, I have a common project which is being shared by a lot of separate Umbraco projects (same solution). If a matching controller and/or view doesn't exist in a sub project, I would like to fall back and look in the common project file structure. Thus, route hijacking is not enough here.

    Can this be accomplished by creating my own implementation of UmbracoControllerFactory?

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Jan 24, 2018 @ 22:37
    Alex Skrypnyk
    0

    Hi Filur

    Did you find a solution? Can you share with our community, please?

    /Alex

Please Sign in or register to post replies

Write your reply to:

Draft