C#C
C#3y ago
66 replies
kohwahskee

How to integrate ASP .NET project in a WPF app?

I need help with integrating a ASP.NET server into an executable WPF app. The goal is to only have a single executable, and when it runs, it opens up a WPF UI and spins up a local server which serves some HTML and api endpoints (this is all local).

Right now, i have 2 seperate projects: 1 is the ASP .NET which handles API endpoints and serves HTML, 2 is the WPF im building.
I'm trying to somehow also run the ASP .NET server when the WPF is opened.

I'm pratically brand new to C# .NET.
Was this page helpful?