Dear reader, please say: “Yes, it worked. I can see your blog post” – and the best thing is: you should not have to change anything.
It should *just work* with thinktecture’s blogs now being hosted on TypePad. Permanent redirects, same URLs as before, especially the feed URL. Pure joy – good work Ingo – and thanks!
A picture:
Some source code:
public static bool ConfigureRelayEndpoints(ServiceHost host){bool relayAvailable;ServiceEndpoint[] endpoints = new ServiceEndpoint[host.Description.Endpoints.Count];host.Description.Endpoints.CopyTo(endpoints, 0);List<ServiceEndpoint> endpointList = new List<ServiceEndpoint>(endpoints);List<ServiceEndpoint> relayedEndpoints = endpointList.FindAll(e => IsRelayBinding(e));relayAvailable = IsRelayReachable();if (TecTeacherConfigurationSection.MediaServiceSection.ServiceBus.Enabled && relayAvailable){foreach (var relayedEndpoint in relayedEndpoints){ServiceRegistrySettings sr;if (TecTeacherConfigurationSection.MediaServiceSection.ServiceBus.AdvertizeFeed)sr = new ServiceRegistrySettings(DiscoveryType.Public);elsesr = new ServiceRegistrySettings(DiscoveryType.Private);relayedEndpoint.Behaviors.Add(sr);}}else{foreach (var relayedEndpoint in relayedEndpoints){host.Description.Endpoints.Remove(relayedEndpoint);}}return relayAvailable;}
Finally, a decent way to blog… cross fingers to see more here ![]()