Using ASP.NET Core TestServer + EF Core In Memory DB Together

added by DotNetKicks
10/17/2017 12:42:08 PM

3 Kicks, 133 Views

I haven't seen much about using the ASP.NET Core TestServer and EF Core's InMemoryDb together, despite them being a natural fit, so I thought I'd blog about it. There are a few different ways you could achieve this (more options at the bottom of the post), this is just a simple solution.