Novi.ElmahToSlack 1.1.0.26913

dotnet add package Novi.ElmahToSlack --version 1.1.0.26913
NuGet\Install-Package Novi.ElmahToSlack -Version 1.1.0.26913
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novi.ElmahToSlack" Version="1.1.0.26913" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Novi.ElmahToSlack --version 1.1.0.26913
#r "nuget: Novi.ElmahToSlack, 1.1.0.26913"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Novi.ElmahToSlack as a Cake Addin
#addin nuget:?package=Novi.ElmahToSlack&version=1.1.0.26913

// Install Novi.ElmahToSlack as a Cake Tool
#tool nuget:?package=Novi.ElmahToSlack&version=1.1.0.26913

Novi.ElmahToSlack

A simple extension to elmah to send error notifications to Slack after writing to SQL Server.

What's this about?

We decided we wanted to send ourselves Slack messages whenever our friend Elmah wrote to the SQL database. This little derivative will do just that.

Configuration

Typically, your elmah configuration looks something like this:

<elmah>
    <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="DefaultConnection" />		
</elmah>

To use this version, you'll need a few more attributes on the errorLog element, and specify this assembly instead:

<elmah>
    <errorLog type="Novi.ElmahToSlack.SqlPlusSlackErrorLog, Novi.ElmahToSlack" 
    connectionStringName="YourConnectionName" 
    webHookUri="https://hooks.slack.com/services/YourWebHookEndpoint" 
    userName="The user or bot you want to post under" 
    channel="the #channel to post to" />
</elmah>

Check the Slack documentation for setting up a web hook.

Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0.26913 8,063 12/13/2017
1.0.1.27228 3,343 1/24/2017
1.0.0.17282 2,610 1/20/2017

Initial release.