Closed 303248153 closed 4 years ago
AppDomain.CreateDomain is unavailable on linux.
Unhandled Exception: System.PlatformNotSupportedException: Secondary AppDomains are not supported on this platform.
at System.AppDomain.CreateDomain(String friendlyName)
at appdomaintest.Program.Main(String[] args) in /home/ubuntu/Projects/appdomaintest/Program.cs:line 11
wait for these issues, maybe available on .net core 2.2
Changed idea, the project name should be ZKMod and it should only contains the module system. After refractory there will be 3 primary project: ZKWeb, ZKStandard, ZKMod, and ZKMod should be independent. The final decision is load all plugins in same appdomain or loadcontext, and unload them all when reload any module. I don't have much time now, I would like to start working on it after november.
Final solution: no ZKMod project, .NET Core 3.0 collectible assembly is used in ZKWeb 3.0 and there no hot reloading support for .NET Framework because microsoft set it dead.
This is a very early idea that may not eventually be realized. To resolve early design mistakes in zkweb project, I want to create a new project called ZKWebZero, it should contain the following features:
IService
, B providesServiceImpl
, C usesIService
, thenApplication
Framework.ZKWebLegacy
plugin for compatibility with legacy pluginsFramework.AspnetCore
pluginFramework.Nancy
pluginaddition ideas
rename the term plugin to moduletest app domain unloading on netcore 2.0 with linux, if pass then test object serializingThis is a long term job, you can add your opinion if you saw this issue, but don't expect it to be available soon.