"Alexandre Brisebois"
How can I have my application running on
port 80 while ISS and other applications also
run through port 80?
for remoting (without hosting it in IIS) and or
simply using sockets.
With Vista's IIS7 (in versions Home Premium
and up) and with Vista's Http.sys 2.0 (in all
versions) this is very easy to do! Just use the
System.Net.HttpListener class!
Now some Vista Beta testers should test all
the above and let us know if Microsoft did fix
this IIS 5.1 and IIS6 bug in IIS7 and Http.sys
2.0 (Home versions are out too) before the
beta tests are over with in Vista!
Http.sys 2.0 in Vista is like a full web sever
in itself - where as Http.sys 1.0 (Windows
XP SP2 and Windows 2003) is more like a
mini web server!
Not sure - but does the new .NET 3.0 objects
install http.sys 2.0 on Windows XP? Testers?
But even right now, with just Windows XP SP2
Home edition (and higher) and with .NET 2.0 a
user can access many different Windows
processes using the same http.sys 1.0 port!
But not with non http.sys aware programs like
the web servers IIS5.1 or Apache!
Say even Windows PowerShell (the new .Net
command line shell) can access Http.sys
(even on Windows XP SP2 Home Edition):
PS C:\Test1> get-wmiobject win32_operatingsystem |
select-object Caption, CSDVersion
Caption CSDVersion
------- ----------
Microsoft Windows XP Home Edition Service Pack 2
PS C:\Test1> [System.Net.HttpListener]::IsSupported
True
PS C:\> $listener = new-object System.Net.HttpListener
PS C:\> $listener.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True False HttpListener
System.Object
So if you are using Windows for modern
HTTP / HTTPS usage, then learn how to
use the Windows Http.sys object!