I’m researching how to build a system of three to five PCs on peer-to-peer network. One of those PCs (the primary PC) will run SQL Server and receive requests for data from/provide data to the other PCs.
I intend to develop WCF service-like application (the servicer app) to be running on the primary PC, listening to requests. I prefer the servicer app to be based on .NET8 and up (not NET Framework) and be hosted in Windows Service.
My issues:
- Is this even a valid scenario? Can a Windows Service host .NET-based service DLL?
- I found Visual Studio 2022 project template “Worker Service”. How do I host it in Windows Service and open it to multiple clients?
- Is there any other technique? I read about Net.TCP Port Sharing, but it’s unclear if it can be used across multiple PCs.
- Is there any other Visual Studio project template to use?
Please point to the right information.
Thank you,
Eugene