Add a Web Server to your .NET 2.0 app with a few lines of code
Posted by: Rick Strahls WebLog,
on 04 Dec 2005 |
View original | NEW Bookmarked: 0 time(s)
As I’m still looking around for solutions to create some sort of easy mechanism of capturing all HTTP requests generated from IE, I ran across the HttpListener class in .NET 2.0. HttpListener is essentially a Web Server class, that’s super easy to use.
So figuring that an HTTP Proxy is really more or a less glorified HTTP server with a forwarding mechanism I played around with this a bit today and it seems to work in easily capturing output. Here’s a simple wrapper I threw...