Pipoburgos.SharedKernel.Infrastructure 7.0.5.8

.NET 6.0 .NET Standard 2.1
dotnet add package Pipoburgos.SharedKernel.Infrastructure --version 7.0.5.8
NuGet\Install-Package Pipoburgos.SharedKernel.Infrastructure -Version 7.0.5.8
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" Version="7.0.5.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pipoburgos.SharedKernel.Infrastructure --version 7.0.5.8
#r "nuget: Pipoburgos.SharedKernel.Infrastructure, 7.0.5.8"
#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 as a Cake Addin
#addin nuget:?package=Pipoburgos.SharedKernel.Infrastructure&version=7.0.5.8

// Install Pipoburgos.SharedKernel.Infrastructure as a Cake Tool
#tool nuget:?package=Pipoburgos.SharedKernel.Infrastructure&version=7.0.5.8

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 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. 
.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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Pipoburgos.SharedKernel.Infrastructure:

Package Downloads
Pipoburgos.SharedKernel.Api

C# DDD Distributed Services Layer

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.5.8 54 5/26/2023
7.0.5.7 47 5/26/2023
7.0.5.6 67 5/22/2023
7.0.5.5 61 5/18/2023
7.0.5.4 54 5/18/2023
7.0.5.3 102 4/22/2023
7.0.5.2 120 4/13/2023
7.0.5.1 97 4/13/2023
7.0.5 111 4/13/2023
7.0.4 177 3/30/2023
7.0.3 200 3/6/2023
7.0.2 263 2/2/2023
7.0.1 279 12/19/2022
7.0.0 443 11/14/2022
6.0.54 511 10/21/2022
6.0.53 530 10/20/2022
6.0.52 505 10/6/2022
6.0.51 511 10/5/2022
6.0.50 562 9/30/2022
6.0.49 602 9/27/2022
6.0.48 598 9/22/2022
6.0.47 602 9/20/2022
6.0.46 653 8/27/2022
6.0.45 655 8/26/2022
6.0.44 625 8/26/2022
6.0.43 648 8/23/2022
6.0.42 598 8/23/2022
6.0.41 642 8/16/2022
6.0.40 637 8/16/2022
6.0.39 638 8/4/2022
6.0.38 629 8/4/2022
6.0.37 605 8/4/2022
6.0.36 620 8/4/2022
6.0.35 606 8/4/2022
6.0.34 667 8/3/2022
6.0.33 628 8/3/2022
6.0.32 655 8/3/2022
6.0.31 637 8/3/2022
6.0.29 696 7/22/2022
6.0.28 677 7/14/2022
6.0.27 683 7/12/2022
6.0.26 687 7/12/2022
6.0.25 687 6/23/2022
6.0.24 700 6/23/2022
6.0.23 675 6/22/2022
6.0.22 678 6/22/2022
6.0.21 671 6/21/2022
6.0.20 712 5/26/2022
6.0.19 711 5/13/2022
6.0.17 755 5/10/2022
6.0.16 729 4/27/2022
6.0.15 802 3/18/2022
6.0.14 772 3/16/2022
6.0.13 875 2/25/2022
6.0.12 813 2/25/2022
6.0.11 871 2/2/2022
6.0.10 841 1/24/2022
6.0.9 851 1/24/2022
6.0.8 806 1/24/2022
6.0.7 827 1/24/2022
6.0.6 806 1/20/2022
6.0.5 851 1/19/2022
6.0.4 599 12/30/2021
6.0.3 711 12/14/2021
6.0.2 689 12/14/2021
6.0.1 765 11/30/2021
6.0.0 2,404 11/26/2021
6.0.0-rc3 144 11/16/2021
6.0.0-rc2 131 11/15/2021
6.0.0-rc1 252 11/10/2021
5.0.41 693 10/31/2021
5.0.40 620 10/20/2021
5.0.39 652 10/8/2021
5.0.35 679 10/6/2021
5.0.34 661 10/6/2021
5.0.33 630 10/5/2021
5.0.32 603 10/5/2021
5.0.31 659 10/4/2021
5.0.30 545 10/4/2021
5.0.29 698 10/2/2021
5.0.28 651 10/2/2021
5.0.27 614 10/2/2021
5.0.26 553 10/2/2021
5.0.25 590 9/28/2021
5.0.24 583 9/22/2021
5.0.23 690 9/11/2021
5.0.22 653 9/10/2021
5.0.21 613 8/29/2021
5.0.20 611 8/9/2021
5.0.19 700 7/21/2021
5.0.18 719 1/10/2021
5.0.17 656 12/30/2020
5.0.16 684 12/21/2020
5.0.15 711 12/19/2020
5.0.14 706 12/19/2020
5.0.13 719 12/18/2020
5.0.12 655 12/12/2020
5.0.11 663 12/10/2020
5.0.10 652 12/9/2020
5.0.9 602 12/9/2020
5.0.8 585 12/9/2020
5.0.7 612 12/9/2020
5.0.6 679 12/7/2020
5.0.5 606 12/7/2020
5.0.4 636 12/7/2020
5.0.3 671 11/24/2020
5.0.2 664 11/24/2020
5.0.1 644 11/18/2020
5.0.0 662 11/14/2020