Log in

View Full Version : Managed Code Web Server for Windows Mobile


Mike Temporale
08-27-2007, 03:30 PM
<div class='os_post_top_link'><a href='http://www.binaryrefinery.com/main/PermaLink,guid,bd320576-8480-45d2-9164-501c48921d08.aspx' target='_blank'>http://www.binaryrefinery.com/main/PermaLink,guid,bd320576-8480-45d2-9164-501c48921d08.aspx</a><br /><br /></div><p>&quot;Windows CE ships with a web server component, but I figured for experimentation what I require is a simple managed code Web Server that lets me deliver content from a .Net Compact Framework application hence giving me a foundation to host web-services. My web server needs to be fast, solid and capable of being easily extended. What I didn't need to worry about too much was coping with heavy loading as I envisage its just going to be used 'occasionally' by a small number of clients. So by adapting the socket server sample that ship with the .Net MicroFramework I was able to produce the following multi-threaded light weight web server.&quot;</p><p><img alt="" border="1" src="http://images.thoughtsmedia.com//spt/auto/1188223262.usr3.png" /></p><p>Ok, so this isn't for everyone.&nbsp; In fact, it's not for very many people at all.&nbsp; There are a lot of possibilities available when you're running a web server on a Windows Mobile device.&nbsp; Given some time, we could see applications built from it.&nbsp; If you want to run a mobile web server, Richard Jones has posted the source code along with a lot more details on his <a target="_blank" href="http://www.binaryrefinery.com/main">blog.</a></p>