Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
38 Points
23 Posts
Feb 17, 2012 07:03 PM|LINK
In the wcf version I was passing XDocuments back and forth between my server & httpclient by doing
new HttpRequestMessage() { Content = new StringContent(doc.ToString()) } and then usign ReadAsStreamAsync() to pull it out on the server side
As of the beta this no longer works. What is the recommended way to do this?
chrisortman
Member
38 Points
23 Posts
Passing XDocument as message content
Feb 17, 2012 07:03 PM|LINK
In the wcf version I was passing XDocuments back and forth between my server & httpclient by doing
new HttpRequestMessage() { Content = new StringContent(doc.ToString()) } and then usign ReadAsStreamAsync() to pull it out on the server sideAs of the beta this no longer works. What is the recommended way to do this?