To cache info about assemblies and installed plugins for quicker startups (e.g., on application pool recycles). See comment on this ticket: http://issues.umbraco.org/issue/U4-803
without really knowing why, I've been removing the entry for anything I've put in app_code for our own custom backoffice stuff from the trees.config anytime I got a YSOD. After recompiling, I removed the random set of characters appearing after App_SubCode_CSCode in the trees.config entry.
Now I know I've got to do that in these two files as well. Hopefully it might stop me getting a YSOD until I get a chance to look at this in more detail.
In general, you should avoid using App_Code (at least, I do). You can simply put anything that would go there into a class library instead. Might save you a few headaches.
Off the top of my head, waiting extra time for it to compile at runtime, funky namespace issues, lack of intellisense in Visual Studio, and potential application pool recycles due to excessive recompilations. I think there are some other subtle issues, but those are the ones I have a vague recollection of.
What are the files umbraco-plugins.*.hash and umbraco-plugins.*.list used for?
Hi
I'm hoping someone may know what these two files do:
Thanks
Muiris
To cache info about assemblies and installed plugins for quicker startups (e.g., on application pool recycles). See comment on this ticket: http://issues.umbraco.org/issue/U4-803
You can see where they are used in this file: https://github.com/umbraco/Umbraco-CMS/blob/9badb35c054ecc91630b69b1b6753c78427cb4a6/src/Umbraco.Core/PluginManager.cs
Thanks Nicholas
without really knowing why, I've been removing the entry for anything I've put in
app_code
for our own custom backoffice stuff from thetrees.config
anytime I got a YSOD. After recompiling, I removed the random set of characters appearing afterApp_SubCode_CSCode
in the trees.config entry.Now I know I've got to do that in these two files as well. Hopefully it might stop me getting a YSOD until I get a chance to look at this in more detail.
Thanks again
Muiris
In general, you should avoid using
App_Code
(at least, I do). You can simply put anything that would go there into a class library instead. Might save you a few headaches.Sorry for the intromission but: Headaches like which ?
Off the top of my head, waiting extra time for it to compile at runtime, funky namespace issues, lack of intellisense in Visual Studio, and potential application pool recycles due to excessive recompilations. I think there are some other subtle issues, but those are the ones I have a vague recollection of.
Nicholas
is there a quick guide on how to do that?
Thanks
Muiris
Will answer that here since you've asked the question elsewhere: https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/86927-app_datatempplugincacheumbraco-pluginsmyservernamelist-is-denied
is working on a reply...