Using different Endpoints in a WCF Service

Avoiding confusion when referencing a Service?
 
Whilst playing with a WCF Service for my Silverlight application I encountered the following error:
 
An endpoint configuration section for contract could not be loaded because more than one endpoint configuration for that contract was found
 
It seems that becuase my client config file contained multiple configuration endpoints, I needed to specify which endpoint to access during the service initialisation. Tim Heuer has a very good blog post on Managing service references and endpoint configurations for Silverlight applications which helped me to figure out this problem.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s