I have to create an external service for existing database which is working with ERP system.
Edit: service will be running on the same machine where SQL Server is running.
Service has to listen for a trigger on a table with documents.
Scenario:
- User creates a document
- Trigger calls service method
- Method queries the database to get data, create document and send it to external API.
Is it possible to catch trigger like that from a C# Worker Service?