Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. WCF limitations in partial trust XBAP...is there a way to have my cake and eat it?

WCF limitations in partial trust XBAP...is there a way to have my cake and eat it?

Scheduled Pinned Locked Moved WCF and WF
csharpwcfsysadminquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elibriscoe
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups