At CG16, Shannon was talking about not using singletons for anything any more due to the dawn of .NET Core and V8. I often create UmbracoHelpers when outside of a view or controller like:
var umbraco = new UmbracoHelper(UmbracoContext.Current);
This is using a singleton, so is there another way?
No singletons?
At CG16, Shannon was talking about not using singletons for anything any more due to the dawn of .NET Core and V8. I often create UmbracoHelpers when outside of a view or controller like:
This is using a singleton, so is there another way?
is working on a reply...