Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
758 Points
242 Posts
Feb 17, 2012 08:47 PM|LINK
Ah, I see. Model binding isn't working on HttpRequestMessage in the method parameters in the beta, though I think that is coming again. Use this.Request property on the ApiController. See this thread: http://forums.asp.net/t/1770894.aspx/1?request+Content+ReadAsync+Result+returns+null.
panesofglass
Participant
758 Points
242 Posts
Re: Passing XDocument as message content
Feb 17, 2012 08:47 PM|LINK
Ah, I see. Model binding isn't working on HttpRequestMessage in the method parameters in the beta, though I think that is coming again. Use this.Request property on the ApiController. See this thread: http://forums.asp.net/t/1770894.aspx/1?request+Content+ReadAsync+Result+returns+null.