# Do we even need IMainDom?

**URL:** <https://forum.umbraco.com/t/do-we-even-need-imaindom/7263>\
**Category:** Questions\
**Tags:** v13, v15, v16, v17\
**Created:** [January 20, 2026, 9:05pm UTC](https://forum.umbraco.com/t/do-we-even-need-imaindom/7263 "2026-01-20T21:05:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonElkin](https://forum.umbraco.com/user_avatar/forum.umbraco.com/jasonelkin/32/133_2.png) [@JasonElkin](https://forum.umbraco.com/u/JasonElkin)\
**Post date:** [January 20, 2026, 9:05pm UTC](https://forum.umbraco.com/t/do-we-even-need-imaindom/7263/1 "2026-01-20T21:05:34Z")

</div>

In replying to this thread about yet another locking issue with the `FileSystemMainDomLock`, I got to thinking…

> [@MainDom Lock Timeout on Azure App Service - Looking for Solution](https://forum.umbraco.com/t/maindom-lock-timeout-on-azure-app-service-looking-for-solution/7242):
>
> Environment: Umbraco CMS 15.4.3 .NET 9 on Windows (Azure App Service) Azure App Service: 2 separate App Service Plans Backoffice: SchedulingPublisher (minimal traffic) Public: Subscriber (~100k requests/day, traffic doubled recently) One instance each, no scaling out Configuration: FileSystemMainDomLock with LocalTempStorageLocation = EnvironmentTemp Problem: Subscriber server crashes on restart when under load with: System.TimeoutException: Cannot acquire MainDom at …

What does `IMainDom` actually do? [Looking at the file itself](https://github.com/umbraco/Umbraco-CMS/blob/8f571fe51b923b62f919414de64bf9728ce5227b/src/Umbraco.Core/Runtime/IMainDom.cs#L12)…

> There can be only one “main” AppDomain running for a given application at a time.

Quite right too! **But in .NET Core you can’t have multiple AppDomains running at the same time…**.

Can we just nuke this whole concept and save everyone a lot of time and tears?
