OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.42k stars 2.39k forks source link

suggest add dynamic module loader #11408

Closed a591537394 closed 2 years ago

a591537394 commented 2 years ago

Demand

We want to share our module, and the module can be as a plugin, be loaded directly in admin panle, just like the plugin of wordpress.

What's useful of that feature?

Anyone are need money to keep live , the developer of orchard core is not excluded. in order to make the community running in a positive and automatic state, a simple way that can allow developer to create income is very important.

The solution that i had considered

The modular solution of ABP Framework can be a reference, ABP modular can dynamic load plug-in modules in a specific folder. I think that may be a method to implement that demand. Wish orchard core become better , thank you.

hishamco commented 2 years ago

In Orchard Core we took a decision to not allow dynamic loading of modules, so all the modules should be added to the web application, run it, then you can make use of your new module

a591537394 commented 2 years ago

aa... Can i modify the framework to a hot plug-in modular framework and push to this place?

hishamco commented 2 years ago

It's Open Source, but you can't push here. But you can suggest this in Orchard Core Contrib (OCC)

ns8482e commented 2 years ago

@a591537394 Orchard core modules are nuget packages

you can add package reference in your project and use CI/CD pipeline to deploy your application

Skrypt commented 2 years ago

Unless we can remove an assembly from runtime this is a really bad idea.