Harry Gordon
01/11/2024, 12:51 AMEnsureUmbracoContext
in a using statement that wraps the whole operation.
- Where we call CreateScope
it's in a using statement and we call scope.Complete()
.
- I've double checked the relevant settings:
- Umbraco.CMS.Global.MainDomLock
= FileSystemMainDomLock
- Umbraco.CMS.Hosting.LocalTempStorageLocation
= EnvironmentTemp
- Umbraco.CMS.Examine.LuceneDirectoryFactory
=
SyncedTempFileSystemDirectoryFactory
A bit of context about the operation:
- The service is transient.
- We inject IContentService
and IPublishedSnapshotAccessor
(not using IServiceProvider
).
Is there any documentation/resources people would recommend? Happy for any questions/guidance 😅.A hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by