any example of using the framework behind a proxy

Topics: Argotic.Core
Dec 2, 2007 at 4:53 PM
Edited Dec 2, 2007 at 7:15 PM
I'm using the framework in an intranet and I'd like to know if there is any example of passing proxy authentication like:
WebProxy myProxy = new WebProxy("http://somesite :80", true);
myProxy.Credentials = new NetworkCredential("mylogin", "mypass", "mydomain");
rssFeed.proxy=myProxy (this doesn't exist).
Also the SyndicationFeedSettings has credentials but I have not seen any proxy possibility.
Any example on how to do this?
Dec 3, 2007 at 5:31 PM
Currently there is no native support for proxy using the Create method, but I will add it to the SysndicationFeedSettings for the next release.

For now, you can use WebRequest to retrieve the response stream stream using the .NET framework support for proxies, and then load the RssFeed instance using the response stream.

Thanks for bringing this to my attention, I will add proxy support as a feature.
Dec 3, 2007 at 8:28 PM
I arrived to a temporary solution of my problem setting the default proxy in the web config like:
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="http://proxy:80" bypassonlocal="True" />
I needed also to impersonate the user like:
<identity impersonate="true" userName="user" password="pass" />

Now it works.