I'm looking for a open source .Net HTTP proxy library. Basically I want to develop something like Fiddler (so much lighter with less features).
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
- Should I use static function in c# where many call
I've used the Mentalis Proxy at work: http://www.mentalis.org/soft/projects/proxy/
It's not been touched for a while so there may be a few bugs.
Licence details are here: http://www.mentalis.org/site/license.qpx
Mentalis doesn't handle non-ASCII very well. The core proxy engine of Fiddler is called "FiddlerCore," now available as a .NET class library: http://www.fiddler2.com/fiddler/Core/
There is URLRewriter.NET, a free open-source component for IIS/ASP.NET.
As the name suggests, it's an URL rewriting component, but it has also proxying capabilities. With a simple line like this in the configuration file
you could easily use it as proxy.