---
title: "[Article/Code]: Easy Proxy handling through the ProxyFactory and ProxyInfo classes"
url: "https://osherove.com/blog/2003/11/4/articlecode-easy-proxy-handling-through-the-proxyfactory-and.md"
canonical: "https://osherove.com/blog/2003/11/4/articlecode-easy-proxy-handling-through-the-proxyfactory-and.html"
published: "2003-11-04T20:57:00"
updated: "2003-11-04T20:57:00"
tags: [".Net Original", "Cool Articles"]
author: "Roy Osherove"
description: "I had to make The Regulator support Proxy servers, so I dug in to how the WebProxy class works, and with a little help from Darren , I managed to get it up and running. In the process, I wrote a little helper class that…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# \[Article/Code\]: Easy Proxy handling through the ProxyFactory and ProxyInfo classes

By Roy Osherove November 4, 2003 In [.Net Original](https://osherove.com/blog/category/net-original), [Cool Articles](https://osherove.com/blog/category/cool-articles)

**Historical article** · Originally published November 4, 2003; technical details may be outdated.

I had to make [The Regulator](http://royo.is-a-geek.com/regulator) support Proxy servers, so I dug in to how the WebProxy class works, and with a little help from [Darren](http://weblogs.asp.net/dneimke/), I managed to get it up and running. In the process, I wrote a little helper class that eases the configuration syntax against this API. Here it is:

[Easy Proxy handling through the ProxyFactory and ProxyInfo classes](http://weblogs.asp.net/rosherove/posts/34670.aspx)

It can handle all the situations, starting from getting the default proxy settings up to providing the user/password login information setup. Hope it helps.

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Nov 5, 2003

    ### [\[Tool\] The Regulator 1.02a is out](https://osherove.com/blog/2003/11/5/tool-the-regulator-102a-is-out.html)

- Nov 4, 2003

    ### [\[Article X 2\] 2 more of mine published on MSDNAA](https://osherove.com/blog/2003/11/4/article-x-2-2-more-of-mine-published-on-msdnaa.html)

- Oct 29, 2003

    ### [Israel .Net web user group meets today - Design time programming in Vs.Net](https://osherove.com/blog/2003/10/29/israel-net-web-user-group-meets-today-design-time-programmin.html)

- Oct 27, 2003

    ### [Refactoring, FINALLY!](https://osherove.com/blog/2003/10/27/refactoring-finally.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
