Looking for a simple way to share the media files between developers during the dev process… Should we use commonFilesDirectory in development to store the media files in a single place? Or do we need the whole multi-server environment setup then?
You can use CommonFilesDirectory but you will be out of sync when other developers changes anything, so if it’s ok to restart and reindex for each developer when start working then you don’t need multiserver environment.
Ok, I did a quick try with a shared network folder but did get an error at start. Application was not able to start: \\SHAREDSERVER\Files Litium.Foundation.Data.FileWriteFailureException
2019-09-11 10:19:19.7754 [App:04] [3bbad942-59a7-4782-9c6b-6151f18587db] [FATAL] [] Litium.Foundation.GUI.FoundationApplicationSetup - Application was not able to start: \\SHAREDSERVER\Files Litium.Foundation.Data.FileWriteFailureException: \\SHAREDSERVER\Files
at Litium.Foundation.Solution.AssertWriteToDisc(String filesDirectory, Boolean useRandomTestFile)
at Litium.Foundation.Solution..ctor(DataSettings dataSettings, AccountSettings accountSettings)
at Litium.Foundation.GUI.FoundationApplicationSetup.CreateInstance()
at Litium.Foundation.GUI.FoundationApplicationSetup.Setup(IEnumerable`1 assemblies)
2019-09-11 10:19:19.7754 [App:04] [] [FATAL] [] Litium.Owin.Lifecycle.Application - Exception in Litium
appId=/LM/W3SVC/18/ROOT
type=Litium.Foundation.Data.FileWriteFailureException
message=\\SHAREDSERVER\Files
stack=
at Litium.Foundation.Solution.AssertWriteToDisc(String filesDirectory, Boolean useRandomTestFile)
at Litium.Foundation.Solution..ctor(DataSettings dataSettings, AccountSettings accountSettings)
at Litium.Foundation.GUI.FoundationApplicationSetup.CreateInstance()
at Litium.Foundation.GUI.FoundationApplicationSetup.Setup(IEnumerable`1 assemblies)
at Litium.Owin.Lifecycle.Application.ExecuteSetupTask(Assembly[] assemblies, IEnumerable`1 types)
at Litium.Owin.Lifecycle.Application.Start(IEnumerable`1 assemblies, IEnumerable`1 typesToIgnore)
at Litium.Web.Runtime.LitiumHttpModule..ctor()