Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql 6.0.21

dotnet add package Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql --version 6.0.21
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql -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="Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql" Version="6.0.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql --version 6.0.21
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql, 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 Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql as a Cake Addin
#addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql&version=6.0.21

// Install Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql as a Cake Tool
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql&version=6.0.21

What is Rystem?

Integration with Azure Cosmos Sql and Repository Framework

Example from unit test with a business integration too.

 await services
    .AddRepositoryAsync<AppUser, AppUserKey>(async builder =>
        {
            await builder.WithCosmosSqlAsync(x =>
            {
                x.Settings.ConnectionString = configuration["ConnectionString:CosmosSql"];
                x.Settings.DatabaseName = "unittestdatabase";
                x.WithId(x => new AppUserKey(x.Id));
            }).NoContext();
        builder
            .AddBusiness()
            .AddBusinessBeforeInsert<AppUserBeforeInsertBusiness>()
            .AddBusinessBeforeInsert<AppUserBeforeInsertBusiness2>();
    }).NoContext();

You found the IRepository<AppUser, AppUserKey> in DI to play with it.

Automated api with Rystem.RepositoryFramework.Api.Server package

With automated api, you may have the api implemented with your cosmos sql integration. You need only to add the AddApiFromRepositoryFramework and UseApiForRepositoryFramework

 builder.Services.AddApiFromRepositoryFramework()
    .WithDescriptiveName("Repository Api")
    .WithPath(Path)
    .WithSwagger()
    .WithVersion(Version)
    .WithDocumentation()
    .WithDefaultCors("http://example.com");  

var app = builder.Build();

app.UseApiFromRepositoryFramework()
    .WithNoAuthorization();
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
6.0.21 79 6/18/2024
6.0.20 80 6/16/2024
6.0.19 70 6/14/2024
6.0.18 70 6/14/2024
6.0.17 73 6/14/2024
6.0.16 65 6/10/2024
6.0.15 67 6/9/2024
6.0.14 91 5/24/2024
6.0.13 82 5/23/2024
6.0.12 72 5/23/2024
6.0.11 75 5/20/2024
6.0.9 90 5/20/2024
6.0.7 79 5/18/2024
6.0.6 69 5/10/2024
6.0.5 78 5/10/2024
6.0.4 97 4/3/2024
6.0.3 122 3/25/2024
6.0.2 172 3/11/2024
6.0.0 495 11/21/2023
6.0.0-rc.6 77 10/25/2023
6.0.0-rc.5 66 10/25/2023
6.0.0-rc.4 64 10/23/2023
6.0.0-rc.3 57 10/19/2023
6.0.0-rc.2 60 10/18/2023
6.0.0-rc.1 60 10/16/2023
5.0.20 523 9/25/2023
5.0.19 494 9/10/2023
5.0.18 456 9/6/2023
5.0.17 461 9/6/2023
5.0.16 457 9/5/2023
5.0.15 461 9/5/2023
5.0.14 469 9/5/2023
5.0.13 489 9/1/2023
5.0.12 508 8/31/2023
5.0.11 451 8/30/2023
5.0.10 475 8/29/2023
5.0.9 493 8/24/2023
5.0.8 478 8/24/2023
5.0.7 478 8/23/2023
5.0.6 460 8/21/2023
5.0.5 532 8/21/2023
5.0.4 468 8/16/2023
5.0.3 589 8/2/2023
5.0.2 557 8/2/2023
5.0.1 541 8/1/2023
5.0.0 616 7/31/2023
4.1.26 500 7/20/2023
4.1.25 542 7/16/2023
4.1.24 578 6/13/2023
4.1.23 558 6/13/2023
4.1.22 953 5/30/2023
4.1.21 532 5/20/2023
4.1.20 315,670 4/19/2023
4.1.19 95,520 3/20/2023
4.1.18 666 3/20/2023
4.1.17 681 3/16/2023
4.1.16 636 3/16/2023
4.1.15 607 3/15/2023
4.1.14 1,210 3/9/2023
4.1.13 644 3/7/2023
4.1.12 783 2/10/2023
4.1.11 667 1/26/2023
4.1.10 735 1/22/2023
4.1.9 687 1/20/2023
4.1.8 707 1/18/2023
4.1.7 655 1/18/2023
4.1.6 766 1/17/2023
4.1.1 710 1/4/2023
4.1.0 646 1/1/2023
3.1.5 673 12/21/2022
3.1.3 672 12/12/2022
3.1.2 691 12/7/2022
3.1.1 674 12/7/2022
3.1.0 688 12/2/2022
3.0.29 785 12/1/2022
3.0.28 657 12/1/2022
3.0.27 713 11/23/2022
3.0.25 735 11/23/2022
3.0.24 766 11/18/2022
3.0.23 676 11/18/2022
3.0.22 727 11/15/2022
3.0.21 788 11/14/2022
3.0.20 759 11/13/2022
3.0.19 765 11/2/2022
3.0.18 792 11/2/2022
3.0.17 770 10/29/2022
3.0.16 813 10/29/2022
3.0.15 742 10/29/2022
3.0.14 761 10/24/2022
3.0.13 815 10/24/2022
3.0.12 819 10/17/2022
3.0.11 846 10/10/2022
3.0.10 780 10/6/2022
3.0.9 822 10/6/2022
3.0.8 674 10/6/2022
3.0.7 855 10/6/2022
3.0.6 821 10/5/2022
3.0.5 833 10/5/2022
3.0.4 759 10/5/2022
3.0.3 743 10/3/2022
3.0.2 782 9/30/2022
3.0.1 734 9/29/2022
2.0.16 825 9/27/2022
2.0.15 857 9/27/2022
2.0.14 859 9/26/2022
2.0.13 849 9/26/2022
2.0.12 796 9/26/2022
2.0.11 852 9/25/2022
2.0.10 873 9/25/2022
2.0.9 870 9/22/2022
2.0.8 800 9/22/2022
2.0.6 755 9/20/2022
2.0.5 854 9/20/2022
2.0.4 861 9/20/2022
2.0.2 808 9/20/2022
2.0.1 960 9/13/2022
2.0.0 855 8/19/2022
1.1.24 869 7/30/2022
1.1.23 842 7/29/2022
1.1.22 863 7/29/2022
1.1.21 779 7/29/2022
1.1.20 879 7/29/2022
1.1.19 872 7/27/2022
1.1.17 849 7/27/2022
1.1.16 805 7/26/2022
1.1.15 922 7/25/2022
1.1.14 846 7/25/2022
1.1.13 856 7/22/2022
1.1.12 833 7/19/2022
1.1.11 836 7/19/2022
1.1.10 822 7/19/2022
1.1.9 837 7/19/2022
1.1.8 913 7/18/2022
1.1.7 822 7/18/2022
1.1.6 847 7/18/2022
1.1.5 863 7/17/2022
1.1.4 881 7/17/2022
1.1.3 792 7/17/2022
1.1.2 851 7/17/2022
1.1.0 884 7/17/2022
1.0.2 889 7/15/2022
1.0.1 816 7/15/2022
1.0.0 893 7/8/2022
0.10.7 895 7/7/2022
0.10.2 874 7/2/2022
0.10.1 825 7/1/2022
0.10.0 857 7/1/2022
0.9.10 852 6/20/2022
0.9.9 865 6/11/2022
0.9.7 858 6/9/2022
0.9.6 816 6/5/2022