Been staring at this for a while without getting any further. Code that worked before (pre 4.7 at least) does not work anymore. What am I missing? Site is running fine otherwise.
public class MyEvents : umbraco.BusinessLogic.ApplicationBase { public MyEvents() { Media.AfterSave += new Media.SaveEventHandler(Media_AfterSave); }
:ApplicationBase Constructor does not run
Been staring at this for a while without getting any further. Code that worked before (pre 4.7 at least) does not work anymore. What am I missing? Site is running fine otherwise.
public class MyEvents : umbraco.BusinessLogic.ApplicationBase
{
public MyEvents()
{
Media.AfterSave += new Media.SaveEventHandler(Media_AfterSave);
}
{
Log.Add(LogTypes.Custom, 0, "Hello from event handler");
}
}
Regards
is working on a reply...