[Mono-aspnet-list] MemoryStream Web Service Return as Null

waxmidget waxmidget at gmail.com
Wed Jun 13 19:35:23 UTC 2012

I have a very simple web service that provides text from a database as a
MemoryStream. When I compile and run from Visual Studio 2010, I get the
data. When I compile and run on Mac, I get a null returned. Is there a
problem using MemoryStreams on Mono?

Unfortunately, my web service is on my companies internal network so I
cannot provide access. Here is how I am trying to call the web service.

private void btnGetDevConfig_Click(object sender, EventArgs e)
var mStream = client.GetDeviceConfig(textBoxGetDevConfig_email.Text,
textBoxGetDevConfig_pswd.Text, long.Parse(textBoxGetDevConfig_custID.Text));

var sReader = new StreamReader(mStream);
var msg = sReader.ReadToEnd();

Any help would be greatly appreciated!

View this message in context: http://mono.1490590.n4.nabble.com/MemoryStream-Web-Service-Return-as-Null-tp4649921.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list