Commit Graph

20 Commits

Author SHA1 Message Date
vinayada1 2d83efb4c9
grpc exception handling sample (#427)
* rpc exception handling
2020-10-14 10:15:42 -07:00
Edwin van Wijk 55e168fac3
Add ability to specify default DaprClient options to AddDapr (#394)
* Add fix for issue 390

* Move JsonSerializer defaults to DaprClientBuilder ctor

* Update samples to reflect changes

* Update unit-tests to reflect latest changes

* Remove obsolete using statements

* Change internal fields to internal properties

* Change internal fields to internal properties
2020-09-24 10:36:47 -07:00
Leon Mai 11f6ea45e1
Multi pubsub (#374)
* Prepping for multi pubsub

* Add pubsub name, some cleanup

* multi pubsub changes

Co-authored-by: Aman Bhardwaj <amanbha@microsoft.com>
Co-authored-by: LM <lemai>
2020-08-17 13:58:50 -07:00
Aman Bhardwaj 493cd3fd73
adding a note about IIS express. (#355) 2020-07-31 20:00:22 -07:00
Leon Mai 4afe79fa1a
cli -p is now -d (#325)
Co-authored-by: LM <lemai>
2020-06-08 13:45:23 -07:00
Leon Mai 44ca6496d8
Move to new invoke proto, specify contenttype in response to the dapr… (#295)
* 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>
2020-04-30 11:47:29 -07:00
Steven Knox 4fcc0ae8d1
Add VSCode REST http.sample files (#287)
* Add VSCode REST http.sample files

* Add sample.http usage to docs
2020-04-20 10:18:46 -07:00
Aman Bhardwaj 51fc48fb74
Adding & enhancing client apis over gRPC (#244)
* adding IDAprClient interface

* Adding DaprClientBuilder and adding methods for Publish

* updating the method name for publish

* Adding unit tests for publishevent api

* Removing individual clients for publish

* Renaming base class to DaprClient and implementation calss to DparClientGrpc

* Moving State api to grpc and adding helpers to unittest grpc calls.

* More DaprClient logic

* metadata, etag, options, etc are optional

* Revert "metadata, etag, options, etc are optional"

This reverts commit ea5dc12c5d.

* Default params, 2 new Try- methods, overload refactor for InvokeMethodAsync

* Move some classes/enums to different files.  Documentation

* Code refactor and changing tests to use grpc

* Adding tests with state options

* Adding test for getting etag and state

* More refactoring and adding INvokeBinding test

* Fixing tests and tidying up things.

* Updating solutions for renamed project

* Updating projects for rename.

* Oneclient secret (#245)

* ADding Secret Apis

* Using Task for secret

* Format (#242)

* Updating samples.slm

* awaint the call to grpc in common method so that common error handling can be done there.

* Addressing review comments

* fixing test.sln

* updating prod.sln

* Addressing review comments from James.

* Add doc and example for method invocation on http app

* Updating arg validation.

* Updating example.

Co-authored-by: LM <lemai>
Co-authored-by: Carlos Mendible <cmendible@gmail.com>
2020-03-09 20:52:12 -07:00
Shalabh Mohan Shrivastava 5b8a426e7d
Add support in dotnet client sdk to support multi state store support (#207)
* Including state Store name in the APIs to support multi state store scenario in SDK

* correcting the typo in the comment.

* Respective Changes to the tests

* Changes in StateAttribute and Binder classes to support state store name

* Changes in StateEntryModelBinderTests

* StoreName changes in the Integration test app

* fixing build issues

* Fixing integration tests

* Addressing review comments.

* Addressing review comments

* Updating samples to use correct state store name as generated by dapr cli.

Co-authored-by: Aman Bhardwaj <amanbha@users.noreply.github.com>
2020-02-06 09:06:21 -08:00
Aman Bhardwaj a5078a60c7
Using 127.0.0.1 instead of localhost. (#214)
* Using 127.0.0.1 instead of localhost.

* Updating usage in tests and samples, docs as well.
2020-02-05 12:32:41 -08:00
Aman Bhardwaj 34835a0224
Build for net core 3.1 (#189) 2019-12-16 09:31:25 -08:00
Aman Bhardwaj 9a499176bf Revert "Build for net core 3.1"
This reverts commit bead12b1d8.
2019-12-15 09:59:08 -08:00
Aman Bhardwaj bead12b1d8 Build for net core 3.1 2019-12-13 20:31:08 -08:00
Aman Bhardwaj f10155a1d3
Removing an extra quote from docs. 2019-12-10 09:09:09 -08:00
Aman Bhardwaj 504ee8fb9c
Updating aspnetcore sample docs to include commands for windows (#181) 2019-12-06 17:03:37 -08:00
Greg Ingram 3a7a19c9b1 Edit JSON to uppercase (#168)
* Edit JSON to uppercase

* Updated a few more
2019-11-21 18:01:06 -08:00
Greg Ingram c48a3c814f Capitalize Dapr throughout comments (#161) 2019-11-18 17:35:32 -08:00
Greg Ingram 3d2fbe8b25 Removed unused usings (#122) 2019-10-21 09:53:55 -07:00
Aman Bhardwaj 66107eab0b
ADding launchsettings.json to user port for local launch (#111) 2019-10-17 17:57:48 -07:00
Aman Bhardwaj 5c46ac34da
moving aspnetcore sample to its own folder (#95)
* moving aspnetcore sample to its own app

* Fixing path to project refs
2019-10-13 17:37:32 -07:00