WPF Reflections

Sep 23 2008   3:38PM GMT

Xbap WPF – using WCF and Entity Framework

Mark Shurmer Profile: MarkWPF

Don’t

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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: