The ASCOM C# Alpaca template creates an Alpaca device using Microsoft ASP.NET and Blazor technologies. The generated Alpaca device provides supports Alpaca discovery out-of-the box, making substantial use of the ASCOM.Alpaca.Razor NuGet package to keep device implementation small and enable new features to be added in future.
Initially the template implements a safety monitor device, but you can easily configure the template to serve any ASCOM device type. Furthermore, you can serve multiple devices of the same device type as well as multiple devices of different device types.
Please see the "C# Alpaca Device Template" PDF in the link opposite for full details on how to create your Alpaca device.