• 0

Have a weird .Net question


Question

Howdy everyone, 

Have a weird .Net6/7 question...  Is it possible to host an ASP.Net 6/7 web app from within a WinForms/XAML application? (I don't mean as a separate exe, I mean to have it able to serve both a GDI window and the built-in webserver).

I'm working on a little SimConnect project and it would benefit from this.

 

The WinForm/XAML UI would only serve the purpose of verifying that a SimConnect connection has been established, debugging messages, and port settings.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

No, I don't want to use it for the web side of things, I literally want a Windows UI that I can validate that the simconnect link is working (and/or with a button that literally says "Connect to Sim"), maybe a settings dialog, but still want ASP there to serve the web pages (using whichever front end toolkit I decide to go with, be it razor, blazor, etc).

 

Basically taking what would be two final exe's and making it one.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.