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

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...

Advertisement

Similar Posts

  • Windows Workflow Foundation (WF) more
  • CS Dev Guide: How to write a CSJob more
  • Tip/Trick: Show Detailed ASP.NET Error Messages to Developers (and only to Developers) more
  • New Article on how to write an IIS 7 Managed Module more
  • Improved Lightbox2 JS for Community Server more
  • Community Server 2.1 Now Available more
  • Tying MVP To the ASP.NET Event Model more
  • August 9th ASP.NET Link-Listing more
  • Accessing Embedded Resources through a URL using WebResource.axd more
  • Deployments made easy more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD