All of your favorite tools (elmah.io anyone?) integrate with online messaging tools like Slack. It’s essential for moderne companies to be notified on Slack when new errors are logged, when a build fails, when customers are acquired, etc. In this post, I’ll show you how to create an ASP.NET Core web app that lets the user authorize their Slack workspace, select a channel, and post messages to that channel from C#.
You probably already tried connecting online apps with Slack. You start by clicking an Authorize button, the application redirects you to Slack where you sign in and select a channel. Slack then redirects you back to the application and the integration is set up. The application now has access to post messages to the selected channel. Here’s an example of how to set that up in an ASP.NET Core website.
#slack #aspdotnet core
This post will show you how to let a user authorize their Slack workspace, select a channel, and post messages to that channel from ASP.NET Core.