WinUI WPF self-hosted service
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.
As far as I know, sandboxing is UWP running environment not for WPF, and it may not be included in .Net 5.0. Could you give me some guide, steps and code snippet to make a demo to reproduce your error to analzye the non-data issue?
It looks like self-hosted services are not possible from a WinUI WPF application?
may be you should add a capability of type internetClientServer in the manifest file, take a look to this article:
Hope it helps!
Thanks, but this does not solve the problem.
Are you able to self-host a service from a WinUI WPF application? Other then including the internetClientServer capability, what's your technique?
Sign in to comment