WinUI WPF self-hosted service

Dan
31
Reputation points
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.