- Adds a new message handler for HttpClient interop
- Adds an easy way to create HttpClient instances
- A bunch of sample cleanup/polish/simplification
The main thing here is the added ability to interop with HttpClient. We'll be making some future changes to the service invocation APIs in DaprClient to address dapr/dapr#2342 since that issues greatly simplifies the interface we're dealing with.
Fixes: #526
Fixes: #434
This change introduces new APIs for registering Actors DI and with
the HTTP pipeline based on the ASP.NET Core Startup.cs model. This
replaces `UseActors()` in Program.cs and delivers better integration
between the ASP.NET Core framework and Actors.
The bug that motivated this change was that the actors HTTP handlers
were separate from the application's main routing table. This meant that
certain routing patterns were totally broken (such as Blazor Server)
when used in the same project as actors. There was no real way to fix
this without a change in how we register the framework to make it more
consistent with other features that build on ASP.NET Core.
* added missing dapr port parameter
added version number to 'add package' calls
* Calculator Sample
* Revert "Calculator Sample"
This reverts commit ec4b7af03b.
* add missing hyphen on port param
Co-authored-by: Garret Magin <garretm@microsoft.com>
* removed dll from `dotnet run` call
* updated version to `0.9.0-preview01`
* added note to use latest nuget version
Co-authored-by: Nico Meisenzahl <nico@meisenzahl.org>
Co-authored-by: André Ratzenberger <andre.ratzenberger@whiteduck.de>
Co-authored-by: Garret Magin <garretm@microsoft.com>
- Explicitly specify netcoreapp3.1 on project creation
- Remove documentation section on updating to netcoreapp3.0 which is obsolte
- Fix missing using statements in MyActoreService code updates
* #275 document + example for ConfigureActorSettings()
* make bold
Co-authored-by: LM <lemai>
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
* Refactored ActorRuntime to allow testing.
* Add test for inferred actor type.
* Add RegisterActor() overload.
* Consolidate RegisterActor() implementations.
* Refactor to make type still intrinsic to actor implementation.
* Update docs.
* Revert error codes change.
* Updates per PR feedback.
* Add warning to ActorRuntime constructor.
* add missing dir change
* standardized actor namespace
Brought dotnet new command example inline with namespace and dapr run command
* Added startup.cs
Show example startup.cs without all the MVC defaults from dotnet new
* update class lib to 3.0
by default dotnet new classlib uses standard 2.0 all Dapr.Actors targets netcoreapp3.0
* Updating actors get started.
* Updating .netcore version in prereq
* REmoving specific versions of nugets from doc
* Updating samples readme.md to use dapr
* Updating sample docs
* Updating samples readme.
* renaming action to dapr