About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (217)
- Security (19)
- Test (32)
- Tooling (174)
- Uncategorized (168)
Most used tags
Tag Archives: .NET
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
Performance optimization with VS2012 profiler
Many systems are not optimized or sub-optimized by tweaking the wrong features. This post describes the use of the Visual Studio 2012 profiler to get insight in what to optimize and monitor the result of these optimizations. For this post … Continue reading
Posted in Development
Tagged .NET, .NET 4.0, deserialize, Performance, Profiler, stringreader, tweak, Visual Studio 2012, WCF
Leave a comment
AmbiguousMatchException on mock creation
See simple code below of ClassToTest with two public constructors with one parameter. My favorite mocking framework (Rhino Mocks) is unable to determine which constructor to use for mocking. The CreatePartialMock method throws an AmbiguousMatchException. The workaround for this is … Continue reading