diff --git a/README.md b/README.md index 4913c792307e69811302d6dbc769d755f6c8137c..9d1d7bb41b8f12102830b10bfe56de7b13aa07f5 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,14 @@ ### **🔑 Release** -[![NuGet Version](https://img.shields.io/nuget/v/NebulaBus?style=plastic&color=blue)](https://www.nuget.org/packages/NebulaBus/) -![NuGet Downloads](https://img.shields.io/nuget/dt/NebulaBus?style=plastic&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus) +| Nuget Package | Description | +| ---- | ---- | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus?style=plastic&label=NebulaBus&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus%2F) | NebulaBus's Core | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Store.Memory?style=plastic&label=NebulaBus.Store.Memory&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Store.Memory%2F) | NebulaBus Memory Store Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Store.Redis?style=plastic&label=NebulaBus.Store.Redis&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Store.Redis%2F) | NebulaBus Redis Store Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Transport.Memory?style=plastic&label=NebulaBus.Transport.Memory&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Transport.Memory%2F) | NebulaBus Memory Transport Provider | +| ![NuGet Version](https://img.shields.io/nuget/v/NebulaBus.Transport.Rabbitmq?style=plastic&label=NebulaBus.Transport.Rabbitmq&color=blue&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FNebulaBus.Transport.Rabbitmq%2F) | NebulaBus Rabbitmq Transport Provider | + ### **📔 文档完善** - [中文文档](https://nebulabus.jiewit.com/zh/) diff --git a/src/FullMemoryWebApiSample/Program.cs b/src/FullMemoryWebApiSample/Program.cs index d277b86a0c85566368041b5861e3857369c98e60..68ff53e22255691e3926a675ee9e9a8e8aca8512 100644 --- a/src/FullMemoryWebApiSample/Program.cs +++ b/src/FullMemoryWebApiSample/Program.cs @@ -1,3 +1,4 @@ +using System.Text.Json; using LogicSamples; using LogicSamples.Handlers; using NebulaBus.Store.Memory; @@ -25,9 +26,11 @@ public class Program builder.Services.AddSwaggerGen(); builder.Services.AddNebulaBus(options => { + options.ClusterName = "SampleCluster"; + options.JsonSerializerOptions = new JsonSerializerOptions(); options.ExecuteThreadCount = 1; options.UseMemoryTransport(); - options.UserMemoryStore(); + options.UseMemoryStore(); }); builder.Services.AddNebulaBusHandler(typeof(TestHandlerV1).Assembly); //Add Global Handler Filter diff --git a/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj b/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj index 8a87f854cb0d981a719633b02c3cbf586d8a89f8..ba4a76f11743d9ef26ee34d6371575245577303a 100644 --- a/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj +++ b/src/NebulaBus.Store.Memory/NebulaBus.Store.Memory.csproj @@ -1,5 +1,16 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable @@ -7,6 +18,7 @@ + diff --git a/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs b/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs index debc82392b4242519aa31c1e1b1978870c02d2e6..c11d403a40b42fe59d941f9309f290e5516b5f4b 100644 --- a/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs +++ b/src/NebulaBus.Store.Memory/NebulaMemoryStoreExtension.cs @@ -2,7 +2,7 @@ namespace NebulaBus.Store.Memory { public static class NebulaMemoryStoreExtension { - public static void UserMemoryStore(this NebulaOptions options) + public static void UseMemoryStore(this NebulaOptions options) { options.AddNebulaServiceProvider(new NebulaMemoryStoreServiceProvider()); } diff --git a/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj b/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj index bc9140a329d8b0b71ab568a620663842487d3126..a4d57d363d3770635cf29313de4d631c38dcf9bc 100644 --- a/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj +++ b/src/NebulaBus.Store.Redis/NebulaBus.Store.Redis.csproj @@ -1,5 +1,16 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable @@ -7,6 +18,7 @@ + diff --git a/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj b/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj index 8a87f854cb0d981a719633b02c3cbf586d8a89f8..312125c25be9c7758f535219eb0ec1f9de7e3f50 100644 --- a/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj +++ b/src/NebulaBus.Transport.Memory/NebulaBus.Transport.Memory.csproj @@ -1,4 +1,15 @@  + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + netstandard2.1 @@ -6,7 +17,8 @@ - + + diff --git a/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj b/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj index d0ebfd6c3ce5456d6330b9d6198bdd6939758436..a1f6fad40ad040fdaccf73a1cbf0a4f0411e7077 100644 --- a/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj +++ b/src/NebulaBus.Transport.Rabbitmq/NebulaBus.Transport.Rabbitmq.csproj @@ -1,16 +1,28 @@  - + + javen liu + JiewitTech + https://github.com/JiewitTech/NebulaBus.git + https://github.com/JiewitTech/NebulaBus + NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development + NebulaBus enventbus Bus Event Publish + MIT + README.md + $(PackageVersion) + + netstandard2.1 enable - + - + + diff --git a/src/NebulaBus/NebulaBus.csproj b/src/NebulaBus/NebulaBus.csproj index 921887efba972e6a4f313eb5138b2f6f3c81f258..2cd4693b1ed3190599f8fd7c618d9660a1bd767c 100644 --- a/src/NebulaBus/NebulaBus.csproj +++ b/src/NebulaBus/NebulaBus.csproj @@ -5,7 +5,7 @@ https://github.com/JiewitTech/NebulaBus.git https://github.com/JiewitTech/NebulaBus NebulaBus - Future oriented NET distributed event bus framework, allowing developers to focus on development - NebulaBus enventbus + NebulaBus enventbus Bus Event Publish MIT README.md $(PackageVersion)