Microservices.Core
2.2.3.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Microservices.Core --version 2.2.3.1
NuGet\Install-Package Microservices.Core -Version 2.2.3.1
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="Microservices.Core" Version="2.2.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microservices.Core --version 2.2.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microservices.Core, 2.2.3.1"
#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 Microservices.Core as a Cake Addin #addin nuget:?package=Microservices.Core&version=2.2.3.1 // Install Microservices.Core as a Cake Tool #tool nuget:?package=Microservices.Core&version=2.2.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Exception Handling:
- Introduced a
try-catch-finally
block around the RabbitMQ channel creation and usage to ensure proper resource management and error logging. - Added logging for exceptions using
_logger.LogError
.
- Introduced a
Resource Management:
- Changed the channel creation to use a
try-finally
block to ensure the channel is disposed of properly, even if an exception occurs.
- Changed the channel creation to use a
Asynchronous Publishing:
- Added an asynchronous version of the
Publish
method namedPublishAsync
that usesTask.Run
to execute thePublish
method asynchronously.
- Added an asynchronous version of the
Version Update:
- Updated the version in the
.csproj
file from2.2.2
to2.2.3.1
.
- Updated the version in the
Product | Versions 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 | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- AspNetCore.HealthChecks.MongoDb (>= 3.1.3)
- AspNetCore.HealthChecks.Rabbitmq (>= 3.1.4)
- AspNetCore.HealthChecks.SqlServer (>= 3.2.0)
- AspNetCore.HealthChecks.UI.Client (>= 3.0.0)
- Autofac.Extensions.DependencyInjection (>= 7.1.0)
- AutofacSerilogIntegration (>= 4.0.0)
- EFCore.BulkExtensions (>= 3.6.1)
- FluentValidation (>= 8.0.0)
- Hangfire (>= 1.7.23)
- Hangfire.MemoryStorage (>= 1.7.0)
- IdentityServer4 (>= 3.1.4)
- JetBrains.Annotations (>= 2022.1.0)
- MediatR (>= 9.0.0)
- MediatR.Extensions.Autofac.DependencyInjection (>= 7.0.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 3.1.14)
- Microsoft.AspNetCore.Http.Features (>= 3.1.14)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 3.1.14)
- Microsoft.AspNetCore.TestHost (>= 3.1.14)
- Microsoft.EntityFrameworkCore (>= 3.1.14)
- Microsoft.EntityFrameworkCore.InMemory (>= 3.1.14)
- Microsoft.EntityFrameworkCore.Proxies (>= 3.1.14)
- Microsoft.EntityFrameworkCore.SqlServer (>= 3.1.14)
- Microsoft.IdentityModel.Tokens (>= 6.8.0)
- MongoDB.Driver (>= 2.12.3)
- Polly (>= 7.2.1)
- RabbitMQ.Client (>= 5.1.2)
- Serilog (>= 2.10.0)
- Serilog.AspNetCore (>= 3.4.0)
- Serilog.Enrichers.Environment (>= 2.1.3)
- Serilog.Sinks.Console (>= 3.1.1)
- Serilog.Sinks.Elasticsearch (>= 8.4.1)
- Steeltoe.Discovery.ClientCore (>= 3.0.2)
- Steeltoe.Discovery.Eureka (>= 3.0.2)
- Swashbuckle.AspNetCore (>= 5.6.3)
- Swashbuckle.AspNetCore.Annotations (>= 5.6.3)
- System.Data.SqlClient (>= 4.8.2)
- System.IdentityModel.Tokens.Jwt (>= 6.8.0)
- System.Net.Http.Json (>= 3.2.1)
- Winton.Extensions.Configuration.Consul (>= 3.1.1)
- xunit.abstractions (>= 2.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Microservices.Core:
Package | Downloads |
---|---|
CustomOcelot
CustomOcelot is an API Gateway. The source code is customized to appropriate to CLS 4.0 project. |
|
Inv.Cls.ModelShare
Core modal shared |
|
Inv.Cls.SharedLib
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.7 | 106 | 10/25/2024 |
2.2.6 | 132 | 10/16/2024 |
2.2.5 | 212 | 12/13/2023 |
2.2.4.8 | 193 | 3/9/2024 |
2.2.4.7 | 144 | 3/9/2024 |
2.2.4 | 198 | 3/6/2024 |
2.2.3.5 | 100 | 10/16/2024 |
2.2.3.1 | 165 | 10/14/2024 |
2.2.3 | 2,866 | 8/10/2023 |
2.2.3-eureka | 223 | 7/17/2023 |
2.2.3-beta-3 | 340 | 6/7/2023 |
2.2.3-beta-1 | 119 | 6/7/2023 |
2.2.2.6 | 216 | 6/7/2023 |
2.2.2.5 | 187 | 5/25/2023 |
2.2.2.4 | 167 | 5/25/2023 |
2.2.2.3 | 193 | 5/25/2023 |
2.2.2.2 | 189 | 5/25/2023 |
2.2.2.1 | 174 | 5/24/2023 |
2.2.2 | 249 | 5/15/2023 |
2.2.1 | 703 | 4/5/2023 |
2.2.0.2 | 386 | 11/15/2022 |
2.2.0.2-beta-1 | 531 | 11/1/2022 |
2.2.0.1 | 1,543 | 9/15/2022 |
2.2.0 | 561 | 9/14/2022 |
2.2.0-beta-48 | 1,047 | 9/12/2022 |
2.2.0-beta-47 | 387 | 8/25/2022 |
2.2.0-beta-46 | 175 | 8/24/2022 |
2.2.0-beta-45 | 223 | 8/23/2022 |
2.2.0-beta-37 | 217 | 8/17/2022 |
2.2.0-beta-36 | 180 | 8/17/2022 |
2.2.0-beta-35 | 191 | 8/17/2022 |
2.2.0-beta-34 | 208 | 8/15/2022 |
2.2.0-beta-31 | 178 | 8/11/2022 |
2.2.0-beta-30 | 146 | 8/10/2022 |
2.2.0-beta-29 | 439 | 7/29/2022 |
2.2.0-beta-28 | 149 | 7/28/2022 |
2.2.0-beta-26 | 169 | 7/27/2022 |
2.2.0-beta-25 | 192 | 7/25/2022 |
2.2.0-beta-24 | 392 | 7/25/2022 |
2.2.0-beta-22 | 208 | 7/21/2022 |
2.2.0-beta-19 | 378 | 7/14/2022 |
2.2.0-beta-18 | 192 | 7/14/2022 |
2.2.0-beta-17 | 162 | 7/14/2022 |
2.2.0-beta-15 | 164 | 7/12/2022 |
2.2.0-beta-11 | 217 | 7/7/2022 |
2.1.0 | 548 | 7/6/2022 |
2.0.0 | 619 | 7/4/2022 |
1.4.0-beta-9 | 198 | 6/29/2022 |
1.4.0-beta-22 | 278 | 6/30/2022 |
1.4.0-beta-21 | 160 | 6/30/2022 |
1.4.0-beta-20 | 173 | 6/30/2022 |
1.4.0-beta-18 | 206 | 6/29/2022 |
1.4.0-beta-1 | 256 | 6/23/2022 |