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.

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
284 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,372 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,067 questions
{count} votes