Tag Archives: Entity Framework

OData second look

This is a follow up on my OData first look post. Since then I’ve moved the service to IIS for better fiddler support. The sample code builds on the previous post and shows how to load related data in one … Continue reading

Posted in Development | Tagged , , , , | 1 Comment

First look at OData

I’ve heard about OData back in 2012 but never used it. Now I might have a use case for OData and want to explore it. Below are the parts of my sample WCF DataService project. Every part has the exceptions … Continue reading

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

Week roundup

Last week recap and links: Architecture blueprints MSDN videos about the Microsoft Cloud Three Ways To Test Around Entity Framework that uses InMemoryDbSet, Moq and RimDev.Automation.Sql Getting started with Azure Search on Azure Friday Image courtesy of kanate / FreeDigitalPhotos.net … Continue reading

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

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