Граф коммитов

77 Коммитов

Автор SHA1 Сообщение Дата
Hong Li bda2db417d
Enable more SDL tools for this repo (#111) 2024-11-05 14:50:09 -08:00
Duncan Smart d75668c8c8
Fix NRE in InProc store (#98)
Fixes #94
2024-10-25 12:58:54 -07:00
Immo Landwerth 6938c1b384
Merge pull request #110 from terrajobst/add-security-md
Add SECURITY.md
2024-09-13 00:30:28 -07:00
Immo Landwerth 153397fed4 Add SECURITY.md 2024-09-10 16:52:46 -07:00
Zhaodong 7655d1fae1
Updatepipeline (#107)
* Add APIScan Task

* Add APIScan Task
2024-04-02 20:47:38 -07:00
Hong Li 11b2c5015d Update azure-pipeline.yml for Azure Pipelines 2024-03-08 14:12:22 -08:00
Hong Li 06957de321 Update azure-pipeline.yml for Azure Pipelines
add some comments for debugging
add properties for sign
2024-03-08 14:02:28 -08:00
Hong Li a44a6c4369
add yml based pipeline (1ES conversion) (#105) 2024-03-04 22:42:35 -08:00
Steve Molloy 06de5f5270
Update preview -> rtm. (#93) 2023-06-15 15:43:41 -07:00
Steve Molloy 34fcb5704c
Update projects/targets to produce .snupkg packages. (#92) 2023-04-11 18:41:23 -07:00
Steve Molloy 112060a447
Cleanup empty system.webServer/modules elements. (#91) 2023-03-22 23:33:25 -07:00
Steve Molloy 7ae7512b1c
Add SystemTextJsonSerializer to Cosmos client or else Cosmos SDK will use JSON.Net by default. (#90) 2023-03-22 23:33:03 -07:00
Steve Molloy 9cfc91351b
Update config transform doc/comment to include skipKeepAliveWhenUnused. (#89) 2023-03-14 10:47:33 -07:00
Steve Molloy 59159c6c4f
Change method of adding compat-SqlParams. (#88)
* Change method of adding compat-SqlParams.

* Missed a parameter name change.

* Varbinary(max) fixup. Better error message. Remove unused parameter.
2023-03-13 19:06:03 -07:00
Steve Molloy 2bf3836b5e
Only remove what we know is safe to remove. (#87) 2023-03-10 16:00:54 -08:00
Steve Molloy bce548cb14
Fix the parameter names used when calling aspnet_regsql SProcs. (#86) 2023-03-10 10:45:59 -08:00
Steve Molloy e44995db93
Update version in nuget config transforms (#85)
* Update the assembly version used in the nuget config transforms.

* Update 1.1 ==> 2.0 references in documentation as well.
2023-03-08 18:01:39 -08:00
Steve Molloy 8e980e8f0e
Fix refernces to nuget dependencies. (#84) 2023-03-08 16:20:26 -08:00
Steve Molloy 4ce032c5a2
Be consistent with other providers using camel case in Sql provider. (#83) 2023-03-05 21:38:39 -08:00
Steve Molloy 6654e6761c
Rev to 2.0; Fix nuget dependencies. (#82) 2023-03-05 12:00:14 -08:00
Steve Molloy 38c9f19477
Existing record is ok when creating uninitilized state item. (#81) 2023-03-05 11:12:15 -08:00
Steve Molloy 2a591ef097
Add 'skipKeepAliveWhenUnused' to reduce unneeded traffic with session state stores. (#80) 2023-03-03 12:23:13 -08:00
Steve Molloy 452ad61a56
Add 'consistencyLevel' to CosmosDB provider. (#79) 2023-03-03 09:29:03 -08:00
Steve Molloy 0c5a18ce7e Missed doc update. 2023-02-28 20:27:26 -08:00
Steve Molloy b3e6696581
Add 'managedHandler' precondition. (#78) 2023-02-28 17:22:10 -08:00
Steve Molloy 469c667b86
Fix query casing in GetStateItemExclusive for InMemory repositories. (#77) 2023-02-28 16:37:13 -08:00
Steve Molloy 944f5acf34
Doc update. (#76) 2023-02-28 15:58:28 -08:00
Steve Molloy 6c733d697f
Sql provider - Move to SProcs, add durable memory tables, compat mode. (#75) 2023-02-28 15:29:25 -08:00
Steve Molloy d6443c3ad0
Cleaning up test and csproj files a little. (#73) 2023-01-29 20:16:36 -08:00
Steve Molloy 6fce7e2dc9
Correct deserialization of SessionStateAction for Cosmos provider. (#72) 2023-01-29 20:12:11 -08:00
Steve Molloy 3f3a0944f7
Update ProjectUrl in nuspec. (#71) 2023-01-29 19:27:03 -08:00
Steve Molloy 3596409763 Fix a reversed equals in Assert. 2023-01-28 00:11:16 -08:00
Tatsuro Shibamura 8c63305f63
Changed to use Microsoft SqlClient Data Provider (#61)
* Changed to use Microsoft SqlClient Data Provider

* Update to latest `Microsoft.Data.SqlClient` version

---------

Co-authored-by: Steve Molloy <smolloy@microsoft.com>
2023-01-28 00:08:52 -08:00
Steve Molloy d018e704af
Changes from PR #49 from paulomorgado (#70)
* Changes from PR #49 from paulomorgado

* Don't need the pre-pended '@' anymore.

---------

Co-authored-by: Paulo Morgado <470455+paulomorgado@users.noreply.github.com>
2023-01-27 23:16:06 -08:00
Paulo Morgado 43ba8d7cdb
Avoid closure by adding the HttpApllication to TaskAsyncHelpr.BeginTask. (#50)
Co-authored-by: Xi Qian <charlesqx@gmail.com>
2023-01-27 20:31:40 -08:00
Paulo Morgado 259c0590b4
Replace Thread.Sleep with await Task.Delay (#48) 2023-01-27 19:53:59 -08:00
Steve Molloy 37a413e1ee Update tests for SP name change. 2023-01-27 19:45:46 -08:00
Steve Molloy e85f78c7eb
Change SP names to get existing installs to use newly-fixed SP's (#69) 2023-01-27 19:42:02 -08:00
Xi Qian 7183255f1c
Fix CosmosDB stored procedures to use requestOptions in queryDocuments (#43)
Co-authored-by: Xi Qian <xi.qian@claricode.com>
2023-01-27 19:33:48 -08:00
Bouke Haarsma 1e71af07e8
Fix typo (#56) 2023-01-27 19:11:52 -08:00
Steve Molloy 99e0015a7e
Allow pre-provisioned throughput (#68)
* Allowing to use provisioned throughput by setting offerThroughput value to "0".

* Round-about way of re-writing this onto current main, but I wanted to keep the original PR commit in the list for credit.

---------

Co-authored-by: Al Baymar <abaymar@aras.com>
2023-01-27 17:21:42 -08:00
Steve Molloy 37f4c1338a Clean nit. 2023-01-27 16:15:06 -08:00
Steve Molloy 03a8ae8abd
Move from JSON.Net to Sys.Text.Json (#67) 2023-01-27 15:45:15 -08:00
Steve Molloy 9876717d94
Fixes for pr60 (#66)
* Fix some things that were not caught in #60 now that it's rebased on a 'main' that can build and run tests.

* Update docs to match changes.
2023-01-27 11:29:47 -08:00
Tatsuro Shibamura 6bbd98d3a5
Changed to use Cosmos DB .NET SDK v3 (#60)
* Changed to use Cosmos DB .NET SDK v3

* Rename `collection` to `container` according to the latest naming convention

* Drop partition options entirely. Still accept 'collectionId' for compat.

Also revved down the Cosmos SDK version a bit to not force people into upgrading if they have older dependencies. (Probably not for the Cosmos SDK specifically, but requiring a minimum of 1.3 instead of 1.19 for dependencies like Azure.Core is reasonable. It does not prevent folks from using newer versions if they want.)

---------

Co-authored-by: Steve Molloy <smolloy@microsoft.com>
2023-01-27 09:04:21 -08:00
Steve Molloy 402c076826
Update for build pipeline changes (#64)
* Updates for modern build pipeline. Reorganize docs. Update Nuget package authoring.

* Update signing cert.
2023-01-25 10:28:56 -08:00
Xi Qian 4a58f9926f
Update Readme.md (#34)
CosmosDBSessionStateProviderAsync's config should say `partitionKeyPath`. Wrong name would result in partition not enabled.
2020-05-04 14:48:00 -07:00
Immo Landwerth 42b6ff6958
Link Code of Conduct (#38) 2020-04-09 12:53:28 -07:00
Steve Molloy 6a5fe70cd8
Fix CosmosDB tests to handle pre-encoded session data from PR #25. (#28) 2019-06-18 20:29:29 -07:00
Steve Molloy cbd79ba0be
Fix version handling in nupkg config transforms; RTM CosmosDB 1.1. (#27) 2019-06-18 19:31:13 -07:00