.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

reverse proxy

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :ASP.Net

A web server sends a request to B for example: url: http://www.aa.com/page/a.aspx?a=1&b=2&c=3
web server B is the reverse proxy server is directed to the 

View Complete Post

More Related Resource Links

CRM 4.0 IFD to work through ISA 2004 - How to configure the ISA 2004 reverse proxy/web publish rule


We have crm 4.0 with IFD 4.0 configured in a lab environment.  We are trying to get IFD with the Outlook client to work properly before putting on production environment.  The Outlook client always prompts for login and fails to authenticate while on the public Internet.

We have an external DNS entry for the CRM Lab instance.  The same DNS entry is also internal but with an 10.x.x.x IP.   We are just using Port 80 no SSL at this point.

Internally we can configure a Outlook client for the CRM lab it works perfectly and getting there via the WEB also works.  When testing with the same PC on the public Internet the Web based client prompts for login, once we put in the credentials it works via the Web CRM Interface.  But for the Outlook client it again prompts for login but fails even with valid credentials while on the public internet.

I believe its the Reverse Proxy rule on the ISA 2004 cluster for the CRM lab that is not right.   Should we be using Windows Integrated authentication?  Should "Requests appear to come from the Isa Server be checked" or "Request appear to come from original sender"  I've tried both and they didn't work.  My understanding is that when it's working it should seamlessly connect to the CRM server with the Outlook client up. 

Any hel

Authenticating users across multiple farm applications - Reverse Proxy?



Here's the scenario - a customer has multiple SharePoint applications, all using Windows authentication, co-existing in a single farm. Domain accounts were created in the self-contained SharePoint domain for thousands of external users across lots of different outside companies.

URL names for the applications are in the format:


i.e. they are all in the same internet facing domain.

These external users access different applications in the farm (there are links in each app to the apps), and need to logon multiple times - once for each app. The customer would like to implement a solution that allows them to keep the apps separate, but allow the users to login once. Since the applications were developed by different companies, and to keep things simple, a solution that is transparent the various applications would be preferable.

Additionally, when these external users change their passwords or access documents via Word, Excel, there are often access issues and lots of additional password prompts, causing an administrative nightmare. User accounts number in the tens of thousands, so support requests pile up fast.

I've seen people discussing similar (but not identical scenarios) where the solution involved a "secure reverse proxy" (Such as Micros

SharePoint2010 Foundation with Apache as Reverse Proxy


We have an Apache (Redhat 4.6, Apache 2.0.52, libxml2 2.6.16) as a reverse proxy. Authentification and most of the functionality is o.k. But on SharePoint2010-side he has minor problems: - Pulldown menu doesn't work - List editings menu has errors
There seems as Reverse proxy can't extract the hard coded of the SharePoint Server within the Sharepoint-Javascript option value='http://Sharepoint-Server-Domain/Site Collection' > This Site onMenuClick="javaScript:CoreInvoke('TakeOfflineToClientReal',1, 1, 'http:\u002f\u002fSharepoint-Server-Domain\u002fSite Collection'
When using SharePoint Foundation2010 with IE8 get following JS-error message
Meldung: Accessd denied Zeile: 2 Zeichen: 107989 Code: 0 URI: https Sharepoint-Server-Domain/_layouts/1033/core.js?rev=c3ROI4x%2BKHVTMbn4JuFndQ%3D%3D Meldung: Accessd denied Zeile: 2 Zeichen: 7849 Code: 0 URI: https: Sharepoint-Server-Domain/_layouts/inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA%3D%3D

Any help or similar experiences welcome

deploying to msdeploy does not support a proxy server


I am trying to deploy through webmatrix but my system Proxy server configuration is not being used. I assume that webmatrix would detect the proxy server settings and use that for the msdeploy calls under the hood. Can anyone confirm this is a know issue? 

Proxy Detection: Take the Burden Off Users with Automatic Configuration in .NET


Proxy settings can be a real pain in the neck and very frustrating for users to configure properly. In this article, Durgaprasad Gorti discusses how you can use automatic proxy configuration via script and how it works in the Microsoft .NET Framework 1.1 and 2.0.

Durgaprasad Gorti

