Use Windows Service to host FlowCore 2.0 on Windows 10,11
Important
FlowCore 2.0 includes the .NET cross-platform Kestrel web server.
On Windows 10, Windows 11, you can use <Windows Service> to host.
You shouldn't use IIS on Windows 10,11 (can't be used in production environments).
(1) Install .NET SDK 6.0
Microsoft official website: Download .NET SDK 6.0
Select Windows - <Arm64 | x64 | x86> based on your CPU architecture, download and install.
(2) Test FlowCore 2.0 console self-hosting
2.1 Open the FlowCore 2.0 deployment path <runroot>.
2.2 Run runroot/FlowCore using the Windows command line.exe Start console self-hosting.
FlowCore 2.0 binds host port http://localhost:5000 by default.
The following registers <runroot\FlowCore .exe> as a Windows service.
Important: Please modify the <physical path> in the following command to the physical path of your actual deployment.