I am quite new to ASP.NET core. I am building a webapp in .net core to self host a API that will connect to a serial device, so I am using the
full .NET Framework version of ASP.NET Core for now to have access to the SerialPort class.
I have a problem though. When I build the app to an .exe file and run it, the API starts up great and I can reach the endpoints for the api, but the
GUI and all the Razor views are not working. They are working when i run the app from Visual Studio. I suppose that the problem is some configuration that is incorrect, or something with IIS.
I am using the ToDo tutorial code from this site as the base for my project.
Any idea what I might be doing wrong?
I am not sure what code or file might be interesting to link, so let me know and I'll link it