You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a single tenant config where i need to route to a customer shard based on the request. The DbShardContextFactory does this with help from the HttpContextAccessor.
Because the factory creates the DbContext instead of the DI Container it appears to not be disposing correctly even though defined as Scoped. so the .AddEntityFrameworkStores<ConXDbContext<Guid>>()
call i believe is the issue
What is the correct pattern here to use the standard ASP.NET Core service collection?
The text was updated successfully, but these errors were encountered:
@ConX-Ryan have you managed to use the library with .net core 2.0 ? Any sample available? As of 118 is not supported yet. Any help would be appreciated.
I am using a single tenant config where i need to route to a customer shard based on the request. The DbShardContextFactory does this with help from the HttpContextAccessor.
Because the factory creates the DbContext instead of the DI Container it appears to not be disposing correctly even though defined as Scoped. so the
.AddEntityFrameworkStores<ConXDbContext<Guid>>()
call i believe is the issue
What is the correct pattern here to use the standard ASP.NET Core service collection?
The text was updated successfully, but these errors were encountered: