WCF streaming files
        Posted  
        
            by Pinu
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pinu
        
        
        
        Published on 2010-03-15T21:15:40Z
        Indexed on 
            2010/03/15
            21:19 UTC
        
        
        Read the original article
        Hit count: 526
        
wcf
I need to pass a memory stream to the WCF server , how do i need to add this data type in my data contract. I will eventually need to convert this to a memory stream and pass it on to my service layer.
datacontact[DataMember]
 Stream str = null; 
        public Stream File
        {
            get { return str;   }
            set { str = value;  }
        }
© Stack Overflow or respective owner