Commit Graph

26 Commits

Author SHA1 Message Date
Nikolaj
872364cfb3 Update constructor in PublishedModelFactory 2020-09-07 11:34:12 +02:00
Nikolaj
5f6680f191 Use filestream to be able to delete the old asemblies 2020-09-07 10:19:25 +02:00
Nikolaj
6d599b5f48 Switch to default AssemblyLoadContext 2020-09-07 09:03:09 +02:00
Mole
1000e19a20 Try and use AssemblyLoadContext to load and unload assemblies
This still doesn't work, since the old assembly never gets freed allowing it to be unloaded, my best guess is that there's some references to the types within in the old assembly somewhere which doesn't get cleared.
2020-09-04 10:38:37 +02:00
Nikolaj
63c25b8695 Start out with AssemblyLoadContext 2020-09-03 15:24:57 +02:00
Nikolaj
ba3ed003f1 Remove the last stuff I can find 2020-09-03 15:03:02 +02:00
Nikolaj
870bd825d4 Remove more stuff that seemingly does nothing anymore 2020-09-03 14:58:21 +02:00
Nikolaj
ef02a32a2c Try and do something which might sometimes delete some old assemblies 2020-09-03 14:53:36 +02:00
Nikolaj
508a2b9077 Remove some build manager stuff 2020-09-03 14:18:09 +02:00
Nikolaj
aa1807bd5a Reuse compiled assembly again if no changes are detected
It's not pretty, but it works...
2020-09-03 10:31:45 +02:00
Nikolaj
3efb60ba28 Remove unused stuff. 2020-09-02 15:46:48 +02:00
Nikolaj
69191088e3 Save compiled assembly in TEMP 2020-09-02 15:35:05 +02:00
Nikolaj
aeb7977c60 Load new argument 2020-09-02 15:18:22 +02:00
Nikolaj
1eb7e9c1eb Add further progress 2020-09-02 14:44:01 +02:00
Bjarke Berg
39162f0f6a Merge conflicts resolved 2020-08-06 12:59:21 +02:00
Shannon
212dc7f0fa notes 2020-07-14 10:08:59 +10:00
Bjarke Berg
aa31a8b5dd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs
#	src/Umbraco.Core/PublishedCache/PublishedSnapshotServiceBase.cs
#	src/Umbraco.Core/PublishedModelFactoryExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2020-05-01 14:13:15 +02:00
Shannon
e62fef8faf Ensures entire nucache linked list is not rebuild on schema changes when disabled 2020-04-20 23:22:03 +10:00
Shannon
d9cb9f27f1 ModelsBuilder enabled flag not respected
When MB is disabled we were still rebuilding all of nucache models when schema changes are made which is a requirement of PureLive models but if MB is disabled then PureLive models don't matter. This was causing unnecessary performance and db overhead when modifying document types when mb is disabled.
2020-04-20 22:25:05 +10:00
Shannon
f24cae51d8 Renames IHostingEnvironmentLifetime to IApplicationShutdownRegistry 2020-03-26 15:39:20 +11:00
Shannon
612a47b16b Splits interfaces into separate ones, removes overlap between interfaces, injects the necessary bits, and much more 2020-03-25 15:06:22 +11:00
Bjarke Berg
f671fea998 NetCore: Refactor config/setting to not use dependencies (#7810)
* Avoid usage of IOHelper in GlobalSettings

* Avoid usage of IOHelper in ModelsBuilderConfig.cs

* Avoid usage of IOHelper in ConnectionStrings.cs

* Simplified more config

* Fix for ModelsBuilderConfig

* Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions
2020-03-17 16:26:56 +01:00
Bjarke Berg
53953338d8 Merged Umbraco.Abstractions into Umbraco.Core 2020-03-03 13:42:07 +01:00
cyberdot
01362d0dd0 NetCore: Abstract ConfigurationManager references 2020-03-03 11:18:54 +00:00
Bjarke Berg
c7f60d8312 AB3986 - Wrapped System.Web.Hosting.IRegisteredObject in the AspNetHostingEnvironment. Updated Maindom to use our own new interface and the wrapper and moved to infrastructure. Removed the Umbraco.Core project now that it was empty. 2020-01-08 09:01:58 +01:00
Shannon
3b6abbb936 Renames project: Umbraco.ModelsBuilder.Embedded and namespaces since we need a different assembly, updates nuspec, changes file path of MB app_plugins 2019-10-29 00:25:03 +11:00