Chancer
09/25/2024, 7:48 AM/MyProject/Backoffice/[EditorName]/
Purely for aesthetic reasons
Cheers!Balázs Kerper
09/25/2024, 12:26 PM\App_Plugins\MyPlugin
. If you use a package.manifest file to register your plugin, Umbraco looks in that folder for those files, so having the rest of the files there makes sense.
I assume if you would want to deviate from the convention, you could do the registration through C#, and you would be free to place them anywhere accessible. This is not something I've tried before though, and just looking at community packages, its not exactly I've seen, maybe for a reason. 🙂 If you have the time to experiment, maybe worth the try, and post the results.Chancer
09/26/2024, 9:01 AMMyWebsite
Works, however placing the registration under for example:
MyWebsite.Backoffice.PropertyEditors
Does not. Bit of a shame, may end up also just following the convention of a package manifest as well, - Just liked the idea of registering them through C# in their own subset of the namespace so I could use configuration DI to add flags of turning the features on or off at the registration level.
Certainly not a huge issue as its more of an OCD "Id like my custom stuff to not live at the root Namespace" but It is what it is!Chancer
09/26/2024, 11:31 AM