Last post Jul 11, 2008 10:35 AM by gstadter
Jul 11, 2008 09:09 AM|gstadter|LINK
Please forgive the novice question, but....
Would anyone care to give me their two cents on either the pros and cons of using either of the two models?
or.... what differences within the scope of the application to be created should determine best direction (what might be decision-making factors)?
Dynamic Data Web Applications / Websites - Uses LinqDataSource and LINQ To Sql
Dynamic Data Entities Web Applications / Websites - Uses EntityDataSource and ADO.NET Entity Data Model
Jul 11, 2008 10:35 AM|gstadter|LINK
Found some info here to somewhat answer my own question.
I'd still be very interested in any views, suggestions or "for example"s from members of this forum.
Should ADO.NET Entity Data Model work in a medium trust environment?
I build my machine as vanilla as possible, with the exception of .Net 3.5 Sp1 beta of course, and created to projects pulling from the same SQL db.
Most, if not all of the solutions I develop are in a medium trust shared hosting env, so I set allowOverride=false, and trust level to medium within my machine's web.config.
TheLINQ executes fine, but the Entity site fails with:
"Type 'System.Data.Entity.....Provider' cannot be instantiated under a partially trusted security policy (AllowPartiallyTrustedCallersAttribute is not present on the target assembly).
Not 100% sure if this means I have something wrong within my project, or if it means what I think it means.... no workie in medium trust.