Today I finished a new class for the Networking-part of the .NETMF Toolbox.
It now includes an HTTP Client.
One downside I found is that the memory of a Plus is limited. Some HTML pages are too big to load into the memory. Often there are tricks to avoid that, for example read a summary of the items through an RSS feed, or identify yourself as mobile device.
Why is a HTTP Client useful? Well, let me give an example of practical use.
As you might now, I'm forum moderator. For this job I need to give some users some special attention. Therefor I wrote the attached example. It helps me keeping the boards nice and clean! See this image of how it works:
GeorgiPostedSoFlashTheLED.png 51.73KB 243 downloads
(this is an inside joke, read here if you want to understand it) :-)
Besides the GeorgiPostedSoFlashTheLED-Class, the full project can be downloaded at http://netmftoolbox.codeplex.com/
Interesting features:
- Cookie+Session support
- HTTP Authentication support
- Takes care of the Referrer-header for you (also useful when using sessions)