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.
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
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.is working on a reply...