About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (20)
- Development (201)
- Security (17)
- Test (30)
- Tooling (160)
- Uncategorized (159)
Most used tags
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
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
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 Code, codefirst, EF, Entity Framework, integration test, integration tests, unittest
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 .NET, Entity Framework, fakedbset, nservicebus, NuGet, xunit
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