Problem Using Sql Server Ce With Entity Framework Code-first And Asp.net Mvc 3 And Mvc Miniprofiler
I am attempting to create an ASP.NET MVC 3 application using C#, Entity Framework 4.0 code-first and SQL Server CE, and the automated scaffolding. Everything works fine until I try
Solution 1:
This is an issue with EF 4.1 update 1 which breaks all profilers
See:
- http://code.google.com/p/mvc-mini-profiler/issues/detail?id=100
- http://weblogs.asp.net/fbouma/archive/2011/07/28/entity-framework-v4-1-update-1-the-kill-the-tool-eco-system-version.aspx
- http://ayende.com/blog/75777/entity-framework-4-1-update-1-backward-compatibility-and-microsoft
Mark Young just implemented a SQL CE specific workaround in the main trunk, use:
//only ever settofalsewhen profiling SQL CE
MvcMiniProfiler.Initialize_EF42(supportExplicitConnectionStrings: false);
Post a Comment for "Problem Using Sql Server Ce With Entity Framework Code-first And Asp.net Mvc 3 And Mvc Miniprofiler"