Elmah.DynamoDB 1.1.0

dotnet add package Elmah.DynamoDB --version 1.1.0                
NuGet\Install-Package Elmah.DynamoDB -Version 1.1.0                
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="Elmah.DynamoDB" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elmah.DynamoDB --version 1.1.0                
#r "nuget: Elmah.DynamoDB, 1.1.0"                
#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 Elmah.DynamoDB as a Cake Addin
#addin nuget:?package=Elmah.DynamoDB&version=1.1.0

// Install Elmah.DynamoDB as a Cake Tool
#tool nuget:?package=Elmah.DynamoDB&version=1.1.0                

Elmah.DynamoDB

Log Elmah Errors to DynamoDB

<a href="http://www.nuget.org/packages/Elmah.DynamoDB/"><img src="https://img.shields.io/nuget/v/Elmah.DynamoDB.svg" title="NuGet Status"></a>

Installation

NOTE: manual configuration required

Install-Package Elmah.DynamoDB

Configuration

AWS Configuration

Standard AWS SDK Configuration is required before using the elmah dynamoDB driver. The configuration guide can be found here: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-creds.html

the IAM Identity will need at least the following permissions

  • dynamodb:DescribeTable
  • dynamodb:GetItem
  • dynamodb:PutItem
  • dynamodb:Query
  • dynamodb:UpdateItem
  • dynamodb:CreateTable (if you want to automatically create the table if not present)

Minimal Configuration

in your web.config, set the error log type

<elmah>
    <errorLog type="Elmah.DynamoDB.DynamoDBErrorLog, Elmah.DynamoDB" applicationName="MyApplication" />
</elmah>

This will log errors to a table named "Elmah_ErrorLog"

Configuration Options

<elmah>
    <errorLog type="Elmah.DynamoDB.DynamoDBErrorLog, Elmah.DynamoDB" applicationName="MyApplication" 
      tableName="MyTable"
      awsProfileName="elmah"
      streamEnabled="false"
      readCapacityUnits="50"
      writeCapacityUnits="10"
    />
</elmah>
  • tableName = the name of the DynamoDB table (default: Elmah_ErrorLog)
  • awsProfileName = The name of the custom AWS profile to use for credentials. You can use this to give the Elmah driver a different IAM identity than the rest of your application
  • streamEnabled = enable DynamoDB streams (default: true)
  • readCapacityUnits = the read capacity units to use when first creating this table (default: 8)
  • writeCapacityUnits = the write capacity units to use when first creating this table (default: 6)
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  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 673 12/1/2019
1.0.5 5,527 3/17/2016
1.0.3 1,062 3/17/2016