Copied to clipboard

Flag this post as spam?

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


  • Matt 358 posts 841 karma points
    Feb 23, 2023 @ 07:57
    Matt
    0

    Editing custom controllers

    Hi,

    Just a quick question someone might be able to help with.

    In my visual studio project I've created some custom controllers, once I publish these, is there a way I can access/edit them?

    Say for e.g I publish my website to live, but 3 months later I need to make a small change to the controller, will I have to publish the whole project again or is there a simple way to do this?

    Thanks

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Feb 23, 2023 @ 08:17
    Huw Reddick
    0

    You will need to just update the compiled dll/exe file you won't need to republish the whole site

  • Matt 358 posts 841 karma points
    Feb 23, 2023 @ 08:53
    Matt
    0

    Thanks for reply, do you know where these are located in Umbraco 10 once published? so I would know which to overwrite.

    I've had a look but I cant see anything.

    Thanks

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Feb 23, 2023 @ 11:35
    Huw Reddick
    0

    They should be in the root of the publish folder

  • Matt 358 posts 841 karma points
    Feb 23, 2023 @ 13:12
    Matt
    0

    Hi Huw,

    Thats what I thought, would would the file name be? would it be the same as what I called my controller?

    Thanks

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Feb 23, 2023 @ 13:30
    Huw Reddick
    100

    it will have the name of your web project

Please Sign in or register to post replies

Write your reply to:

Draft