Eveneum:由Azure Cosmos DB支持的事件存储

时间:2024-05-29 07:29:29
【文件属性】:

文件名称:Eveneum:由Azure Cosmos DB支持的事件存储

文件大小:95KB

文件格式:ZIP

更新时间:2024-05-29 07:29:29

event-sourcing event-store azure-cosmos-db cosmos-db C#

Eveneum是一个简单的,对开发人员友好的事件存储,带有快照,由Azure Cosmos DB支持。 var database = "Eveneum"; var collection = "Events"; var client = new CosmosClient("connection-string"); var databaseResponse = await client.CreateDatabaseIfNotExistsAsync(database); var containerResponse = await databaseResponse.Database .CreateContainerIfNotExistsAsync(new ContainerProperties(collection, "/StreamId")); IEventStore eventSto


【文件预览】:
Eveneum-master
----.gitignore(5KB)
----Eveneum.sln(2KB)
----Eveneum.ApplicationInsights()
--------Eveneum.ApplicationInsights.csproj(401B)
--------CosmosTelemetryInitializer.cs(2KB)
--------EveneumTelemetryInitializer.cs(3KB)
--------Properties()
--------Eveneum.ApplicationInsights.nuspec(876B)
----Eveneum()
--------Advanced()
--------Snapshot.cs(350B)
--------Exceptions()
--------EventData.cs(630B)
--------StreamHeader.cs(461B)
--------DeleteMode.cs(111B)
--------Extensions()
--------EventStore.cs(18KB)
--------Response.cs(1KB)
--------IEventStore.cs(2KB)
--------Eveneum.nuspec(876B)
--------EventStoreOptions.cs(552B)
--------Stream.cs(551B)
--------Eveneum.csproj(724B)
--------Serialization()
--------StoredProcedures()
--------Documents()
--------Properties()
--------DocumentQueryExtensions.cs(806B)
----LICENSE(1KB)
----README.md(3KB)
----GitVersion.yml(58B)
----Eveneum.Tests()
--------CreatingNewStream.feature(2KB)
--------CreatingNewStream.feature.cs(10KB)
--------DeletingSnapshots.feature(3KB)
--------Advanced.feature(9KB)
--------CreatingSnapshotForNonExistentStream.feature.cs(7KB)
--------Advanced.feature.cs(33KB)
--------AppendingToStream.feature(1KB)
--------app.config(998B)
--------AppendingToStream.feature.cs(8KB)
--------AppendingToStreamWithNonMatchingExpectedVersion.feature(2KB)
--------WritingToStreamSteps.cs(9KB)
--------AppendingToNonExistentStream.feature.cs(7KB)
--------Sample.cs(724B)
--------AppendingToNonExistentStream.feature(1KB)
--------DeletingSnapshotsForNonExistentStream.feature.cs(4KB)
--------ReadingStreamFromVersion.feature(3KB)
--------AppendingToStreamWithNonMatchingExpectedVersion.feature.cs(9KB)
--------CreatingSnapshotForNonExistentEvent.feature(516B)
--------CustomTypeProvider.feature(374B)
--------ReadingStream.feature(11KB)
--------CommonSteps.cs(3KB)
--------DeletingStream.feature.cs(16KB)
--------ReadingStreamIgnoringSnapshots.feature.cs(44KB)
--------CreatingSnapshotForNonExistentStream.feature(1KB)
--------DeletingDeletedStream.feature.cs(5KB)
--------ReadingStreamAsOfVersion.feature(4KB)
--------DeletingSnapshotsForNonExistentStream.feature(547B)
--------DeletingStreamWithNonExpectedVersion.feature.cs(6KB)
--------ReadingStreamSteps.cs(6KB)
--------CreatingNewStreamWithDuplicatedStreamId.feature.cs(10KB)
--------Infrastructure()
--------CustomTypeProviderSteps.cs(866B)
--------ReadingStreamAsOfVersion.feature.cs(20KB)
--------DeletingStream.feature(4KB)
--------CreatingNewStreamWithDuplicatedStreamId.feature(2KB)
--------SnapshotSteps.cs(7KB)
--------CreatingSnapshot.feature(2KB)
--------Eveneum.Tests.csproj(11KB)
--------DeletingStreamWithNonExpectedVersion.feature(1020B)
--------CreatingSnapshotForNonExistentEvent.feature.cs(4KB)
--------CustomTypeProvider.feature.cs(4KB)
--------AdvancedSteps.cs(6KB)
--------DeletingStreamSteps.cs(4KB)
--------ReadingStreamFromVersion.feature.cs(15KB)
--------DeletingDeletedStream.feature(776B)
--------DeletingNonExistentStream.feature(759B)
--------DeletingSnapshots.feature.cs(12KB)
--------ReadingStream.feature.cs(45KB)
--------ReadingStreamIgnoringSnapshots.feature(11KB)
--------DeletingNonExistentStream.feature.cs(5KB)
--------CreatingSnapshot.feature.cs(12KB)
--------DeletingOlderSnapshots.feature.cs(4KB)
--------DeletingOlderSnapshots.feature(521B)

网友评论