To run a MVC or ASP.Net program on a Proxy Server to access Google Drive details, you have to only add some lines of code. Without adding these number of codes, you won’t be able to run the application.
So here is the way to run you application on a proxy Network.
Follow these steps to run the application:-
1) Add this package in your program:- using System.Net;
2) Then copy these codes in anywhere of your program.
WebProxy proxyObject = new WebProxy(“http://webproxy:80/“);
WebRequest.DefaultWebProxy = null;
3) Then run the application…