News for hackers. Stuff that matters.
Re:mDNS, Avahi and Docker non-root containers by ComputerGuru on Monday June 01, 2020 @04:21PM (#23383300)
Here’s some documentation: https://docs.microsoft.com/en-us/uwp/api/Windows.Networking....

Lots of new core APIs added in Windows 10 aren’t available via Win32 even if they have nothing to do with packages, unfortunately. It’s extremely convoluted but you can use the Windows.Sdk, Contracts, or CsWinRT packages to interop with the WinRT APIs from a C++, C#, or now even rust application but depending on which APIs you consume you may need to use a Windows Application Project appx/msix wrapper to package your code and associate it with a package ID unlocking the APIs for use.

(I have a hello world project demonstrating a WPF .NET Core project hosting a custom control consisting of a single text block that displays your current location via the Geolocator API and it requires four different individually user-created projects in the Visual Studio solution and a minimum half-a-dozen NuGet dependencies just to make it happen. It’s a terrible, terrible mess.)

Re:mDNS, Avahi and Docker non-root containers by giancarlostoro on Monday June 01, 2020 @06:27PM (#23384767)
It seems like they want to consolidate all those APIs with Project Reunion

https://github.com/microsoft/ProjectReunion

So I'm hoping this improved things in the future.

Re:mDNS, Avahi and Docker non-root containers by ComputerGuru on Monday June 01, 2020 @07:08PM (#23385153)
lol, I forgot to mention: this is with Project Reunion. WinUI 3, CsWinRt, etc.