Commit Graph

24 Commits

Author SHA1 Message Date
Whit Waldo aa70c5bb5d
Added text specific to Dapr Actors serialization about polymorphic attributes necessary for System.Text.Json support (#1498)
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2025-04-01 17:16:01 -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 da01dcd644
Support .NET 9 (#1404)
* Updated build and integration test scripts to include .NET 9

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed unused matrix values

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Reverted some .NET 8 requirement

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updated setup-dotnet to use latest action version + updated script to prefer a GA release, but use RC if available.

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed unnecessary secondary build step

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updating TFM moniker

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added test to install VStest

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Rolling back use of tool as it doesn't independently exist outside of the SDK

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added .NET 9 to build targets

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added .NET 9 to target frameworks across solution

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* I understand the reason for the required install step now - adding it back with a .NET 9 install step

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Placing install steps before build

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updating global.json

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Disabled analyzer errors in unit tests

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added .NET 9 to test

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Changed from #pragma error to #pragma warning

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Fixed unit tests to resolve analyzer warning

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updated integration test to always include .NET 8 and .NET 9 installs

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Falling back to add separate .NET 9 support
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updated referenced projects to target appropriate frameworks

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added all target frameworks back to Dapr.Commono

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added warnings to fix nullability analyzer warnings when targeting .NET 6

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updated build step to use .NET 9 instead

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Fixed cloud event middleware tests - the ApplicationBuilder requires a non-null ServiceProvider per https://learn.microsoft.com/en-us/dotnet/core/compatibility/extensions/8.0/activatorutilities-createinstance-null-provider

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Including target for .NET 6, 7, 8 and 9

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Trialing fix to E2E integration test - excluding use of AppWebApplicationFactory in favor of direct use of HttpClient

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Reverting as it breaks the other .NET versions

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Potentially fixed unit tests in .NET 9

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed extra line from build definition

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Updated documentation to reflect .NET 9 and a note highlighting that .NET 6 and .NET 7 will be deprecated in v1.16

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed unintentionally added file to commit

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added .NET 9 to E2E test setup

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Fixed typo

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed RC version from .NET 9 build

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Apparently the solution file got a minor change

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed unnecessary null checks

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Whoops - didn't mean to commit that project to the solution

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>

---------

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-12-03 23:50:42 -06:00
Whit Waldo 1e148874bb
Updating actor serialization documentation (#1371)
* Changed headers, updated introduction to reflect the difference in serialization between either type and added a brief section to detail the use of System.Text.Json for weakly-typed Dapr actor clients and to point to official documentation on it

---------

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-10-18 02:56:12 -05:00
Phillip Hoff 74f6b0127f
Merge 1.14 release branch back into `master`. (#1337) 2024-08-21 23:47:39 -07:00
Whit Waldo 31af35b6c6
Updated to reflect latest guidance to register endpoints via top-level route registrations (#1262)
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-04-08 09:52:09 -07:00
Whit Waldo d023a43ba4
Added documentation detailing how serialization works using the DataContract serialization framework. (#1222)
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-01-26 10:34:12 -08:00
Henrik Karström 0511b733a3
Fix example dotnet-actors-howto.md (#1218)
Fix example output to not repeat "Success"

Signed-off-by: Henrik Karström <henrik.karstrom@gmail.com>
Co-authored-by: halspang <70976921+halspang@users.noreply.github.com>
2024-01-05 16:59:48 -08:00
Shivam Kumar f4e02df980
adding get actor reminder API in docs (#1113)
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-07-21 14:15:42 -07:00
Hannah Hunter 2449bcd669
remove invalid code line (#1127)
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
2023-07-18 12:51:12 -07:00
Hannah Hunter 45e6e43388
[docs] Add section for workflow (#1031)
* add section for workflow in .NET SDK docs

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* add initial draft

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* edit from Mark

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* quick pass and update from hal and chris

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
2023-02-27 10:59:12 -08:00
Hannah Hunter e87b9ad6ee
remove version flags per docs issue (#960)
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
2022-10-17 10:39:16 -07:00
amulyavarote 990139e5e3
Added actor method exception details docs (#950)
* Added actor method exception details docs

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>
2022-09-15 17:40:02 -07:00
Hannah Hunter c260680f26
[Docs refresh] Actors section refresh (#918)
* grammar and readability to actors section

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove server section

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
Co-authored-by: halspang <70976921+halspang@users.noreply.github.com>
2022-09-13 13:10:09 -07:00
stulzq 1f7f200179 Fix typo in .NET SDK docs 2021-07-13 11:55:01 -07:00
Jonathan Dickinson 2c98cdd766 docs fix: only UseHttpsRedirection for non-dev env
Moved the UseHttpsRedirection to the else block of the IsDevelopment
check, and add a comment describing why.

The Dapr runtime reports and error and aborts the request after an HTTP
redirection. By default ASP.Net Core uses port 5000 for HTTP, and port
5001 for HTTPs. This means that if the instructions are followed exactly
the example won't work. The VSCode extension also breaks.
2021-07-13 11:36:54 -07:00
Tom Kerkhove fe1e697af3
Fix typos in .NET Actor client docs (#690) 2021-06-01 16:22:08 -07:00
Nick Greenfield 5a84326f3d Use correct method call (AddActors) for registering Actors. 2021-05-13 13:17:05 -07:00
jasonviviano dd218400b5 Fix Typo 2021-05-06 13:31:34 -04:00
Aaron Crawfis fadb6c2654 Update actors docs 2021-04-01 10:02:50 -07:00
Aaron Crawfis 6160c29cbd
Fix docs links (#635) 2021-03-16 20:55:46 -07:00
Ryan Nowak 4baad5453f
Improve actor getting started and add more docs (#623)
* Improve actor getting started and add more docs

Fixes: #546
Fixes: #612

This change runs through the getting started docs and improves trims all
of the unnecessary fat. I've reorganized all of the details that aren't
relevant as part of the first tutorial into separate docs.

I've also fleshed out all of the content we have to be relevant to a new
user and added new sections like DI and logging.

* Update daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-howto.md

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-howto.md

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-howto.md

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update daprdocs/content/en/dotnet-sdk-docs/dotnet-actors/dotnet-actors-howto.md

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
2021-03-15 13:38:27 -07:00
Aaron Crawfis 5f5326b83f Remove blank files 2021-02-24 11:23:46 -08:00
Aaron Crawfis eb568116e5
SDK Docs (#572)
* Setup dapr docs content

* Update SDK docs for new format

* Update daprdocs/content/en/dotnet-sdk-contributing/dotnet-contributing.md

Co-authored-by: Ryan Nowak <nowakra@gmail.com>

* Update daprdocs/content/en/dotnet-sdk-contributing/dotnet-contributing.md

Co-authored-by: Ryan Nowak <nowakra@gmail.com>

* Update python reference

* Update samples to examples

* Update layout

* Update prereqs

* Apply correct branding for .NET Core vs .NET

* Update examples/Client/StateManagement/README.md

* fix solution file

Co-authored-by: Ryan Nowak <nowakra@gmail.com>
2021-02-16 22:15:33 -08:00