Shuttle.Recall.Sql.EventProcessing 13.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Shuttle.Recall.Sql.EventProcessing --version 13.1.0
NuGet\Install-Package Shuttle.Recall.Sql.EventProcessing -Version 13.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="Shuttle.Recall.Sql.EventProcessing" Version="13.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shuttle.Recall.Sql.EventProcessing --version 13.1.0
#r "nuget: Shuttle.Recall.Sql.EventProcessing, 13.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 Shuttle.Recall.Sql.EventProcessing as a Cake Addin
#addin nuget:?package=Shuttle.Recall.Sql.EventProcessing&version=13.1.0

// Install Shuttle.Recall.Sql.EventProcessing as a Cake Tool
#tool nuget:?package=Shuttle.Recall.Sql.EventProcessing&version=13.1.0

Sql Server

PM> Install-Package Shuttle.Recall.Sql.EventProcessing

A Sql Server implementation of the Shuttle.Recall event sourcing mechanism.

Event Processing

// use any of the supported DI containers
var container = new WindsorComponentContainer(new WindsorContainer());

EventStore.Register(container);

// register event handlers for event processing along with any other dependencies
container.Register<MyHandler, MyHandler>();
container.Register<IMyQueryFactory, MyQueryFactory>();
container.Register<IMyQuery, MyQuery>();

EventStoreConfigurator.Configure(container);

var processor = EventProcessor.Create(container);

using (container.Resolve<IDatabaseContextFactory>().Create("ProjectionConnectionName"))
{
    processor.AddProjection("ProjectionName");

    resolver.AddEventHandler<BowlingHandler>("ProjectionName");
}

processor.Start();

// wait for application run to complete

processor.Dispose();

Application Configuration File

<configuration>
	<configSections>
		<sectionGroup name="shuttle">
			<section 
				name="projection" 
				type="Shuttle.Recall.Sql.EventProcessing.ProjectionSection, Shuttle.Recall.Sql.EventProcessing" />
		</sectionGroup>
	</configSections>

	<shuttle>
		<projection eventStoreConnectionStringName="EventStore" eventProjectionConnectionStringName="EventProjection" />
	</shuttle>

	<connectionStrings>
		<clear />
		<add 
			name="EventStore" 
			connectionString="Data Source=.\sqlexpress;Initial Catalog=EventStoreDatabase;Integrated Security=SSPI;" 
			providerName="System.Data.SqlClient" />
		<add 
			name="EventProjection" 
			connectionString="Data Source=.\sqlexpress;Initial Catalog=EventProjectionDatabase;Integrated Security=SSPI;" 
			providerName="System.Data.SqlClient" />
	</connectionStrings>
</configuration>

The IDatabaseContextFactory and IDatabaseGateway implementation follow the structures as defined in the Shuttle.Core.Data package.

Registration / Activation

The required components may be registered by calling ComponentRegistryExtensions.RegisterEventProcessing(IComponentRegistry).

In order for the event processing module to attach to the IPipelineFactory you would need to resolve it using IComponentResolver.Resolve<EventProcessingModule>().

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
16.1.1 331 12/1/2022
16.0.1 399 9/18/2022
16.0.0 374 9/4/2022
14.0.0 430 5/29/2022
13.1.0 399 5/6/2022
13.0.2 441 4/9/2022
13.0.1 421 4/9/2022
13.0.0 401 3/21/2022
12.0.2 451 2/4/2021
12.0.1 459 11/8/2020
11.0.0 639 8/21/2019
10.2.0 580 5/27/2019
10.1.4 774 9/22/2018
10.1.3 793 9/16/2018
10.0.3 808 8/7/2018
10.0.2 904 7/8/2018
10.0.0 2,129 2/13/2018
8.0.12 874 10/14/2017
8.0.10 865 8/6/2017
8.0.9 897 7/2/2017
8.0.8 919 7/1/2017