Pipoburgos.SharedKernel.Infrastructure 6.0.21

There is a newer version of this package available.
See the version list below for details.
dotnet add package Pipoburgos.SharedKernel.Infrastructure --version 6.0.21
NuGet\Install-Package Pipoburgos.SharedKernel.Infrastructure -Version 6.0.21
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="6.0.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pipoburgos.SharedKernel.Infrastructure --version 6.0.21
#r "nuget: Pipoburgos.SharedKernel.Infrastructure, 6.0.21"
#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=6.0.21

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

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 is compatible.  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 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.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
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.

NuGet packages (10)

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

Package Downloads
Pipoburgos.SharedKernel.Api

C# DDD Distributed Services Layer

Pipoburgos.SharedKernel.Infrastructure.ActiveMq

ActiveMq infrastructure implementations

Pipoburgos.SharedKernel.Infrastructure.EntityFrameworkCore

EntityFrameworkCore infrastructure implementations

Pipoburgos.SharedKernel.Infrastructure.NPOI

NPOI infrastructure implementations

Pipoburgos.SharedKernel.Infrastructure.Elasticsearch

Elasticsearch infrastructure implementations

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.4.1 301 4/20/2024
8.0.3.5 427 3/25/2024
8.0.3.4 414 3/14/2024
8.0.3.3 379 3/14/2024
8.0.3.2 355 3/13/2024
8.0.3.1 397 3/13/2024
8.0.2.6 463 2/15/2024
8.0.2.5 469 2/15/2024
8.0.2.4 459 2/15/2024
8.0.2.3 432 2/14/2024
8.0.2.2 451 2/14/2024
8.0.2.1 451 2/14/2024
8.0.0.8 547 1/29/2024
8.0.0.7 462 1/26/2024
8.0.0.6 481 1/26/2024
8.0.0.5 527 1/16/2024
8.0.0.4 530 12/29/2023
8.0.0.3 568 12/21/2023
8.0.0.2 562 12/13/2023
8.0.0.2-rc.3 119 10/25/2023
8.0.0.2-rc.2 54 10/6/2023
8.0.0.1 637 11/19/2023
8.0.0.1-rc.1 58 9/25/2023
8.0.0 577 11/15/2023
7.3.13.1 614 10/25/2023
7.3.11.4 657 10/9/2023
7.3.11.3 609 10/5/2023
7.3.11.2 703 9/21/2023
7.3.11.1 712 9/13/2023
7.3.10.1 772 9/11/2023
7.2.10.3 800 9/6/2023
7.2.10.2 782 9/1/2023
7.2.10.1 735 8/29/2023
7.1.10.5 716 8/24/2023
7.1.10.4 730 8/23/2023
7.1.10.3 878 8/20/2023
7.1.10.2 823 8/20/2023
7.1.10.1 879 8/20/2023
7.0.10.4 943 8/18/2023
7.0.10.3 165 8/17/2023
7.0.10.2 167 8/16/2023
7.0.10.1 174 8/9/2023
7.0.9.3 176 8/2/2023
7.0.9.2 149 8/2/2023
7.0.9.1 153 8/2/2023
7.0.8.2 200 7/11/2023
7.0.8.1 210 6/27/2023
7.0.7.3 175 6/21/2023
7.0.7.2 189 6/19/2023
7.0.7.1 189 6/14/2023
7.0.5.11 190 6/13/2023
7.0.5.10 162 6/12/2023
7.0.5.9 191 6/12/2023
7.0.5.8 193 5/26/2023
7.0.5.7 185 5/26/2023
7.0.5.6 185 5/22/2023
7.0.5.5 208 5/18/2023
7.0.5.4 184 5/18/2023
7.0.5.3 248 4/22/2023
7.0.5.2 253 4/13/2023
7.0.5.1 235 4/13/2023
7.0.5 248 4/13/2023
7.0.4 310 3/30/2023
7.0.3 332 3/6/2023
7.0.2 420 2/2/2023
7.0.1 400 12/19/2022
7.0.0 599 11/14/2022
6.0.54 657 10/21/2022
6.0.53 647 10/20/2022
6.0.52 639 10/6/2022
6.0.51 622 10/5/2022
6.0.50 682 9/30/2022
6.0.49 737 9/27/2022
6.0.48 700 9/22/2022
6.0.47 751 9/20/2022
6.0.46 760 8/27/2022
6.0.45 781 8/26/2022
6.0.44 750 8/26/2022
6.0.43 763 8/23/2022
6.0.42 721 8/23/2022
6.0.41 747 8/16/2022
6.0.40 749 8/16/2022
6.0.39 768 8/4/2022
6.0.38 755 8/4/2022
6.0.37 745 8/4/2022
6.0.36 746 8/4/2022
6.0.35 747 8/4/2022
6.0.34 795 8/3/2022
6.0.33 756 8/3/2022
6.0.32 805 8/3/2022
6.0.31 753 8/3/2022
6.0.29 813 7/22/2022
6.0.28 805 7/14/2022
6.0.27 810 7/12/2022
6.0.26 806 7/12/2022
6.0.25 832 6/23/2022
6.0.24 837 6/23/2022
6.0.23 789 6/22/2022
6.0.22 804 6/22/2022
6.0.21 788 6/21/2022
6.0.20 847 5/26/2022
6.0.19 827 5/13/2022
6.0.17 874 5/10/2022
6.0.16 867 4/27/2022
6.0.15 933 3/18/2022
6.0.14 881 3/16/2022
6.0.13 1,006 2/25/2022
6.0.12 938 2/25/2022
6.0.11 971 2/2/2022
6.0.10 970 1/24/2022
6.0.9 977 1/24/2022
6.0.8 944 1/24/2022
6.0.7 947 1/24/2022
6.0.6 936 1/20/2022
6.0.5 962 1/19/2022
6.0.4 715 12/30/2021
6.0.3 841 12/14/2021
6.0.2 819 12/14/2021
6.0.1 889 11/30/2021
6.0.0 2,545 11/26/2021
6.0.0-rc3 223 11/16/2021
6.0.0-rc2 212 11/15/2021
6.0.0-rc1 347 11/10/2021
5.0.41 805 10/31/2021
5.0.40 736 10/20/2021
5.0.39 756 10/8/2021
5.0.35 786 10/6/2021
5.0.34 774 10/6/2021
5.0.33 751 10/5/2021
5.0.32 706 10/5/2021
5.0.31 766 10/4/2021
5.0.30 663 10/4/2021
5.0.29 809 10/2/2021
5.0.28 763 10/2/2021
5.0.27 722 10/2/2021
5.0.26 650 10/2/2021
5.0.25 694 9/28/2021
5.0.24 687 9/22/2021
5.0.23 815 9/11/2021
5.0.22 766 9/10/2021
5.0.21 730 8/29/2021
5.0.20 733 8/9/2021
5.0.19 801 7/21/2021
5.0.18 845 1/10/2021
5.0.17 788 12/30/2020
5.0.16 812 12/21/2020
5.0.15 821 12/19/2020
5.0.14 824 12/19/2020
5.0.13 854 12/18/2020
5.0.12 769 12/12/2020
5.0.11 778 12/10/2020
5.0.10 778 12/9/2020
5.0.9 692 12/9/2020
5.0.8 699 12/9/2020
5.0.7 721 12/9/2020
5.0.6 808 12/7/2020
5.0.5 704 12/7/2020
5.0.4 743 12/7/2020
5.0.3 796 11/24/2020
5.0.2 785 11/24/2020
5.0.1 744 11/18/2020
5.0.0 783 11/14/2020