<cite>alirizaadiyahsi: </cite> Hi,
Which version of Visual Studio are you using?
visual studio 2015 community edition.
I attempted to download the source for the Zero Moudle but VS is failing to load the projects. Are there changes that I need to make to the .csproj files?
Thanks
Thank you for your response.
We have a scenario that is essential for our application to ensure SOLID architecture in our project. Our application will include the following:
1- multiple tenants 2- Multiple set of features and sub-features
We need to create plans/editions, based on each edition, a set of features will be assigned.
Business rules:
Example: an Application will provide three services, Sell Computers, Sell Tablets, Sell Phones for sale
Sell Computers 1- Silver Plan (feature: Sell maximum of 5 computers at a time) 2- Gold Plan (feature: Sell maximum of 10 computers at a time)
Sell Tablets
Sell Phones 1.Free Plan (Feature: Sell Maximum of 1 phone at a time) 2. Bronze Plan (Feature: Sell Maximum of 5 phones at a time) 3. Silver Plan (Features: Sell Maximum of 10 phones at a time) 4. Gold Plan ( Sell Maximum of 15 phones at a time)
We need to be able to create all these plans through editions and set the features to each edition. A tenant can subscribe to zero or one plan in each service.
With the current setup, I would have to create 24 editions.
Sell Computers Silver Plan features + Sell Tablets Bronze Plan Features + Sell Phones Free Plan Features
Sell Computers Silver Plan features + Sell Tablets Bronze Plan Features + Sell Phones Bronze Plan Features
Sell Computers Silver Plan features + Sell Tablets Bronze Plan Features + Sell Phones Silver Plan Features
Sell Computers Silver Plan features + Sell Tablets Bronze Plan Features + Sell Phones Gold Plan Features
Sell Computers Silver Plan features + Sell Tablets Silver Plan Features + Sell Phones Free Plan Features
Sell Computers Silver Plan features + Sell Tablets Silver Plan Features + Sell Phones Bronze Plan Features
Sell Computers Silver Plan features + Sell Tablets Silver Plan Features + Sell Phones Silver Plan Features
Sell Computers Silver Plan features + Sell Tablets Silver Plan Features + Sell Phones Gold Plan Features
Sell Computers Silver Plan features + Sell Tablets Gold Plan Features + Sell Phones Free Plan Features
Sell Computers Silver Plan features + Sell Tablets Gold Plan Features + Sell Phones Bronze Plan Features
Sell Computers Silver Plan features + Sell Tablets Gold Plan Features + Sell Phones Silver Plan Features
Sell Computers Silver Plan features + Sell Tablets Gold Plan Features + Sell Phones Gold Plan Features . . . . . 24 - Sell Computers Gold Plan features + Sell Tablets Gold Plan Features + Sell Phones Bronze Plan Features
to cover this scenario with the current setup, you can imagine the maintenance it would take if we add a new features to one plan, we would have to go manually through all plans that should include that new feature or perhaps remove a feature from a plan.
The way that I thought to implement this is to assign multiple editions to a tenant and have another table which would include the Tenant/Edition relationship where the tenant retrieves an ICollection<TenantEdition> Editions
Thanks