WCF limitations in partial trust XBAP...is there a way to have my cake and eat it?
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
I have a partial trust XBAP that is consuming WCF services. I'd really like to take advantage of the session capabilities that WSHttpBinding provides, but running in partial trust requires that you disable that feature of WSHttpBinding. Arrrrgh! I'm gonna need to have classes hosted on the server that would use an InstanceContextMode of Single or PerSession, and I'd really like to have a clean way to do this in partial trust. I suppose that worst case scenario I can use the extensibility features of WCF to add session ID on the client side and use that to resolve the instance on the server, but do any of you have a better way?