Pipoburgos.SharedKernel.Infrastructure.Elasticsearch
7.0.10.4
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 Pipoburgos.SharedKernel.Infrastructure.Elasticsearch --version 7.0.10.4
NuGet\Install-Package Pipoburgos.SharedKernel.Infrastructure.Elasticsearch -Version 7.0.10.4
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="Pipoburgos.SharedKernel.Infrastructure.Elasticsearch" Version="7.0.10.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pipoburgos.SharedKernel.Infrastructure.Elasticsearch --version 7.0.10.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pipoburgos.SharedKernel.Infrastructure.Elasticsearch, 7.0.10.4"
#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 Pipoburgos.SharedKernel.Infrastructure.Elasticsearch as a Cake Addin
#addin nuget:?package=Pipoburgos.SharedKernel.Infrastructure.Elasticsearch&version=7.0.10.4
// Install Pipoburgos.SharedKernel.Infrastructure.Elasticsearch as a Cake Tool
#tool nuget:?package=Pipoburgos.SharedKernel.Infrastructure.Elasticsearch&version=7.0.10.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
The following code demonstrates basic usage of Shared Kernel Infastructure.
appsettings.json for mongo connection
{
"MongoSettings": {
"ConnectionString": "mongodb://localhost:27017",
"Database": "XXX"
}
}
namespace XXX.Infrastructure
{
public static class XXXModule
{
public static IServiceCollection AddXXXModule(this IServiceCollection services,
IConfiguration configuration, string connectionStringName)
{
return services
.AddAutoMapper(new XXXAutoMapperProfile(), typeof(ApplicationCommandHandler).Assembly,
typeof(UserRegistered).Assembly,
typeof(XXXDbContext).Assembly)
.AddDomainEvents(typeof(XXXEvent))
.AddDomainEventsSubscribers(typeof(XXXEventSusbcriber))
.AddCommandsHandlers(typeof(ApplicationCommandHandler))
.AddQueriesHandlers(typeof(InfrastructureQueryHandler))
.AddDapperSqlServer<XXXDbContext>(configuration, connectionStringName)
.AddEntityFrameworkCoreSqlServer<XXXDbContext>(configuration, connectionStringName)
.AddMongo(configuration)
.AddApplicationServices()
.AddDomainServices()
.AddRepositories();
}
private static IServiceCollection AddApplicationServices(this IServiceCollection services)
{
return services
.AddTransient<SampleApplicationService>();
}
private static IServiceCollection AddDomainServices(this IServiceCollection services)
{
return services
.AddTransient<SampleDomainService>();
}
private static IServiceCollection AddRepositories(this IServiceCollection services)
{
return services
.AddTransient<IXXXRepository, XXXMongoRepository>();
.AddTransient<IXXXRepository, XXXEntityFrameworkCoreRepository>();
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.
-
.NETStandard 2.1
- AspNetCore.HealthChecks.Elasticsearch (>= 7.0.0)
- NEST (>= 7.17.5)
- Pipoburgos.SharedKernel.Infrastructure (>= 7.0.10.4)
-
net6.0
- AspNetCore.HealthChecks.Elasticsearch (>= 7.0.0)
- NEST (>= 7.17.5)
- Pipoburgos.SharedKernel.Infrastructure (>= 7.0.10.4)
-
net7.0
- AspNetCore.HealthChecks.Elasticsearch (>= 7.0.0)
- NEST (>= 7.17.5)
- Pipoburgos.SharedKernel.Infrastructure (>= 7.0.10.4)
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 |
---|---|---|
8.0.4.7 | 53 | 5/1/2024 |
8.0.4.6 | 73 | 4/29/2024 |
8.0.4.5 | 88 | 4/27/2024 |
8.0.4.4 | 77 | 4/27/2024 |
8.0.4.3 | 84 | 4/26/2024 |
8.0.4.2 | 72 | 4/26/2024 |
8.0.4.1 | 84 | 4/20/2024 |
8.0.3.5 | 90 | 3/25/2024 |
8.0.3.4 | 92 | 3/14/2024 |
8.0.3.3 | 89 | 3/14/2024 |
8.0.3.2 | 92 | 3/13/2024 |
8.0.3.1 | 92 | 3/13/2024 |
8.0.2.6 | 83 | 2/15/2024 |
8.0.2.5 | 85 | 2/15/2024 |
8.0.2.4 | 81 | 2/15/2024 |
8.0.2.3 | 91 | 2/14/2024 |
8.0.2.2 | 74 | 2/14/2024 |
8.0.2.1 | 77 | 2/14/2024 |
8.0.0.8 | 96 | 1/29/2024 |
8.0.0.7 | 78 | 1/26/2024 |
8.0.0.6 | 78 | 1/26/2024 |
8.0.0.5 | 93 | 1/16/2024 |
8.0.0.4 | 128 | 12/29/2023 |
8.0.0.3 | 110 | 12/21/2023 |
8.0.0.2 | 96 | 12/13/2023 |
8.0.0.2-rc.3 | 118 | 10/25/2023 |
8.0.0.2-rc.2 | 60 | 10/6/2023 |
8.0.0.1 | 149 | 11/19/2023 |
8.0.0.1-rc.1 | 62 | 9/25/2023 |
8.0.0 | 102 | 11/15/2023 |
7.3.13.1 | 120 | 10/25/2023 |
7.3.11.4 | 135 | 10/9/2023 |
7.3.11.3 | 127 | 10/5/2023 |
7.3.11.2 | 122 | 9/21/2023 |
7.3.11.1 | 135 | 9/13/2023 |
7.3.10.1 | 123 | 9/11/2023 |
7.2.10.3 | 141 | 9/6/2023 |
7.2.10.2 | 140 | 9/1/2023 |
7.2.10.1 | 145 | 8/29/2023 |
7.1.10.5 | 158 | 8/24/2023 |
7.1.10.4 | 151 | 8/23/2023 |
7.1.10.3 | 154 | 8/20/2023 |
7.1.10.2 | 155 | 8/20/2023 |
7.1.10.1 | 162 | 8/20/2023 |
7.0.10.4 | 169 | 8/19/2023 |