3

I'd like to use WS-Discovery from within a WinRT application I'm developing, but this doesn't appear to be available. Whilst it's available within the .Net Frameworks's WCF 4.0, they appear to have ommitted it from WinRT.

Since it's WinRT, I cannot reference System.ServiceModel.Discovery.

Can anyone recommend an alternative? I could probably implement a basic version of this standard myself, but would like to avoid the work if I can. It might make a nice OSS project.

Tomas McGuinness
  • 7,651
  • 3
  • 28
  • 40
  • There is a bunch of Win32 calls related to Web Services that are still supported (http://msdn.microsoft.com/en-us/library/windows/apps/br205759.aspx). I am not sure of discovery specifically. – sarvesh Mar 12 '12 at 15:12
  • I don't think it is in there. Is there something in JQuery you can use? Maybe switch to a JavaScript project and try that? – Bill Sempf Mar 13 '12 at 02:19
  • I don't think the Win32 calls nor jQuery include anything related to WS-Discovery. Are there any other technologies that can be used for dynamic service discovery? – Tomas McGuinness Mar 13 '12 at 09:28

1 Answers1

2

WS-Discovery isn't supported by the WinRT API.

The API does support UDP Multicasting, so I can use that to perform peer discovery.

Tomas McGuinness
  • 7,651
  • 3
  • 28
  • 40