* 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>
* 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>
* 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>
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>
* 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>
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.
* Improve actor getting started and add more docs
Fixes: #546Fixes: #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>