Search code examples
wcf.net-standard.net-standard-2.0service-discovery

Is Service Discovery available in .NET Standard 2.0?


Using the tip found in this answer, I've been able to include general WCF support while converting my .NET Framework 4.8 assembly to .NET Standard 2.0. However, my code relies heavily on Service Discovery.

In a brute-force approach I tried these packages:

System.ServiceModel.Duplex
System.ServiceModel.Federation
System.ServiceModel.Http
System.ServiceModel.NetTcp
System.ServiceModel.Primitives
System.ServiceModel.Security
System.ServiceModel.Syndication

...but none of them contain the supporting namespaces/classes.

Will it be possible to include Service Discovery support in my .NET Standard 2.0 assembly?


Solution

  • Sadly DiscoveryClient is .Net framework only

    enter image description here

    so you can't convert everything to .net standard/.net core.