I have an .Net5 website/API. Traditionally I would create a server and have clients connect to the server:
(API/Website) as server