MSDN Magazine August 2005

Obfuscate It: Thwart Reverse Engineering of Your Visual Basic .NET or C# Code


One of the advantages of the .NET architecture is that assemblies built with it contain lots of useful information that can be recovered using ILDASM, the intermediate language disassembler. A side effect, though, is that someone with access to your binaries can recover a good approximation of the original source code. Here the authors present program obfuscation as a way to deter reverse engineering. In addition, they discuss the different types of obfuscation technologies available and demonstrate the new obfuscation tool that is included in Visual Studio .NET 2003.

Gabriel Torok and Bill Leach

MSDN Magazine November 2003

ASP.NET Proxy Page - Used for Cross Domain Requests from AJAX and JavaScript

The article ASP.NET Proxy Page - Used for Cross Domain Requests from AJAX and JavaScript was added by Aamir Hasan on Thursday, August 19, 2010.

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn't allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull content

Send email throught proxy



i want to send a mail via my mvc application hosted by cassini ,but  i access to the internet connexion throught proxy

i add this lines on my web config :

    <defaultProxy  enabled="true" >
      <proxy proxyaddress=""/>
        <network />
and in my code i have :
 MailMessage mail = new MailMessage();
             mail.From = new MailAddress("yyy@xxx.fr");
                    mail.Subject = "Test";

                    string Body = "Hi, this mail is to test sending mail" 
                    mail.Body = Body;
                    mail.IsBodyHtml = true;
                    SmtpClient smtp = new SmtpClient("");
                    smtp.Port = 25;

                catch (Exception ex)
                    string exep = "Send Email Failed." + ex.Message;

 i have un exception :"Unable to connect to the remote server"

how do I get the html through proxy



        I am looking for the solution  of how do I get the html of a web page through proxy.  I have an input of proxy server name, port number, url of web page and accelerated_pac_base.pac file which contains FindProxyForURL(url, host) method. http://findproxyforurl.com/ has more information about PAC file. How do I do this in c#.

Thanks in Advance,


How do I generate proxy class for webservice with no WSDL published?

 Hello, I need to utilize following web service: https://www.icds.att.com/xmlrequest Service publishes 2 XML files (one for Request and another for Response) https://www.icds.att.com/schemas/XMLRequest.xsd and https://www.icds.att.com/schemas/XMLResponse.xsd. I generated classes for those manually, but my question is how do I actually utilize web service (generate proxy file) in this case. Do I have to code everything manually?

WebServiceBindingAttribute is required on proxy classes.

  I created a soap based web service and create a function named SetclientCredential which set the client credential using Microsoft.Web.Services3.Security.Tokens.UsernameToken the code sample is given below: <System.ComponentModel.DesignerCategoryAttribute("code")> _ <System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _ <System.Web.Services.WebServiceBinding(Name:="LocalBinding", Namespace:="http://tempuri.org/Service", Location:="http://tempuri.org/Service.asmx?wsdl")> _ <ToolboxItem(False)> _ Public Class Service Inherits System.Web.Services.Protocols.SoapHttpClientProtocol <SoapDocumentMethod(Action:="http://tempuri.org/SetClientCredential", _ RequestNamespace:="http://tempuri.org/", _ RequestElementName:="GetUserNameRequest", _ ResponseNamespace:="http://tempuri.org/", _ ResponseElementName:="GetUserNameResponse"), _ WebMethod(Description:="Obtains the User Name")> _ Public Sub SetClientCredential(ByVal username As String, ByVal userpass As String) username = "ADMIN" userpass = "password" Dim usernametoken As New Microsoft.Web.Services3.Security.Tokens.UsernameToken(username, userpass) Dim cProxy As New Microsoft.Web.Services3.WebServicesClientProtocol cProxy.SetClientCredential(usernametoken)

Proxy failed to create remote object on the server

