WinUI WPF self-hosted service

Dan 31 Reputation points
2021-02-22T22:14:43.977+00:00

It appears impossible to self-host a service from a WinUI WPF app. Is this because of sandboxing or just features not yet included in Net5.0?
I have tried techniques from Microsoft.Owin, System.Web.Http and CoreWCF. All techniques compile fine, but none will receive calls/data.

Developer technologies | Windows Presentation Foundation
Windows development | Windows API - Win32
Developer technologies | .NET | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.