WPF Reflections

Sep 23 2008   3:38PM GMT

Xbap WPF – using WCF and Entity Framework

Mark Shurmer Profile: MarkWPF


That’s my advice.

I have been trying to get the combination of partial trust Xbap WPF appliction talking to a basicHttpBinding WCF service.
That’s not too hard.

What is hard is then getting that to talk to Entity Framework in partial trust (well it actually was medium trust IIS host of the WCF service).
It complained about a property IsReference which needed full reflection permission.

I ended up scrapping the EntityFramework bit , after losing much hair, and reverting back to Linq for Sql.
Now Linq for Sql also needs reflection permission, but I did manage to get it working – unlike the EntityFramework version.

It may of course been me doing something daft, but why do these technologies not get tested in partial trust????????

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: