practical-aspnetcore
practical-aspnetcore copied to clipboard
Add Sample for Multi-tenancy & ASP Identity Option
Hello, as SAAS platforms are more proliferate now, we need to be able to build multi tenant options easier templatized way with ASP Identity, Roles/Claims.
We should expand upon the Orchard Core framework facilities.
https://github.com/dodyg/practical-aspnetcore/tree/3.1-LTS/projects/orchard-core
Do you also show how to build plug-ins or add your own business entities into orchard. I always considered orchard to be good, but steep learning curve, kinda fuzzy on how to build anything on it.
It's gotten better now but yeah the documentation on this still needs improvement. It's an amazing framework.
A new article on Orchard Core framework
https://bearandhammer.net/2020/05/16/poking-around-with-orchard-core/
@dodyg Orchard Core already has samples on mudule + multi tenant scenarios. Link here: https://github.com/OrchardCMS/OrchardCore.Samples
What is needed for PANC (Practical ASP.NET Core) ?
OrchardCore Module system is extensive. It needs to be broken down in multiple samples.
There are basic things such as
Modules
- What can be shared between components and what can be isolated within each component? how?
- How do you refer to static resources located module in the main app?
- How do you deal with the routing between main module and hosting system? It differs between Razor Pages and MVC
- How do you take dependency on another module?
- How can you include the built in UI Admin in OrchardCore CMS to enable/disable modules
Multi Tenancy
- How does Orchard Core define multi-tenancy? We can start from the routing perspective e.g. either from domain/subdomain mapping or subpath (e.g. sass.com/mycompany, saas.com/mycompany2)
- How do you deal with configuration per tenant? Can it handle multiple connection strings?
- How do you enable one module for Tenant A but not for Tenant B?
Do you also show how to build plug-ins or add your own business entities into orchard. I always considered orchard to be good, but steep learning curve, kinda fuzzy on how to build anything on it.
This comment by @weedkiller is instructive.