Category Archives: Indigo

Silly mistake when using Multiple Endpoints in Indigo

I have a self-hosted service which I am calling through it’s proxy in a client app.

When the service has multiple endpoints, svcutil adds “ConfigurationName” properties to the endpoints in the config file. With a single endpoint, that parameter is not necessary.

When instantiating the service via the proxy, I was following a single endpoint example and forgot to indicate *which* endpoint or configuration I wanted. Thus my code:

ServiceProxy myproxy=new ServiceProxy();

gave me an error when it hit the proxy’s constructor and I was given the following exception:

could not find endpoint element that references contractType [whatever my contract name is]

Oddly, if I found that if I removed ConfigurationNames from the config, the app will actually run and somehow randomly selected from the multiple endpoints.

The exception message led me on a very wild goosechase. But luckily, Softwaremaker, who is quite the Indigo guru already, asked me a key question: “how are you instatiating the proxy?”

Since all of this stuff is so new, I am placing this mistake out on Google for the next person who makes this mistake.


Don’t Forget: www.acehaid.org

Secure, Reliable, Transacted

I need to stamp this onto my brain so that it flows from my tongue as readily and thoughtlessly* as the word “Indigo”:

“Secure, Reliable, Transacted Web Services”

*thoughtlessly as in: I don’t have to stop and think “what is that phrase again?”, it’s just there…



Don’t Forget: www.acehaid.org

Indigo Beta2 – Some tips for moving from Beta1 and Security goes to the head of the class

… One great resource is Omri Gazitt’s weblog post Porting from Beta1 to Beta2. This helped me resolve most of the problems that I was having with changed attribute names. Omri is on the Indigo team at Microsoft and I will be taking a look at his presentation decks from PDC this weekend.

There was one holdover that was still lingering in my config file though, the securityMode attribute in the [read more…]

[A DevLife post]



Don’t Forget: www.acehaid.org