proxy setting for web calls


proxy setting for web calls

For use of Proxy connection in web calls some configuration needs to be set in web.config and the bellow code should be placed inside configuration element.


<system.net>
<defaultProxy>
<proxy
proxyaddress = "10.33.19.14:80"
bypassonlocal = "true" />
</defaultProxy>
</system.net>


Related Articles

ASP.NET 4 Brings Clean Web.config Files

Major configuration elements have been moved to the machine.config file in .NET 4 With the advent of the latest iteration of Microsoft's development platform and tools, the company took a number of steps designed to result in optimized desktop and Cloud applications for devs, simply by leveraging Visual Studio 2010 and .NET Framework 4. An illustrative example in this regard is the new Web.config file that can accompany ASP.NET 4.

More articles: Proxy setting Proxy connection Web.config

Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: