* Use protobuf packaging for the Any type
This pull request implements two converters which help with the type conversion between arbitrary types and the protobuf `Any` type. The C# protobuf library provides a mechanism to pack or unpack protobuf messages to `Any`. It provides the methods `Any.Pack` and `Any.Unpack` to serialize/deserialize messages based on `Google.Protobuf.IMessage`. For types that are not based on `Google.Protobuf.IMessage`, the existing JSON serialization/deserialization will be used.
I've also cleaned the existing codebase a little bit.
Fixes#268
* Fix suggested changes
* 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>
* Remove secret store extension from building
* Remove code
Co-authored-by: LM <lemai>
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
* Include the appcallback.proto into the Dapr.Client package
To implement service invocation for a gRPC API, a user must implement the AppCallback service on the callee site. Currently this must be done by integrating the `appcallpack.proto` file as also the depending `common.proto` file into the gRPC service application. The `Dapr.Client` package contains already the same `common.proto` file to generate the client classes. This results in a CS0433 error, because the `Dapr.Client` package and the generated AppCallback service will contain a `Dapr.Client.Autogen.Grpc.v1` namespace with the exact same classes.
This pull requests integrates the `appcallpack.proto` into the client package. With this fix the user does not need to integrate the proto files by itself.
See: https://gitter.im/Dapr/community?at=5f14b7e98a9a0a08cbab5d53
* Remove specific names
- 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
* #312 - make changes corresponding to change in dapr runtime. The runtime will no longer send an activate message. The SDK should 'activate' an actor anytime it receives an actor method call
* spaces
* remove comment'
Co-authored-by: LM <lemai>
* Returning routes for pubsub from aspnetcore integration.
* adding ref to System.IO.Pipelines
* updating tests
* not using RawText, using segments in route.
* fixing tests
* Logging a warning for routes with parameters
* Using ILoggerFactory
* Using EndpointRputeBuilder and correcting the order of middleware chaining.
* Moving app.UseRouting after next(app)
* Using endpoints.MapHealthChecks to allow for extensibility on health checks
* Move to new invoke proto, specify contenttype in response to the dapr/config message, clarify sample
* Update for additional proto changes
* cr
Co-authored-by: LM <lemai>
* Added invoke example for RoutingSample.
* Added .NET samples for Service Invokation vis POST, GET and Events.
* Removed unused code.
* comments changed
* Removed obsolete method InvokeMethodOnHttpServiceAsync
* Code samples simplified
* Added curl for Linux and MacOS
Co-authored-by: Damir Dobric <ddobric@daenet.com>
* #275 document + example for ConfigureActorSettings()
* make bold
Co-authored-by: LM <lemai>
Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
* 219 Support the granular Actor config such as actor idle time
* cleanup
* cr
* cr
* refactor
* remove now dead code
* Move setter into properties
Co-authored-by: LM <lemai>
* Revert "Allows the DaprClient to work with mTLS enabled grpc endpoint when https endpoint is provided (#263)"
This reverts commit e0a3d9302a.
* exposes option to provide grpcchannel options to allow more customization by users.
* removing extra spaces