クライアントアプリケーションからxmlストリームを取得しています。そのストリームを直接解析する方法と、データセットにロードする方法は?
[WebInvoke(UriTemplate = "UpdateFile/{id}", Method = "POST")]
public bool UpdateTestXMLFile(string id, Stream createdText)
{
string filenamewithpath = System.Web.HttpContext.Current.Server.MapPath(@"~/files/" + id+".xml");
System.IO.File.WriteAllBytes(filenamewithpath, Util.ReadFully(createdText));
}
教えてください ..