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 ecscpe character

WCF ecscpe character

Scheduled Pinned Locked Moved WCF and WF
csharpwcfcomlounge
2 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.
  • 1 Offline
    1 Offline
    1eyhk1
    wrote on last edited by
    #1

    hello I'm in process of wiring down many object hierarchy developed by other guys in my firm - some are quite large and I intend to convert them to byte[] and then compress via System.IO.Compression[^]. But after compression WCF seems to have screwed up due to special escape characters. I Googled but cannot find any documentation - I need to have the exact list of escape characters but not sure why it's so difficult to find. Thanks http://social.msdn.microsoft.com/Forums/en/adodotnetdataservices/thread/9559c893-aac1-438b-b71e-c132d09c0f86[^]

    1 1 Reply Last reply
    0
    • 1 1eyhk1

      hello I'm in process of wiring down many object hierarchy developed by other guys in my firm - some are quite large and I intend to convert them to byte[] and then compress via System.IO.Compression[^]. But after compression WCF seems to have screwed up due to special escape characters. I Googled but cannot find any documentation - I need to have the exact list of escape characters but not sure why it's so difficult to find. Thanks http://social.msdn.microsoft.com/Forums/en/adodotnetdataservices/thread/9559c893-aac1-438b-b71e-c132d09c0f86[^]

      1 Offline
      1 Offline
      1eyhk1
      wrote on last edited by
      #2

      resolved! I embed objects as byte[] wrapped inside xml MyLib.Xxx ... serialized byte[] goes here Initially, byte[] goes under was formatted using Encoding.ACSII.GetString This screws up because of funny character. All is fine after replacing Encoding.ASCII.GetString with Convert.To/FromBase64String()

      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