Replies: 5 comments
-
You doesn’t seems to have valid startup in module, module startup inherits from StartupBase |
Beta Was this translation helpful? Give feedback.
-
Thank you, post edited, tested with same results |
Beta Was this translation helpful? Give feedback.
-
I still can't find it valid - verify your module startup inherited from Orchard's StartupBase and Configure method has three parameters e.g. |
Beta Was this translation helpful? Give feedback.
-
I didn't know you had to inherit from startupbase, I didn't see that in the videos. |
Beta Was this translation helpful? Give feedback.
-
We now support raw startups that don't inherit from But the Configure() parameter types we are looking for and then use if they exist, are |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created these web projects
Module references Reusable API, and it works fine on it's own
Added Module into CMS and enabled it
The problem is, it can't find the controllers on Reusable API from the CMS
Details:
CMS Startup.cs
Module Startup.cs
Reusable API Startup.cs
ReusableAPI/Controllers/TestController.cs
If I run Module, I can call the API controller Test method with no problems
But, if I run the CMS, I can't call the API controller Test method, it gives me a 404 not found instead.
However - If I add controllers support on CMS/Startup.cs, the Reusable API works!
But now I can't access the admin page

Beta Was this translation helpful? Give feedback.
All reactions