Welcome to the Xceed Community | Help
Community Search  
More Search Options

Base64 encoding

Sort Posts: Previous Next
  •  06-03-2008, 10:31 AM Post no. 12642

    Base64 encoding

    I'm quite interested in the upload for silverlight control, and the base64 encoding feature got me curious. In which scenario would this be necessary? Do I need it to upload any binary file?
  •  06-03-2008, 5:08 PM Post no. 12648 in reply to 12642

    Re: Base64 encoding

    The HTTP specification requires that all the content of a request be ASCII characters.  Some browsers implement this constraint, others do not.  The DataEncodingMode property is there to determine if encoding should be use or not.  If the browser used for the Silverlight application enforces this specification, it will encode the data with the use of Base64, if the property is set to Auto. 

    You can force the property not to encode, or to encode all the time.  But if you force it to not encode, and the browser requires it, then the upload will not work.

     


    André
    Software Developer
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.