Proxy configuration

Feb 21, 2011 at 10:07 AM
Edited Feb 21, 2011 at 10:08 AM

Hi folks!

I think It could be useful that you can set your proxy configuration because there are many companies that have one :)

Just a thought.

Cheers!

Aug 12, 2011 at 5:43 AM

Yes, I am also unable to use this tool as internet access requires proxy configuration in my company. Too sad we don;t have this feature.

Mar 29, 2012 at 10:28 AM

Hi Guys,

If you download the source code and modifiy the method "OpenAccount" in the class "StorageAccountViewModel" as follow:

 

 

public bool

OpenAccount()

{

 

if (CloudStorageAccount == null

)

{

 

try

{

 

IWebProxy webProxy = WebRequest

.GetSystemWebProxy();

webProxy.Credentials = System.Net.

CredentialCache

.DefaultNetworkCredentials;

 

WebRequest

.DefaultWebProxy = webProxy;

 

if (Account.Name == "DevStorage"

)

{

CloudStorageAccount =

CloudStorageAccount

.DevelopmentStorageAccount;

}

 

else

{

CloudStorageAccount =

new CloudStorageAccount

(

 

new StorageCredentialsAccountAndKey

(Account.Name, Account.Key), Account.UseHttps);

}

 

return true

;

}

 

catch (Exception

ex)

{

ReportException(ex);

 

return false

;

}

}

 

return true

;

}

 

The code will use the default proxy you have configure in your IE.

 

May 14, 2012 at 3:29 PM
  <system.net>
    <defaultProxy enabled="true" />
  </system.net>

You can also add the above entry in the config file  (AzureStorageExplorer.exe.config) in the install folder.

This will make the tool use the default, Internet Explorer proxy.
Oct 30, 2014 at 1:23 AM
That works fine unless you are behind an authenticating proxy. The app wont authenticate with the proxy (someone else has started a discussion on this, but got no response).

I had to switch from an authenticating proxy (windows credentials) to one that is restricted by IP address...