Hi, I am using .net remoting for inter-process communication between two processes on the same machine 1.   The first process is one of the Office application: Ecxel /   Word /   PP 2.   The other process is another application that interacts with one of the above. For that it needs office application object. For example: Excel The solution is comprised with 3 projects: Project #1: The remote object is a simple Called RemoteOfficeApplication – that simply wraps the required application object (Word / Excel / PP).   Project #2: The Server is a simple Office add-in, written with a Visual Studio Extensibility -> Shared project. This add-in is instantiated whenever Excel is lunched. This project reference project #1. Code: var channel = new TcpChannel (5003); ChannelServices.RegisterChannel(channel,true ); RemotingConfiguration.RegisterWellKnownServiceType( typeof (RemoteOfficeApplication.RemoteOfficeApplication ), “AppObj”, WellKnownObjectMode .Singleton);   Project #3: The Client is the process that requires the application object. This project also reference project #1. Code:   //Get Remote object proxy object remoteAppObject = Activator.GetObject(typeof(RemoteOfficeApplication.RemoteOfficeApplication), “tcp://localhost:5003/AppObj" ); //Cast the proxy var r

Connect to proxy server

Hi guys, How do I connect to the proxy server using the code on below?   Public Function ProxyServer(ByVal URL As String, Optional ByVal UseProxy As Boolean = False, Optional ByVal ProxyAddress As String = "", Optional ByVal ProxyPort As Integer = 0, Optional ByVal UserName As String = "", Optional ByVal PassWord As String = "", Optional ByVal Domain As String = "") As String Dim sResult As String = "" Try Dim objResponse As WebResponse Dim objRequest As WebRequest = System.Net.HttpWebRequest.Create(URL) If Not UseProxy Then Dim oProxy As New WebProxy(Address, Port) If Domain <> "" Then oProxy.Credentials = New NetworkCredential(UserName, PassWord, Domain) Else oProxy.Credentials = New NetworkCredential(UserName, PassWord) End If objRequest.Proxy = oProxy End If objRequest.Method = "GET" objRequest.Timeout = 120000 ' 20 sec. objResponse = objRequest.GetResponse Dim sr As System.IO.StreamReader = New System.IO.StreamReader(objResponse.GetResponseStream(), System.Text.Encoding.UTF7) sResult = sr.ReadToEnd() sr.Close() ' when code-execution has reached this point without ' throwing an error, the html page is loaded which ' means all is o.k.

Can WCF works well via a Proxy only supports http1.0?

Hi,everyone does anybody know , WCF can or can't  works well via a Proxy only supports http1.0? I found a discussion 3years ago http://social.msdn.microsoft.com/forums/en-US/wcf/thread/314ad4c6-a41b-481a-931e-0d631be696a8 Anything changed since then?   If nothing changed, is there any official document  said clearly: [No, It not works via http1.0] I only found a document tells me [Yes, http1.1 is OK] http://msdn.microsoft.com/en-us/library/ms734776.aspx   Thanks!

Deserializing Problem when build proxy by svcutil from WSDL

Hi, I got a WSDL from a third-party company and have to build a proxy to fetch data. I used svcutil *.wsdl to generate code and config file. Using the proxy I wondered why I got unexpected results: The return value is alway 0 and the string field CTWS_ReturnMsg always empty even if the server sent values. Could anybody help me? Here the WSDL and afterwards the http-traffic (from Wireshark): <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://CEITONWebService.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://CEITONWebService.org/">     <wsdl:types>         <xs:schema xmlns="http://CEITONWebService.org/" xmlns:mstns="http://CEITONWebService.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://CEITONWebService.org" targetNamespace=&q

WCF proxy generation encapsulates original method using MessageContracts

I am having an issue generating the client proxy for a set of WCF services. I am sending a MessageContract as a parameter to the service and returning a MessageContract. The generated proxy has the resulting method as private and generates another public method that accepts all the properties of the message as individual parameters, then assembles the MessageContract, and calls the private method. I can’t seem to figure out how to get it to generate a proxy with original signature for the method.   My message contracts are thus:      [MessageContract(IsWrapped=false)]    public class FlashFileMessage    {       [MessageHeader]       public string Filename { get; set; }         [MessageHeader]       public long FileSize { get; set; }         [MessageBodyMember]       public Stream Data { get; set; }    }      [MessageContract(IsWrapped=false)]    public class TransferFileToInstrumentResponse    {       [MessageHeader]       public bool Success { get; set; }         [MessageBodyMember]       public string Message { get; set; } &n
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend