Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8282863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:31:57+00:00 2026-06-08T10:31:57+00:00

First a bit of background: I have a web server which runs 4 instances

  • 0

First a bit of background:

I have a web server which runs 4 instances of the same ASP .NET application each one in a different culture (set in the web.config). The cultures are British (GBR), Australian (AUS), Irish (IRL), and New Zealander (NZL). Each of them has a webmethod “DoWork” which I would like to call via a single scheduled task. I have a simple exe which calls this method on each of the four cultures, simplified code:

Dim AUSclient As New AUSAutomated.AUSAutomatedClient()
AUSclient.DoWork
Dim GBRclient As New GBRAutomated.GBRAutomatedClient()
GBRclient.DoWork
Dim IRLclient As New IRLAutomated.IRLAutomatedClient()
IRLclient.DoWork
Dim NZLclient As New NZLAutomated.NZLAutomatedClient()
NZLclient.DoWork

In the task which is consuming the methods the app.config looks like this:

        <endpoint address="net.pipe://localhost/Services/GBR/GBRAutomated.svc"
            binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_IGBRAutomated"
            contract="GBRAutomated.IGBRAutomated" name="NetNamedPipeBinding_IGBRAutomated">
                </endpoint>

        <endpoint address="net.pipe://localhost/Services/IRL/IRLAutomated.svc"
 binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_IIRLAutomated"
 contract="IRLAutomated.IIRLAutomated" name="NetNamedPipeBinding_IIRLAutomated">
                    </endpoint>

        <endpoint address="net.pipe://localhost/Services/NZL/NZLAutomated.svc"
            binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_INZLAutomated"
            contract="NZLAutomated.INZLAutomated" name="NetNamedPipeBinding_INZLAutomated">
                    </endpoint>

The application exposes the web method via WCF using a net named pipes binding. Each of the cultures has an entry in the web.config to point to the correct service. For example the Ireland one is:

<service name="Web.IRLAutomated">
            <endpoint address="net.pipe://localhost/Services/IRL/IRLAutomated.svc" binding="netNamedPipeBinding" contract="Web.IIRLAutomated" />
        </service>

So the exposed method for each culture has a different contract and address.

When the task runs it calls the Australian Method all 4 times. It seems to ignore the settings in the web.configs and call the method with the correct contract on the first application. So my question is:

How can I set a unique pipe name for the method in each culture?

I tried setting hostNameComparisonMode=”Exact” on the binding but this doesn’t seem to have made any difference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:31:58+00:00Added an answer on June 8, 2026 at 10:31 am

    You Can’t

    After some searching I found a similiar question on StackOverflow here:

    controlling the name of a named pipe when hosting WCF net.pipe binding in IIS

    As no one has answered the above question in 2 years I’m assuming what am I trying to do is impossible.

    If anyone else is struggling with this sort of problem I found this blog entry very helpful in helping me understand:

    http://blogs.charteris.com/blogs/chrisdi/archive/2008/05/19/exploring-the-wcf-named-pipe-binding-part-1.aspx

    I am going to change the binding to http which will solve my problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First a bit of background: I have a WPF application, which is a GUI-front-end
First a bit of background: We have a growing RESTful service layer supporting web
First of all bit of background. We are developing an application which receives messages
First, a bit of my background. I have been working on large web systems
Ok, little bit of background here. I have a large scale web application (MVC3)
First a little bit of background: I have a REST service in WCF 4
Just a bit of background first. I currently have a site hosted with Windows
First a bit of background. I have been working on the MS platform for
Background I have built a VB .NET application on the 4.0 Framework, part of
I'm doing the first bit of web-page development I've done in years, in VS2008,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.