Tag Archives: Entity Framework

Week 25 roundup

Last week recap and links: Colleague Robbert wrote about CSRF attacks for dummies Cleanup your azure with this Azure websites in-depth article. Moved some of my websites to other hosting plans. Entity Framework Concurrency Checking with Timestamp helped solve a … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Week 24 roundup

Last week recap and links: Octopus deploy is working on a delte compression implementation. They need help to beta test it. Entity Framework migrations in a development team video Image courtesy of kanate / FreeDigitalPhotos.net What are your best reads … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Integration Test with Entity Framework Codefirst

Our database is developed using Entity Framework Codefirst. Everything in code. Enabled migrations to update existing environments as we roll out. The code passed all the unittests, but it didn’t feel right. Time for an integration test. This brought me … Continue reading

Posted in Development | Tagged , , , , , , | Leave a comment

Could not find a concrete type mapped to MappingAdded

In a handler I tried to publish an event. But the exception Could not find a concrete type mapped to MappingAdded is thrown.
The problem here is that FakeDbSet uses an older version of EntityFramework. Make sure all project reference the same EntityFramework version or remove your unneeded DbContext. Continue reading

Posted in Development | Tagged , , , , , | Leave a comment

Nuget trouble (again)

Keeping the versions of packages in sync was difficult today, again. Now I tried testing my data access code with FakeDbSet. This is an in-memory store for your data, the owner describes it as A ready to use FakeDbSet for … Continue reading

Posted in Test | Tagged , , , | Leave a comment