The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
dottorduino's Content
There have been 10 items by dottorduino
(Search limited from 25-September 23)
Hi folks,
I can't find String.Replace in my NetDuino Plus project. This is the error:
"String does not contain a defenition for 'Replace' and no extension method...bla bla bla"
I use .Net MF 4.1
As far as i understand it the standard HttpWebRequest .net dev's are familiar with, relies on streams to operate, which although technically possible in netmf is very memory intensive and so is either not implemented or max's out the available ram very quickly. However the netmf toolbox http client takes a different approach and has worked very successfully for myself including long-polling scenarios.
Nak.
Hi Nak,
thank you for your reply.
This toolbox is awesome!
@Stefan, is their a use case for adding additional info to the XML comment for Simple socket that entering localhost here means you are connecting to the NETMF Board the client is running on, or similar words to that effect?
Nak.
Just for dummies
Now I'm fighting with the CLR_E_OUT_OF_RANGE error at runtime!!!
Maybe the string for the request is too long?
ContentEncoding: 'HttpResponse.ContentEncoding threw an Exception of type 'System.NullReferenceException'
ContentType: 'HttpResponse.ContentType threw an Exception of type 'System.NullReferenceException'
For localhost it makes sense, since localhost refers to the Netduino itself, which doesn't listen on port 80.
...this was the problem
I'm porting from a Console Application where, of course, I refer to my IIS using localhost and I forgot this "little" difference between localhost on a PC and localhost on simulator -.-