natemcmaster / DotNetCorePlugins

.NET Core library for dynamically loading code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVC implementation of unloading and installation

tanyo520 opened this issue · comments

How to realize the scene of unloading and re installing in MVC mode? If there is sevices IOC in MVC, how to release it when uninstalling, re install and re register it. Do you have a good idea

Same comment as #174

I haven't seen this successfully done due to the design of ASP.NET itself. As far as I know, MVC and reloading are not possible, so you have to restart the process completely to get a new version of a plugin.

How to realize the scene of unloading and re installing in MVC mode? If there is sevices IOC in MVC, how to release it when uninstalling, re install and re register it. Do you have a good idea

Can refer to https://github.com/lamondlu/CoolCat

This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.

Closing due to inactivity.
If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.