Click here to Skip to main content
15,897,371 members
Everything / Proxy

Proxy

proxy

Great Reads

by Mark Pelf
In this article, we build a practical reusable Logging Proxy in C#
by Ev Uklad
Add ability to track changes in a model class; use a proxy interceptor to execute a rule attached to a model property
by Ev Uklad
Another way of using proxies and interceptors from Castle Dynamic Proxy framework
by n.podbielski
Reflection.Emit is very powerful tool. It creates IL code and since C# is converted into IL too, we have the same functionality as in C# and even more. It is very powerful and at the same time very complicated. Because of that, it is worth discussing how and for what it should be used.

Latest Articles

by Ev Uklad
Add ability to track changes in a model class; use a proxy interceptor to execute a rule attached to a model property
by Mark Pelf
In this article, we build a practical reusable Logging Proxy in C#
by Michael Haephrati
Possible ways to use a Proxy Server within a Windows C++ application
by Ev Uklad
Another way of using proxies and interceptors from Castle Dynamic Proxy framework

All Articles

Sort by Updated

Proxy 

27 Jun 2023 by Ev Uklad
Add ability to track changes in a model class; use a proxy interceptor to execute a rule attached to a model property
19 Dec 2022 by omid amin javaheri
salam Ali this is your answer have good time
15 Nov 2022 by kSalih54
Hello can't use proxy in python selenium browser browser gives this error and then closes ("ERR_TUNNEL_CONNECTION_FAILED") my code: myoptions = uc.ChromeOptions() myoptions.add_argument(f'--proxy-server=http://'+ str(proxyc)) ...
16 Jul 2022 by redtrib3
I've recently started using Microsoft Edge since it is a lightweight browser in Linux, and i cannot find a way to configure the proxy unlike Firefox which was Damn simple. I want the Proxy to listen in localhost :8000. if you have no idea like...
9 May 2022 by Mark Pelf
In this article, we build a practical reusable Logging Proxy in C#
11 Jan 2022 by uwsdfw123
I'm using node-http-proxy to run a proxy website. I would like to proxy any target website that the user chooses, similarly to what's done by https://www.proxysite.com/, https://www.croxyproxy.com/ or https://hide.me/en/proxy. How would one...
7 Jan 2022 by sabin 2021
I am trying to send a restsharp post request thru a proxy server, but I cant figure out how to. What I have tried: I have tried this but it didnt workvar client = new RestClient("http://example.com") client.Proxy = new...
1 Jun 2021 by Ben Zimmer
So this is the popup that I'm referencing: https://i.stack.imgur.com/w0Abz.png Everything is working completely fine except this one pop up which I can’t bypass. Here is the code I'm using to connect to the url public void...
11 Mar 2021 by Tilier
So, I've tried really hard finding an answer to this, but I can't. Can someone please explain to me how to make a CORS proxy for an API? I am using api.scratch.mit.edu, and I want to use their format but for my own website, maybe scratchapi.com...
8 Mar 2021 by Bernhard Hiller
With Firefox, I use a proxy.pac file for ad-blocking. Since ad-blocking is an evil purpose, Google removed the support for proxy.pac files from Chrome. I'd like to be Bad Bernie and use my file with Chrome, too. Do you have any evil ideas how to...
31 Jan 2021 by Michael Haephrati
Possible ways to use a Proxy Server within a Windows C++ application
16 Dec 2020 by Dave Kreskowiak
This isn't a "code for hire" or "do my work for me" site, no matter how much you're willing to pay. Try Freelancer.com and get out your credit card. But, be warned, you get what you pay for.
16 Dec 2020 by nicolas volland
Hi, looking to pay for a solution to the following problem. I need you to develop some software for me. I would like this software to be developed for PC. I live in Dallas, TX, USA and want to play DFS ie. draftkings/FanDuel but TX is one of...
16 Dec 2020 by Gerry Schmitz
You "remote desktop" (RDP, Team Viewer) into a device / PC located in a valid area using a "roaming" device / PC. That's your "proxy".
27 Nov 2020 by Sacha Barber
404 points to unauthorized, I would download Postman and try it in there 1st. Try that before code
27 Nov 2020 by xhon
I'm on a proxy and I get a WebException while calling a method which should return HTTP response in JSON format. The error is the following: Server Error in '/' Application. 404 Description: An unhandled exception occurred during the execution...
23 Nov 2020 by xhon
I created a Rest web API and now I want to call the operations exposed by the API from a Proxy. My environment is Visual Studio, C#. As the operations that I exposed in the API share a part of the URL/endpoint ("api/NameOfTheController"), I...
23 Nov 2020 by Richard Deeming
customEndpointSegment does not appear to be a standard configuration element - the only match in Google is this question. You have presumably written your own configuration section to handle this element. You will need to use that section to...
17 Nov 2020 by xhon
I'm creating a web service by using WCF (Windows Communication Foundation) and Visual Studio 2019. I'm reusing the Business Logic Layer, the Data Access Layer and the Data Model of an old solution. I already created a new WCF service...
3 Nov 2020 by Ev Uklad
Another way of using proxies and interceptors from Castle Dynamic Proxy framework
5 Feb 2020 by amatecki
Service unit for auto reloading Docker containers running web apps behind nginx reverse proxy server after renewal of Let's Encrypt certificates managed by Certbot on Linux VPS
4 Dec 2019 by Richard MacCutchan
You need to complain to the people who sold you those products. But this is really not the right place for your question. Google will find you better commercial products which you can evaluate for yourself.
18 Feb 2019 by LiQuick
Dear readers, For a project I need to expose a third party API partly to the public. To do this I thought I could easily get in incoming request, reroute it to the API, get response back and deliver response to the client. Pretty simple concept in theory, but somehow problematic. Partly the...
18 Feb 2019 by Derek Viljoen
Run Postman against your service API and see what it gives you. Try to duplicate exactly what your proxy is generating (look specifically at the HTTP headers). You can verify this in Fiddler. Are you sending content-type, and if so what is it set to? Are you sending an 'accept' header in the...
7 Nov 2018 by Yount_0701
HTTP has CONNECT / GET / POST ... methods. If my client program pass through a proxy and access the web. it looks like : my_client --> proxy --> web server. OPENSSL is a powerful lib to deal with HTTPS(SSL/TLS).I'm trying to use this lib to access the web server through the middle side proxy...
30 Oct 2018 by Yount_0701
Hello everyone! I'm trying to use openssl lib to access some web and analyse the http json response.the earlier test is ok until it send http request through a http proxy. i'm not familiar with this lib, which sounds very powerful. and i'm sure that the proxy problem should be considered by the...
24 Sep 2018 by Sni.DelWoods
I'm consuming a web service which is bound to a specific IP adress. e.g. https://service.ExternalCompany.com/GetInformation allows only request from (185.10.20.30) I'm creating a windows application which should be used on multiply computers and networks. So the webservice rejects the request...
28 Aug 2018 by Herboren
I have been given a task to create a custom search engine using gcse. I have also been given 300+ websites/domains on a white-list, but due to the sheer strength of our proxy, not all sites on the white-list appear to be accessible. I tried creating a tool to get the redirect of the URL, and...
29 Jan 2018 by Nick Polyak
Roxy is a powerful new Roslyn based proxy generation packages that facilitates separation of concerns, creating adaptors and smart mixins.
18 Dec 2017 by aleksvarga
So I was playing around with HttpWebRequest & HttpWebResponse trying to make a few connections with different proxies. And I stumbled on to a weird issue. I tried making a HttpWebRequest to http://cmyip.org with the Proxy "45.55.27.246:8080" and it went just fine, I looked through the...
10 Oct 2017 by Sabarinathan A
Run .NET Core 2.0 SDK from Corporate Proxy
3 Oct 2017 by DSomesh
My application uses some proxy which is set at global level.So,even after doing httpurlconnection.openconnection (not httpurlconnection.openconnection (proxy) which takes proxy as parameter) ,the connection is made through the proxy. I would like to know if I can not use the default proxy in...
3 Oct 2017 by Dave Kreskowiak
That is entirely up to your on-premises network people. You either have to use a proxy or you don't, or you may be able to get an exception setup in the proxy configuration for the workstations using your app.
15 Aug 2017 by User1454
Hi all, I need to connect my application to outlook with EWS service through URL. I have set all the values properly but it throws an error "502-bad-gateway-error-happen". Please help where am I doing wrong. How can I check the connection is established or not? What I have tried: ...
30 Jul 2017 by GPrasad2050
Hi , If you are using IIS 8 you can try below setting IIS 8.0 The enableProxyMode attribute was added to enable you to block requests from a client that connects through a proxy. The denyAction attribute was added to specify the default deny mode response that IIS sends back to clients. ...
30 Jul 2017 by User 11061201
I want my ASP.net written WEB application to deny entrance to those clients that connect over a Proxy. I want thus to stop automated BOTS.
1 May 2017 by GoobyGuy1
So im trying to connect to the internet using my WebBrowser control in C# and what I do is that I change the Registry Editor to change the Proxy settings in Internet Explorer but it doesnt actually apply the proxy server until I restart the application. For example.. 1. I start the application...
1 May 2017 by Dave Kreskowiak
You're hacking the setting directly into the registry, but the application doesn't know this stuff changed. The WebBrowser control only loads the proxy information once, when the control is created. You have to change the proxy information using the functions in WinInet.dll, example of which...
30 Apr 2017 by GoobyGuy1
So I came up with this idea in how to check if a proxy is http / https & alive or not. It's a quick fix and not at all optimal in reality, but I couldnt for the life of me find docs about testing proxies online so im asking here. What im doing is this, im putting my code into a try catch...
15 Apr 2017 by RickZeeland
I am not a frequent user of WireShark, and as the user interface has changed significantly I can't tell exactly how, but in the past I defined a filter for the ip address e.g. `ip.addr eq 127.0.0.1` and then started capture. When you see a line in the log that is interesting, you can right-click...
15 Apr 2017 by Chrisstone07
Im developing an Http proxy server for a UWP application(C#) but face issues with requests sent and received by a creating a socket.I first create a socket stream object and then listen for Http requests sent by send-async to socket stream listener.However i face Http exceptions and sockets...
30 Mar 2017 by sopy7
I'm trying to pass system default proxy from windows application to windows service. While passing the value I get the below error.//Type 'System.Net.WebRequest+WebProxyWrapper' cannot be serialized. Consider marking it //with the DataContractAttribute attribute, and marking all of its...
27 Feb 2017 by Nika Qantaria
I'm trying to develop an application, where user can load a proxy list and software should navigate to a page with different IP's. I'm using some registry settings to do that. But the problem is that when i try to change the IP address it remains the same, in "Internet Options" the IP has...
27 Feb 2017 by Jochen Arndt
There may be two reasons for such behaviour.The first is that the page is not requested again but got from the cache. This can be only avoided by clearing the cache (see How to clear the cache when your application hosts a WebBrowser control in Visual C# .NET[^]).The second reason might...
21 Jan 2017 by Member 12956789
Gentle Men Programmers!If you add the following anonymous web proxy url prior to your chosenURL then you can view that URL anonymously via thehttp://anonymouse.org web proxy:
21 Jan 2017 by Afzaal Ahmad Zeeshan
All you need is to logout of Google account. The search that you will perform will be anonymous. They will use cookies, or other stuff to record your current history, but that will not affect the account. Another way, go private (incognito), then search. Basically, any search you perform is...
8 Dec 2016 by n.podbielski
Reflection.Emit is very powerful tool. It creates IL code and since C# is converted into IL too, we have the same functionality as in C# and even more. It is very powerful and at the same time very complicated. Because of that, it is worth discussing how and for what it should be used.
22 May 2016 by BladeLogan
I am trying to connect to the internet through a proxy, more specificlly, this site to test if the proxy is working AZ Environment variables 1.04 As you can see down below.. It is NOT connecting using the proxy I set it to, and as you can see in the code below, it should be.. I used the...
22 May 2016 by an0ther1
You are not setting your Proxy server in the webBrowser1_Navigating event handler, only in your Form_Load event handlerAdd the code to the webBrowser1_Navigating event handler to make your HttpWebRequest use the ProxyWebProxy myProxy = new WebProxy(proxyBox.Text);myRequest.Proxy =...
21 May 2016 by BladeLogan
I tried using the debugger and it runs through just as it should I am trying to use a proxy to connect through IExplorer. and yeah well.. its not using the proxy I am providing it and its not giving me any errors aswell.. Did I miss...
26 Jan 2016 by Chris Copeland
A managed library to launch and/or connect to the Tor network for SOCKS5 communications, and for middle-man proxy hosting.
13 Jan 2016 by saifmossel
Hi I wrote as follows for post param. formData = m_curl.BuildForm(_T("bscreenview"), _T(""), _T("bscreenssn"), _T(""), _T("bscreenbserial"), _T(""), _T("bscreendomain"), _T(""), _T("bscreenano"), _T(""), _T("bscreentype"), _T(""), _T("hashparams"),...
13 Jan 2016 by Jochen Arndt
"HTTP/1.1 200 Connection established" is the initial response line (status line) from the server to your request. Depending on the request it is followed by the header lines and the message body (which you are interested in). You may parse these information to know if the connection was...
13 Jan 2016 by Aescleal
CURLOPT_WRITEFUNCTION is your friend. The function you give libcurl when you set this option is called whenever you get a response from the server after performing the operation.
12 Jan 2016 by saifmossel
Hi i am building a simple c++ program using http/https proxy. I tried it to use the MFC CInternetSession class. But it didn't work over many proxy servers. So I tried it to use the libcurl. It seems that working well. But I am tired. When i try to post the form to website. I saw the somethings...
27 Dec 2015 by Member 12230798
Hi!I'm trying to get the html code of a website via some proxy server so that I can hide my IP address and increase response speed when doing several webrequests. However my code is not working and keeps giving errors like:"The remote server returned an error: (500) Internal Server...
11 Dec 2015 by Oliver Bleckmann
sounds like a load blancing scenario, search google for "nginx node.js load balancing"
21 Nov 2015 by Martin Jarvis
Cleaner WCF Proxy usage with DynamicTidyProxy
21 Oct 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Not a specific question. Next time please come with a specific programming issue.
19 Oct 2015 by OriginalGriff
It doesn't quite work like that.We do not do your work for you.If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.But be aware: you get what you pay for. Pay peanuts, get monkeys.
15 Oct 2015 by Member 10077458
I wanted to create a proxy server just like fiddler. the main point is, this proxy will be deployed as HTTPS(SSL encripted) only.I am successfully able to create a proxy(in c#) which is intercepting all my web traffic from the browser(including https sites). But i am facing difficulty when...
8 Oct 2015 by Sergey Alexandrovich Kryukov
The question does not seem to make any sense. There is no such thing as "addressing WSDL.exe". This is nothing but some development tool, an application use to generate code for XML Web services and clients: https://msdn.microsoft.com/en-us/library/7h3ystb6%28v=vs.100%29.aspx[^].I cannot...
8 Oct 2015 by davidkhll
I want to generate with the VS 2015 command prompt an .asmx file based on a .wsdl and .xsd-schema file. I was trying to follow all the instructions of how to generate a .asmx for building a web service file with wsdl.exe, but unftorunately i got all the time the error message within VS 2015 C#,...
5 Oct 2015 by User 11836473
I'm trying to do a multithreaded proxychecker, however GetResponse throwing errors. I'm stuck please help.using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Linq.Expressions;using System.Net;using System.Text;using...
29 Sep 2015 by Leo Chapiro
First of all see the short answer (nope) of CPallini above ;)The long answer comes here.A proxy is a design pattern that allows you to provide an interface to other objects by creating a wrapper class as the proxy. The wrapper class, which is the proxy, can add additional functionality to...
29 Sep 2015 by CPallini
It looks you are out of luck[^].
29 Sep 2015 by Member 11833796
I am confused about dynamic proxy mode,which is a kind of proxy mode.How to realize dynamic proxy mode in C++ language?Please give me an example about dynamic proxy in C++ language!
26 Aug 2015 by oamirloo
hi every body.I have a problem.I need access to a web site with clicking user in my web application via Proxy without user add any setting in own browser.how can implement this with c# in my web application.any control or tools exist for doing this in transparent i use after user...
28 Jul 2015 by Sergey Alexandrovich Kryukov
The question makes no sense. Limiting Internet is bad. If "protection" is good, you cannot solve the problem with technical methods, if it is bad, you could probably bypass it. The real solution is to oppose the limiting policies.—SA
8 Jul 2015 by surifoll
![enter image description here][1]i'm new to soap, i used wsdl tool to download the .cs file of the web service buh i two issues:1. i received this error most of the time i tried to make call to the service that: " Unable to automatically step into the server. Connecting to the...
7 May 2015 by Member 11659290
i am developing a proxy programin java.It works properly for some sites.It doesnt work for some site which enforces SSL or which respond with 302 found. Tell how can i fix that/* * To change this license header, choose License Headers in Project Properties. * To change this...
28 Apr 2015 by pierrix
The answer is here :https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxyThank you.Pierre.
27 Apr 2015 by pierrix
Hi,I've the following error problem when I use Meteor, on Nitrous.io, behind the proxy of my Enterprise :WebSocket connection to 'ws://myproject-201976.euw1-2.nitrousbox.com/sockjs/608/xidbbqpk/websocket' failed: Error in connection establishment: net::ERR_TUNNEL_CONNECTION_FAILEDI...
21 Apr 2015 by Zon-cpp
Hi,In my windows form project, I used IWebProxy to config proxy credential, like as this solution that helps me:http://stackoverflow.com/questions/186800/is-it-possible-to-specify-proxy-credentials-in-your-web-config[^]but in a XP system I have this error (when the Application wants to...
19 Apr 2015 by Zon-cpp
This solution is realy great :http://stackoverflow.com/questions/186800/is-it-possible-to-specify-proxy-credentials-in-your-web-config[^]
18 Apr 2015 by Kornfeld Eliyahu Peter
Obviously default credentials can't go through the proxy...You have two options:1. Add a DLL that does the authentication via module element: https://msdn.microsoft.com/en-us/library/6w93fssz(v=vs.110).aspx[^]...The DLL must contain a class implementing IWebProxy[^]2. Do all the proxy...
18 Apr 2015 by Zon-cpp
Hi,Does anyone know how I can set up a system wide proxy in Windows 7 and XP? I have a windows form project in C# that uses web service via internet.in my system it works correctly. But in another system with proxy it doesn't connect to web service! Althogh the browsers in this system...
3 Apr 2015 by ‫محم د‬‎
you should disable all proxy on your pc cant use with proxy ...
2 Apr 2015 by wizshrutz
Hi,I am new to Selenium and trying to start an instance of webdriver with a proxy.I did a bit of searching and found that its best to set the system proxy and let the selenium browser detect the proxy on its own.While starting the instance of the Webdriver I encountered an error...
28 Dec 2014 by Member 11303078
I had make an reverse proxy using IHttpAsyncHandler class that listen on the iis request and according to the incoming url path i send a request to another site public class ReverseProxy : IHttpAsyncHandler{ public bool IsReusable { get { return...
30 Nov 2014 by Volodymyr_
Moved this question from Stack Overflow since guys doesn't like opinion based questions. Hope I will find the answer here.Problem: I want to download music from social network server (hosted on another domain), which doesn't support CORS, JSONP and some other stuff to make my life more...
27 Oct 2014 by Suvabrata Roy
Hi,You need to check what is your max request length at web Config.Ref : http://msdn.microsoft.com/en-IN/library/e1f13641(v=vs.71).aspx[^]Second : RFC doc about web Socket Ref-> http://msdn.microsoft.com/en-IN/library/e1f13641(v=vs.71).aspx[^]Go through the answer you will find...
27 Oct 2014 by GAJERA
Hi All,I have been created the proxy to trace websocket traffic .It work fine when small amount data has been transferred. In other case when transfer big amount of the data I received data in difference frame (chunk) instead of one.I need the big data as single frame (chunk) Is there...
29 Sep 2014 by Tim Carmichael
Setup NTP on the proxy server to sync with the wider world and tell the isolated machine to use the proxy for NTP service.
29 Sep 2014 by ilostmyid2
my computer is connecting to the internet via a proxy server. i want to keep Windows 7 time accurate in such a condition. how can i?
24 Sep 2014 by adityaswami89
Proxy design pattern
6 Sep 2014 by OriginalGriff
The purpose of a proxy server is to restrict what you can and can't access - and what the outside world can access on your side of the proxy. They also can be used to cache frequently used pages and so forth, but mostly they are there to enforce corporate acceptable use policies.Any attempt...
14 Aug 2014 by Christian Amado
Inside your web.config... Hope it helps.
13 Aug 2014 by $ultaNn
i have a website on my server and my company user Proxy server when i try to get IP address from client machine its giving me Proxy IP address not client machine IP address i want to put Proxy server credential in my application to bypass the proxy and get the client machine IPplease...
25 Mar 2014 by VanTheamoon
Dear Sir,You can see at this ref. article, maybe advantage for youhttp://www.oracle.com/technetwork/articles/soa/lik-keung-osb-edn-2104849.htmlGood Luck,
20 Mar 2014 by ham3d
I have created SOCKS proxy server using delphi that connecting through an HTTP proxy. It's work except when using SSL from client.The project was embed on my project at http://www.davicode.com/2014/02/new-release-2014-tun2socks-gui-v220-new.html[^].I need solution how to capture SSL...
11 Mar 2014 by mbarbac
Implementing the Repository and Unit of Work Patterns dynamically using Kerosene ORM
6 Mar 2014 by Harikrk
I have a WCF WorkflowService hosted in IIS. I have another WCF service hosted in seperate service in IIS. from WCF service I am invoking the workflow using proxy. Is there anyway to use workflowcontrolendpoint to terminate the workflow using url. I want this way because i want to control the...
23 Feb 2014 by tieugiang94
I'm building an Portable Class Library project. I seem not support WebProxy ( I'm preferenced the System.Net, i added Using System.Net ) cookieContainer = new CookieContainer();handler = new HttpClientHandler{CookieContainer = cookieContainer,UseCookies = true,UseDefaultCredentials...
10 Feb 2014 by User 10534400
I am writing tcp proxy server and i have trouble. After i caught request from client, i use such code:var remoteStream = myRerouting.GetStream();using (var clientStream = myClient.GetStream()){ remoteStream.Write(httpRequest, 0, httpRequest.Length); ReadSend(myRerouting.Client,...
5 Feb 2014 by Sergey Alexandrovich Kryukov
The discussion in comments looks going well beyond the format of Quick Questions & Answers. You really need to design the server and client parts thoughtfully from the very beginning; so focusing on just your questions may not be so helpful. For some very relevant ideas, please see my past...
4 Feb 2014 by User 10534400
Hi, all!I am writing proxy server on asynchronous sockets for educational purposes and stuck at the point, that my browser treat some web-sites' response different way if i don't use the proxy, for some of them i don't see response at all, though i see in console, that request was sent and...
29 Jan 2014 by Pete O'Hanlon
Unfortunately, there isn't a straightforward solution. I've seen samples that rely on the overriding the Navigate method which works when you directly load the page, but fails when the user clicks a hyperlink in the returned document. Fortunately, there's a thorough working solution here[^].
29 Jan 2014 by BenJBaker╣
I've been trying to make a proxy web browser in a c# application so far I have only managed to do this by changing the system registry to use a proxy, this is not the way I want to do it as that effects all browsers on the PC i want it to be within the application. I have tried this but it is...