Comments (3)
I think that TenantPipelineMiddleware
should replace ApplicationBuilder
's ApplicationServices
with tenant's container services.
from saaskit.
If you're running your migration outside of the HTTP request (e.g. from Visual Studio) then the tenant will always be null. I suggest posting this issue in the gitter channel as I'm not that familiar with EF migrations.
from saaskit.
Thank you, yes it is not possible outside of the HTTP request , we have to manually instantiate AppTenant for generation Migration
from saaskit.
Related Issues (20)
- StructureMap is unsetting, need a port to Lamar DI container
- encryption appsetting.json file - tenants configuration
- how to update user id after login
- Serious problem HOT 1
- Is this project stopped?
- Change data from appsettings.json "Multitenancy" to a database HOT 1
- Hosting SaaSKit enabled app on Azure HOT 1
- Possible memory leak with complex tenant types HOT 2
- Latest Download of SAASKIT does not extract. Corrupt Zip file by Github
- Getting Tenant In Service Layer/Repository Layer HOT 2
- Multi-tenancy authorization in ASP Core 2.0 HOT 5
- is this project alive? HOT 8
- .NET Core Console Application - Use Multitenancy? HOT 6
- Create Migrations for DbContext which depends on
- Add support for CancellationTokens in ITenantResolver
- builder.UseCookieAuthentication is Obsolete
- How to use with Core 2.0 and later versions; UseGoogleAuthentication... and others obselete HOT 1
- Override tenant in new IServiceScope for tenant data seeding
- Thread Safe HttpContext Access HOT 1
- How to return 404 when a tenant don't have a controller?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saaskit.