I was trying to upload a file to azure blob from an MVC application, which is running in my local emulator.
Then i got a proxy authentication issue.
To solve this, go to your web.config and add this (In windows application add this in app.config)
<system.net> <defaultProxy useDefaultCredentials="true"> <proxy bypassonlocal="True" usesystemdefault="True"/> </defaultProxy> </system.net>