You could also host an HttppListener in your winapp.

Something like [1]
Run it and locate your browser to http://localhost/myapp/ to test it.

HTH
// Ryan

using System.IO;
using System.Net;

class Program
{
  static void Main( string[] args)
  {
    using ( HttpListener hl = new HttpListener())
    {
      hl.Prefixes.Add( "http://localhost/myapp/";);
      hl.Start();
      while ( true)
      {
        HttpListenerContext c = hl.GetContext();
        using ( StreamWriter sw = new StreamWriter( c.Response.OutputStream))
        {
          sw.WriteLine( "<h2>Hello World, Request was a {0} from
UserAgent:{1}</h2>", c.Request.HttpMethod, c.Request.UserAgent);
        }
      }
    }
  }
}



On Wed, Jul 9, 2008 at 12:09 PM, Mark Nicholls <[EMAIL PROTECTED]> wrote:
> Hmmm
>
> I was hoping to do it as a windows app, ASP.net being a mysterious option
> under project that's never pressed....but I may risk it and press the
> magic button and see what happens.
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to