Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Need to set Proxy for WCF-Client
November 13, 2010
I Need to consume an WCF Service from a C# Windows Application thru proxy. Can anyone tell me, how to do the same..?
Posted Date: November 14, 2010 Points: 5
try out following
Hope this helps.
Thanks & Regards,
Posted Date: November 24, 2010 Points: 5
WebProxy proxyObject = new WebProxy("your system IP", "port number"); //ex:("220.127.116.11",8080)
NetworkCredential objcred = new NetworkCredential("Login Name", "Password");//
proxyObject.BypassProxyOnLocal = true;// Disable proxy use when the host is local.
proxyObject.Credentials = objcred;
GlobalProxySelection.Select = proxyObject;
//You can put the code in page_load or else where.
To post reply
Related Questions Related Questions
How find IP address of the client in ASP.net
Abt client side technology
Recieving Mime attachments from client side in asp .net
Problem while invoking the external service in a Windows service or windows application - Proxy is generated using svcutil
Client / server application
Control client activity..
Client Server technology
Hidden Field Value assigned in client side and get in Server side
How to install softwares on client computer from server computer in Visual Basic.Net 2008.
Display InBox Image on Server Computer when Client Send Message to Server in VB.NET
Latest Forum Questions From The Same Category
To Achieve draw wave form from speaker outputs.
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend