Tim Ewald’s recent talk at Vermont.NET got me fired up about contract first again. Read more here…
[A DevLife post]
Don’t Forget: www.acehaid.org
Tim Ewald’s recent talk at Vermont.NET got me fired up about contract first again. Read more here…
[A DevLife post]
Don’t Forget: www.acehaid.org
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
I’m not kidding.
By changing a WCF binding from basicHttpBinding to wsHttpBinding, bingo bammo magic right before my very eyes! My messages were encrypted. I did nothing else.
Here’s where I got my inspiration…thanks Ami.
Don’t Forget: www.acehaid.org
As I am tightening up my Indigo demos for TechEd South Africa, I am going over a bunch of posts by Michele Leroux Bustamante which is helping me sort out “just getting it to run” vs. “writing services properly”. [read more …]
[A DevLife post]
Don’t Forget: www.acehaid.org
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…
Michele Leroux Bustamante is posting a lot of useful how-tos on Indigo Check out www.dasblonde.net.
Don’t Forget: www.acehaid.org
… 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]