I also had a similar problem, messing around with this. Yes, you seem to be following the tutorial correctly, but if you want to connect to it and use it as a service (as in the case of a service link), you should also add MEX services to the access point. Add this line after your selfhost.Description.Behaviors.Add (smb):
selfhost.AddServiceEndpoint( typeof(IMetadataExchange), MetadataExchangeBindings.CreateMexHttpBinding(), "http://localhost:8000/GettingStarted/mex");
This will allow you to connect through the "Add service link." In addition, I found depending on your system, you may need to run VS as an administrator to allow network connectivity (in case you did not accidentally say so in the past).
source share