Commit Graph

6 Commits

Author SHA1 Message Date
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
Aman Bhardwaj ea51561f49
git gui, ading editor config and removing depenency on StyleCop.Analyzers (#228) 2020-02-18 13:21:12 -08:00
Greg Ingram 3d2fbe8b25 Removed unused usings (#122) 2019-10-21 09:53:55 -07:00
Aman Bhardwaj 4fb29e44e3
Changing to Dapr.* (#89)
* Changing to Dapr.*

* Update readme.md

* keeping things signed
2019-10-11 13:42:30 -07:00
Aman Bhardwaj 9b13557131
Updating license to MIT in all .cs files. (#81)
* Updating license to MIT in all .cs files.

* fixing typos
2019-10-08 14:54:46 -07:00
Ryan Nowak 0b08737cb6 Add Actions Client and ASP.NET Core integration (#61)
* DRY up project settings

Moves repetative project settings into Directory.Build.props so they are
not duplicated so much. I'm adding 5-6 new projects when tests are
included, so it makes sense to try and commonize.

* Add .vscode/ to .gitignore

We really have the choice to either check in a standard set of vscode's
files (if that's something the team cares about) - or ignore them so
that it's not noisy for people that use the repo with VS Code.

The former requires more discussion and effort, so ignoring `.vscode/`
for now makes the most sense.

* Add project skeletons

Decoder-ring for projects:

Microsoft.Dapr.Client[.Test] - client and tests
Microsoft.Dapr.AspNetCore[.Test] ASP.NET Core integration and tests
Microsoft.Dapr.AspNetCore.IntegrationTest[.App] integration tests

RoutingSample - sample using route-to-code
ControllerSample - sample using controllers

* Add Microsoft.Dapr.Client

* Add Routing and Controller samples

* Add integration tests for MVC and routing

* Use ValueTask

* Different paradigm for services

* Fix client constructor

* Add readmes for samples

* Updating pipelin yaml to package aspnetcore packages
2019-10-04 22:11:59 -07:00