Posted By: Cliff Simpkins | Aug 20th, 2008 @ 8:00 AM | 52,055 Views | 14 Comments
Welcome to the latest video in the weekly WF/WCF Screencast series.

In this short video, CSD MVP Aaron Skonnard from PluralSight guides the viewer through how to configure your WCF Service with endpoints. This screencast uses the service you created last week to -a- introduce you to WCF adapters, bindings, and contracts, and -b- shows you how to use the WCF Service Configuration Editor to modify these endpoints and add new endpoints.

For additional information on WCF, please check out the WCF Dev Center on MSDN and the .NET Endpoint team blog. For more information on classes offered by Aaron and the PluralSight folks, check out their catalog of instructor led courses and new online courses that cover a variety of Microsoft technologies, ranging from .NET v3.5 to WSS to BizTalk server.
Media Downloads:
Rating:
4
0
Aaron,

I did this screencast and am getting a weird error when I try to run this.

System.InvalidOperationException: Cannot load the X.509 certificate identity specified in the configuration.
   at System.ServiceModel.Description.ConfigLoader.LoadIdentity(IdentityElement element)
   at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
   at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, String configurationName)
   at System.ServiceModel.ServiceHostBase.ApplyConfiguration()
   at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost.InitializeDescription(Type serviceType, UriSchemeKeyedCollection baseAddresses)
   at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.CreateServiceHost(Type type, ServiceKind kind)
   at Microsoft.Tools.SvcHost.ServiceHostHelper.OpenService(ServiceInfo info)

Don't know what the deal is.  Any help to this noob would be greatly appreciated.

Shane
Same here. I fixed it by removing the <certificateReference> elements. (The original example from the first screencast didn't have it)

But in this screencast, Aaron has in fact these settings in the app.config, so still not sure how his example works.
I have found something similar. Seems each time I create a named pipes endpoint, I get the above <certificateRefernce> elements auto included in the app.config. Deleting seems to address the issue.
GW
GW
It's the endpoint wizard.  If you create the endpoints manually, the certificate references are not created.
I  am new to WCF... I am getting the same error in my service... Tried deleting the endpoints configured thru the wizard, didnot work.

Any Ideas how to make it work?
I got the same problem.
The Visual Studi inserts an identity element autmatically after each binding
Just comment this identity node and it will start working again.
Hi!

When i try to create named pipe endpoint, i'm getting the following error: "Invalid URI: The hostname could not be parsed.". When i'm writing net.tcp instead of net.pipe, there is no error.

Any ideas?
Thx! 
Microsoft Communities