Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql
6.0.20
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 Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql --version 6.0.20
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql -Version 6.0.20
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.20" />
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.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql, 6.0.20"
#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.20 // Install Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql as a Cake Tool #tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.Azure.Cosmos.Sql&version=6.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- Azure.Identity (>= 1.11.4)
- Microsoft.Azure.Cosmos (>= 3.41.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Rystem.RepositoryFramework.Abstractions (>= 6.0.20)
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 |
---|---|---|
9.0.0 | 28,558 | 11/16/2024 |
9.0.0-rc.1 | 74 | 10/18/2024 |
6.2.0 | 218,960 | 10/9/2024 |
6.1.1 | 97 | 10/9/2024 |
6.1.0 | 47,841 | 9/29/2024 |
6.0.24 | 108 | 9/11/2024 |
6.0.23 | 110 | 7/18/2024 |
6.0.21 | 117 | 6/18/2024 |
6.0.20 | 118 | 6/16/2024 |
6.0.19 | 108 | 6/14/2024 |
6.0.18 | 105 | 6/14/2024 |
6.0.17 | 124 | 6/14/2024 |
6.0.16 | 113 | 6/10/2024 |
6.0.15 | 103 | 6/9/2024 |
6.0.14 | 124 | 5/24/2024 |
6.0.13 | 147 | 5/23/2024 |
6.0.12 | 106 | 5/23/2024 |
6.0.11 | 125 | 5/20/2024 |
6.0.9 | 128 | 5/20/2024 |
6.0.7 | 108 | 5/18/2024 |
6.0.6 | 114 | 5/10/2024 |
6.0.5 | 106 | 5/10/2024 |
6.0.4 | 125 | 4/3/2024 |
6.0.3 | 160 | 3/25/2024 |
6.0.2 | 203 | 3/11/2024 |
6.0.0 | 521 | 11/21/2023 |
6.0.0-rc.6 | 92 | 10/25/2023 |
6.0.0-rc.5 | 80 | 10/25/2023 |
6.0.0-rc.4 | 77 | 10/23/2023 |
6.0.0-rc.3 | 70 | 10/19/2023 |
6.0.0-rc.2 | 75 | 10/18/2023 |
6.0.0-rc.1 | 75 | 10/16/2023 |
5.0.20 | 551 | 9/25/2023 |
5.0.19 | 518 | 9/10/2023 |
5.0.18 | 483 | 9/6/2023 |
5.0.17 | 488 | 9/6/2023 |
5.0.16 | 488 | 9/5/2023 |
5.0.15 | 486 | 9/5/2023 |
5.0.14 | 496 | 9/5/2023 |
5.0.13 | 516 | 9/1/2023 |
5.0.12 | 534 | 8/31/2023 |
5.0.11 | 477 | 8/30/2023 |
5.0.10 | 499 | 8/29/2023 |
5.0.9 | 518 | 8/24/2023 |
5.0.8 | 506 | 8/24/2023 |
5.0.7 | 503 | 8/23/2023 |
5.0.6 | 485 | 8/21/2023 |
5.0.5 | 557 | 8/21/2023 |
5.0.4 | 495 | 8/16/2023 |
5.0.3 | 615 | 8/2/2023 |
5.0.2 | 585 | 8/2/2023 |
5.0.1 | 566 | 8/1/2023 |
5.0.0 | 640 | 7/31/2023 |
4.1.26 | 528 | 7/20/2023 |
4.1.25 | 566 | 7/16/2023 |
4.1.24 | 610 | 6/13/2023 |
4.1.23 | 584 | 6/13/2023 |
4.1.22 | 1,031 | 5/30/2023 |
4.1.21 | 557 | 5/20/2023 |
4.1.20 | 315,696 | 4/19/2023 |
4.1.19 | 95,544 | 3/20/2023 |
4.1.18 | 693 | 3/20/2023 |
4.1.17 | 706 | 3/16/2023 |
4.1.16 | 659 | 3/16/2023 |
4.1.15 | 636 | 3/15/2023 |
4.1.14 | 1,230 | 3/9/2023 |
4.1.13 | 668 | 3/7/2023 |
4.1.12 | 807 | 2/10/2023 |
4.1.11 | 690 | 1/26/2023 |
4.1.10 | 763 | 1/22/2023 |
4.1.9 | 712 | 1/20/2023 |
4.1.8 | 734 | 1/18/2023 |
4.1.7 | 679 | 1/18/2023 |
4.1.6 | 789 | 1/17/2023 |
4.1.1 | 736 | 1/4/2023 |
4.1.0 | 670 | 1/1/2023 |
3.1.5 | 697 | 12/21/2022 |
3.1.3 | 698 | 12/12/2022 |
3.1.2 | 718 | 12/7/2022 |
3.1.1 | 699 | 12/7/2022 |
3.1.0 | 712 | 12/2/2022 |
3.0.29 | 814 | 12/1/2022 |
3.0.28 | 685 | 12/1/2022 |
3.0.27 | 754 | 11/23/2022 |
3.0.25 | 772 | 11/23/2022 |
3.0.24 | 789 | 11/18/2022 |
3.0.23 | 698 | 11/18/2022 |
3.0.22 | 763 | 11/15/2022 |
3.0.21 | 809 | 11/14/2022 |
3.0.20 | 783 | 11/13/2022 |
3.0.19 | 790 | 11/2/2022 |
3.0.18 | 834 | 11/2/2022 |
3.0.17 | 791 | 10/29/2022 |
3.0.16 | 839 | 10/29/2022 |
3.0.15 | 762 | 10/29/2022 |
3.0.14 | 788 | 10/24/2022 |
3.0.13 | 839 | 10/24/2022 |
3.0.12 | 841 | 10/17/2022 |
3.0.11 | 866 | 10/10/2022 |
3.0.10 | 809 | 10/6/2022 |
3.0.9 | 846 | 10/6/2022 |
3.0.8 | 697 | 10/6/2022 |
3.0.7 | 877 | 10/6/2022 |
3.0.6 | 842 | 10/5/2022 |
3.0.5 | 858 | 10/5/2022 |
3.0.4 | 780 | 10/5/2022 |
3.0.3 | 765 | 10/3/2022 |
3.0.2 | 804 | 9/30/2022 |
3.0.1 | 758 | 9/29/2022 |
2.0.16 | 849 | 9/27/2022 |
2.0.15 | 882 | 9/27/2022 |
2.0.14 | 881 | 9/26/2022 |
2.0.13 | 872 | 9/26/2022 |
2.0.12 | 822 | 9/26/2022 |
2.0.11 | 878 | 9/25/2022 |
2.0.10 | 899 | 9/25/2022 |
2.0.9 | 895 | 9/22/2022 |
2.0.8 | 827 | 9/22/2022 |
2.0.6 | 779 | 9/20/2022 |
2.0.5 | 879 | 9/20/2022 |
2.0.4 | 884 | 9/20/2022 |
2.0.2 | 832 | 9/20/2022 |
2.0.1 | 985 | 9/13/2022 |
2.0.0 | 880 | 8/19/2022 |
1.1.24 | 896 | 7/30/2022 |
1.1.23 | 872 | 7/29/2022 |
1.1.22 | 892 | 7/29/2022 |
1.1.21 | 804 | 7/29/2022 |
1.1.20 | 911 | 7/29/2022 |
1.1.19 | 902 | 7/27/2022 |
1.1.17 | 877 | 7/27/2022 |
1.1.16 | 829 | 7/26/2022 |
1.1.15 | 948 | 7/25/2022 |
1.1.14 | 872 | 7/25/2022 |
1.1.13 | 890 | 7/22/2022 |
1.1.12 | 856 | 7/19/2022 |
1.1.11 | 867 | 7/19/2022 |
1.1.10 | 853 | 7/19/2022 |
1.1.9 | 865 | 7/19/2022 |
1.1.8 | 936 | 7/18/2022 |
1.1.7 | 848 | 7/18/2022 |
1.1.6 | 877 | 7/18/2022 |
1.1.5 | 893 | 7/17/2022 |
1.1.4 | 908 | 7/17/2022 |
1.1.3 | 822 | 7/17/2022 |
1.1.2 | 898 | 7/17/2022 |
1.1.0 | 909 | 7/17/2022 |
1.0.2 | 919 | 7/15/2022 |
1.0.1 | 843 | 7/15/2022 |
1.0.0 | 919 | 7/8/2022 |
0.10.7 | 926 | 7/7/2022 |
0.10.2 | 905 | 7/2/2022 |
0.10.1 | 856 | 7/1/2022 |
0.10.0 | 883 | 7/1/2022 |
0.9.10 | 878 | 6/20/2022 |
0.9.9 | 900 | 6/11/2022 |
0.9.7 | 888 | 6/9/2022 |
0.9.6 | 845 | 6/5/2022 |