Pipoburgos.SharedKernel.Infrastructure.NetJson
8.0.0.5
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.NetJson --version 8.0.0.5
NuGet\Install-Package Pipoburgos.SharedKernel.Infrastructure.NetJson -Version 8.0.0.5
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.NetJson" Version="8.0.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pipoburgos.SharedKernel.Infrastructure.NetJson --version 8.0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pipoburgos.SharedKernel.Infrastructure.NetJson, 8.0.0.5"
#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.NetJson as a Cake Addin
#addin nuget:?package=Pipoburgos.SharedKernel.Infrastructure.NetJson&version=8.0.0.5
// Install Pipoburgos.SharedKernel.Infrastructure.NetJson as a Cake Tool
#tool nuget:?package=Pipoburgos.SharedKernel.Infrastructure.NetJson&version=8.0.0.5
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 is compatible. 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 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. 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.
-
.NETFramework 4.6.2
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETFramework 4.7
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETFramework 4.7.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETFramework 4.7.2
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETFramework 4.8
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
net6.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
net7.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Pipoburgos.SharedKernel.Application (>= 8.0.0.5)
- System.Text.Json (>= 8.0.1)
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 | 52 | 5/1/2024 |
8.0.4.6 | 68 | 4/29/2024 |
8.0.4.5 | 76 | 4/27/2024 |
8.0.4.4 | 75 | 4/27/2024 |
8.0.4.3 | 71 | 4/26/2024 |
8.0.4.2 | 61 | 4/26/2024 |
8.0.4.1 | 83 | 4/20/2024 |
8.0.3.5 | 86 | 3/25/2024 |
8.0.3.4 | 91 | 3/14/2024 |
8.0.3.3 | 81 | 3/14/2024 |
8.0.3.2 | 91 | 3/13/2024 |
8.0.3.1 | 87 | 3/13/2024 |
8.0.2.6 | 80 | 2/15/2024 |
8.0.2.5 | 75 | 2/15/2024 |
8.0.2.4 | 79 | 2/15/2024 |
8.0.2.3 | 81 | 2/14/2024 |
8.0.2.2 | 73 | 2/14/2024 |
8.0.2.1 | 75 | 2/14/2024 |
8.0.0.8 | 92 | 1/29/2024 |
8.0.0.7 | 72 | 1/26/2024 |
8.0.0.6 | 82 | 1/26/2024 |
8.0.0.5 | 101 | 1/16/2024 |
8.0.0.4 | 127 | 12/29/2023 |
8.0.0.3 | 103 | 12/21/2023 |
8.0.0.2 | 107 | 12/13/2023 |
8.0.0.2-rc.3 | 117 | 10/25/2023 |
8.0.0.2-rc.2 | 63 | 10/6/2023 |
8.0.0.1 | 159 | 11/19/2023 |
8.0.0.1-rc.1 | 62 | 9/25/2023 |
8.0.0 | 97 | 11/15/2023 |
7.3.13.1 | 144 | 10/25/2023 |
7.3.11.4 | 140 | 10/9/2023 |
7.3.11.3 | 124 | 10/5/2023 |
7.3.11.2 | 131 | 9/21/2023 |
7.3.11.1 | 150 | 9/13/2023 |
7.3.10.1 | 156 | 9/11/2023 |
7.2.10.3 | 161 | 9/6/2023 |
7.2.10.2 | 143 | 9/1/2023 |
7.2.10.1 | 183 | 8/29/2023 |
7.1.10.5 | 152 | 8/24/2023 |
7.1.10.4 | 139 | 8/23/2023 |
7.1.10.3 | 174 | 8/20/2023 |
7.1.10.2 | 183 | 8/20/2023 |
7.1.10.1 | 175 | 8/20/2023 |
7.0.10.4 | 160 | 8/20/2023 |