ASP.NET Core With EF6 Testing Resources

Here are some links I found useful while researching a presentation for unit testing with EntityFramework.

Getting Started with ASP.NET Core and Entity Framework 6
https://docs.microsoft.com/en-us/aspnet/core/data/entity-framework-6

Entity Framework Testing with a Mocking Framework
https://msdn.microsoft.com/en-us/library/dn314429(v=vs.113).aspx

Testing with InMemory
https://docs.microsoft.com/en-us/ef/core/miscellaneous/testing/in-memory

Three Ways To Test Around Entity Framework
http://www.khalidabuhakmeh.com/three-ways-to-test-around-entity-framework

Sample Visual Studio solution with EF6 and ASP.NET Core projects
https://github.com/aspnet/Docs/tree/master/aspnetcore/data/entity-framework-6/sample/

Mocking DbContext and DbSet with Moq
http://www.jankowskimichal.pl/en/2016/01/mocking-dbcontext-and-dbset-with-moq/

Dependency Injection
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection

Testing Controller Logic
https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/testing

Unit Test Factory Methods: Return an Interface or a Mock?
https://jeremybytes.blogspot.com/2016/06/unit-test-factory-methods-return.html

IPrincipal (User) ModelBinder in ASP.NET MVC for easier testing
http://www.hanselman.com/blog/IPrincipalUserModelBinderInASPNETMVCForEasierTesting.aspx

A Back To Basics Case Study: Implementing HTTP File Upload with ASP.NET MVC including Tests and Mocks
http://www.hanselman.com/blog/ABackToBasicsCaseStudyImplementingHTTPFileUploadWithASPNETMVCIncludingTestsAndMocks.aspx

Developing ASP.NET Core applications using dotnet watch
https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch

How to Successfully Mock HttpContext
https://www.danylkoweb.com/Blog/how-to-successfully-mock-httpcontext-BT