Copied to clipboard

Flag this post as spam?

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


  • ssougnez 93 posts 319 karma points c-trib
    May 17, 2018 @ 12:59
    ssougnez
    0

    Best practice for extending Umbraco

    Hi,

    I started learning Umbraco few days ago and I'm stumbling upon an architectural issue. I'm creating a custom property editor so fo this, I created some files in the App_Plugins folder. Now, I also created a PropertyValueConverter, however, I don't know where I should put the C# class.

    Should it go in the App_Plugins folder along with the js/css files ? Seems a bit weird. For now, I created a Core/PropertyEditors folder in the project but I don't know if it's correct.

    Is there some kind of guidance or best practice for these kind of things ? I search on Google but didn't find anything relevant.

    Thanks

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    May 17, 2018 @ 13:11
    Dan Diplo
    0

    Your C# code should be compiled to a DLL and put in the /bin/ folder of your site. App_Plugins is only for client-side assets.

    So you could create a class library, or if you are using a website solution you could add it to App_Code folder.

Please Sign in or register to post replies

Write your reply to:

Draft