Is it possible to allow controllers to be internal inside of modules? #11417
Replies: 2 comments 6 replies
-
In OrchardCore most of the things run in a tenant context, you can have multi tenants composed of enabled modules, and at least we have a Default tenant, each tenant has an isolated part manager so here normally you can register what you want but at the tenant level, can be done by the startup of a dedicated module or from the app by using one of our helpers. So not fully sure but try to do what you are used to do from the application startup, but by using
|
Beta Was this translation helpful? Give feedback.
-
While I won't be able to help more than JT, can you explain what you'd like to achieve by keeping the controllers internal but still getting them directly registered? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get Orchard to expose internal controllers within my modules but can't seem to figure out how. In standard ASP.NET Core, the way I do it is by replacing the
ControllerFeatureFactory
with a custom one:Is there some way to register this in Orchard Core or another way to achieve the same result?
Thanks,
Chris
Beta Was this translation helpful? Give feedback.
All reactions