zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

4 results in tag: simple-injector

Register a DB Context with Simple Injector and .Net Core

Hi I'm using Simple Injector for my application DI. I have kept the default DI for framework DI....But I need to register the ...DbContext... with SimpleInjector. When I run the application...container.Verify() ...Gives the following error...ActivationExc...
asp.net-core c# entity-framework-core simple-injector
asked by Jeff Finn

How to change registered (Simple Injector) DbContext's connection string after user's authorization?

I'm building ASP.NET Core Web Api with Simple Injector and have the following problem: The data for each user is stored in his individual base (but with the same schema), which is known only after he authorizes himself. So... I can give ...DbContext... it...
asp.net-core-webapi c# dbcontext entity-framework-core simple-injector
asked by Michael Black

Using Entity Framework Core DbContext Pooling with Simple Injector

Looking at the examples of how to use db context pool I see it was designed to be used with ...ServiceCollection...:...var serviceProvider = new ServiceCollection() .AddDbContextPool<AdventureWorksContext>(options => { //options }) .BuildServicePr...
dbcontext ef-core-2.1 entity-framework-core simple-injector
asked by user1178399

ASP.NET Core DI with Simple Injector sharing DbContext

I'm setting up an ASP.NET Core project and following a CQRS pattern basing my work on the ...Tripod... project. I've followed the Simple Injector integration guide but a little puzzled on one point... I want to keep make use of the ...UseInMemoryDatabase....
asp.net-core c# dependency-injection entity-framework-core simple-injector
asked by Stephen York

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!