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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 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,709 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,509 questions
{count} votes