Commit Graph

13 Commits

Author SHA1 Message Date
Whit Waldo c0d70ff24d
Quality of Life Improvements (#1504)
* Removed unnecessary comment
* Update to use file-level namespaces
* Using target-typed new expression
* QoL improvements to code base - primary constructors on classes and records, use of collection initializers, target-typed new expressions, etc.
* Applied all manner of QoL improvements to Dapr.Client
* Fixed break in example caused by nullability annotation change
* Refactored where streaming subscription example is located in solution to align with packages
* Refactored actor example to modernize
* Modernized example

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2025-04-01 15:24:27 -05:00
Whit Waldo affa797756
Additional commits to drop .NET 6 and 7 (#1486)
* Updated all documentation referring to .NET 6 and .NET 7 to refer instead to .NET 8 and higher.
* Updated minimum langversion to reflect C# 12 (released with .NET 8)

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2025-03-17 02:49:49 -05:00
Whit Waldo d4f9a58198
Drop .NET 6 and .NET 7 support (#1482)
* Updated Directory.Build.props to drop .NET 6 and .NET 7 targets
* Removed explicit .NET targets in favor of using Directory.Build.props
* Added Directory.Build.props for all examples, updated examples to favor targeting this file instead
* Updated README to include missing packages and reflect a few modernization updates (including the new target versions)
* Fixed file numbering in doc
* Fixed comment on global.json to reflect use of the 9.0.100 minimum SDK version
* Removed .net 6 and 7 targets from GitHub build script
* Updated integration test build script to remove .NET 7 and .NET 6 targets

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2025-03-16 23:49:22 -05:00
Whit Waldo 55895fa19d
Updated Dapr runtime/CLI version used in integration tests (#1485)
* Updated itests.yml to use latest 1.15 runtime and CLI versions over 1.14 versions
* Updated CLI argument name as `dapr-http-max-request-size` was changed in a recent update included in the CLI

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2025-03-16 20:14:32 -05:00
Rafael Câmara c61b15d5b1
Remove unused using statements. (#1313)
Signed-off-by: Rafael Camara <rafaelcamarac@gmail.com>
2024-10-24 17:00:09 -05:00
Whit Waldo 236567786e
Removes floating classes and introduces Dapr.Common project (#1365)
Extracting classes out to common project

---------

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-10-16 00:21:52 -05:00
Whit Waldo 0709a586f9 Removed deprecated methods from DaprClient and tests as well as unused types
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-09-03 06:30:41 -05:00
Yash Nisar 17f849b175
Remove .NET Core 3.1 support and standardize on .NET 6 (#1045)
* Remove .NET Core 3.1 support and standardize on .NET 6

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>

* Remove support for .NET 5 as well

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>

---------

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>
2023-08-24 11:04:02 -07:00
Shivam Kumar e7a71c423a
removing Obsolete attribute from config API classes (#1098)
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Co-authored-by: halspang <70976921+halspang@users.noreply.github.com>
2023-05-24 14:05:33 -07:00
halspang 5a7e59fce3
Remove debug statement from configuration example (#949)
Signed-off-by: Hal Spang <halspang@microsoft.com>
2023-01-23 12:04:22 -08:00
amulyavarote 5043b9f8c3
Configuration API changes to support dictionary type response (#943)
* Added config class changes

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changed examples, extension files and tests to support dictionary

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

* Changes based on the review comments

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Co-authored-by: halspang <70976921+halspang@users.noreply.github.com>
2022-09-13 15:10:46 -07:00
halspang cda60cb382
Add Subscribe/Unsubscribe API support (#848)
Add Subscribe/Unsubscribe API support

This commit adds support for both the subscribe and unsubscribe
APIs for Darp's Configuration building block. The configuration can
now be exposed through the AspNet builder pattern or by making the
request directly with the DaprClient.

https://github.com/dapr/dotnet-sdk/issues/822

Signed-off-by: Hal Spang <halspang@microsoft.com>
2022-05-26 14:43:34 -07:00
halspang f5169cbe5f
Add support for the GetConfiguration API (#812)
This commit adds support for the GetConfiguration API. This is an
alpha API and may be subject to change. This commit also does not
cover the Subscribe API for Configurations.

Included is a simple example showing the usage of the Configuration
API.

https://github.com/dapr/dotnet-sdk/issues/787

Signed-off-by: Hal Spang <halspang@microsoft.com>
2022-01-12 17:07:48 -08:00