This is something that I often get asked about. If you are interested in what a managed Web server on a device might look like check out the .NET Compact Framework Mobile Web Server Architecture whitepaper and sample written and developed by some fellow Aussies Nicholas Nicoloudis & Dennis Pratistha.