SlackNet services can be configured in Simple Injector using a similar API as in other scenarios.
All Slack handlers must be registered inside AddSlackNet
, and are scoped per Slack request by default, but if you register a service in the container yourself, that registration will take precedence.
Please refer to the Getting Started section of SlackNetDemo. This example contains only the Ping demo from that project.