Commit Graph

284 Commits

Author SHA1 Message Date
Aman Bhardwaj bead12b1d8 Build for net core 3.1 2019-12-13 20:31:08 -08:00
James Eastham 5562d0d64b Issue 184 (#185)
* Add InvokeClient and InvokeHttpClient dapr #184

* Add tests for InvokeHttpClient dapr#184

* Update namespace of InvokeHttpClient  dapr#184

* Add DI of InvokeHttpClient dapr#184

* Resolve code format issues dapr#184

* Remove InvokeEnvelope and add params to InvokeMethod dapr#184

* Update method signature to use generic types for Request/Response dapr#184

* Update parameter in data null check dapr#184
2019-12-13 10:05:17 -08:00
Aman Bhardwaj f10155a1d3
Removing an extra quote from docs. 2019-12-10 09:09:09 -08:00
Greg Ingram 413f6c777f Update error codes usage in dotnet-sdk (#175)
* Update error codes

* Added missing error enums

* Attempt to group
2019-12-09 17:44:06 -08:00
Aman Bhardwaj 504ee8fb9c
Updating aspnetcore sample docs to include commands for windows (#181) 2019-12-06 17:03:37 -08:00
Aman Bhardwaj 21c88f8795
Making Serialization, Deserialization of ReminderInfo, Timer async and using System.Text.Json for Reminder, Timer and State, (#178)
* Making Serialization, Deserialization of ReminderInfo, Timer async and using System.Text.Json for Reminder, Timer and State,

* Updating tests.

* Addressing review comment: Passing stream directly to serializer.

* Removing dependency on Newtonsoft.Json

* Revert "Removing dependency on Newtonsoft.Json"

This reverts commit 0315781bd0.
2019-12-04 11:39:39 -08:00
Aman Bhardwaj 6a52323822
Fixing Unregisterin of timers (#176) 2019-12-03 14:13:12 -08:00
Greg Ingram 0ea56da823 Removed double word (#174) 2019-11-30 22:54:19 -08:00
Greg Ingram 4d02d0a1fa Fixed typo (#172) 2019-11-25 15:59:28 -08:00
Phillip Hoff 916d552279 Allow explicit actor type (#165)
* 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.
2019-11-25 09:30:18 -08:00
Ross McDermott 7875ef3da9 Fix spelling mistake (#169) 2019-11-21 18:17:26 -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
Felix Svensson 8af6fb038e Updated summary on classes (#166)
* updated description of actor service

* Updated summary for IActorService
2019-11-20 20:37:31 -08:00
Greg Ingram c48a3c814f Capitalize Dapr throughout comments (#161) 2019-11-18 17:35:32 -08:00
Shalabh Mohan Shrivastava 836d959f0b
Making the application port change to 5000 in launch settings (#160) 2019-11-18 14:42:15 -08:00
Aman Bhardwaj 2a2ba8acbd
Updating the app port to 5001 2019-11-18 14:03:43 -08:00
Greg Ingram 0092200d18 Fix format wording (#158) 2019-11-18 09:58:51 -08:00
Greg Ingram 07324ec059 Remove unneeded ToString methods (#157) 2019-11-18 09:45:35 -08:00
Ryan Nowak fedfd4a50a Make Stylecop.Analyzers a private dependency (#156)
Fixes: #155

This will prevent Stylecop.Analyzers from being pulled in as a
dependency transitively.
2019-11-18 09:39:30 -08:00
Yaron Schneider 7bd1b6ac50
Merge pull request #152 from dapr/shalabhms-patch-1
Changing the application port to 5000
2019-11-14 22:14:38 -08:00
Shalabh Mohan Shrivastava d70ba80ead
Changing the application port to 5000
Changing the application port to 5000
2019-11-14 22:13:11 -08:00
Shalabh Mohan Shrivastava 530a6c730e Update Readme to correct the RepoRoot (#151)
Update Readme to correct the RepoRoot
2019-11-14 18:27:26 -08:00
Shalabh Mohan Shrivastava 5b7a5dd2b7
Updating the nuget version to 0.2.0 (#150) 2019-11-14 16:18:48 -08:00
Aman Bhardwaj df97181ba4
Changing AddDapr to return IMvcBuilde (#147) 2019-11-07 10:00:06 -08:00
Aman Bhardwaj d3c8eea13d
Making Main async and using Grpc.Net.Client (#145) 2019-11-04 19:32:24 -08:00
Aman Bhardwaj 0dd842df86
updating the reminder code snippet 2019-10-28 11:44:19 -07:00
Aman Bhardwaj af3da0c518
Removing nuspec files for packing. (#139)
* Removing nuspec files for packing.

* adding symbols generation

* Adding solution files for samples, tests & sdk for better organization and targetted builds.
2019-10-27 18:20:54 -07:00
gmanvel f55249830a Move to using span slicing instead of string substrings (#135)
* Move to using span slicing instead of string substrings

* Adding unit test for JsonReaderExtensionsTests ReadValueAsTimeSpanDaprFormat method
2019-10-25 11:31:33 -07:00
gmanvel 3f27f1a1cc Feature/remove redundant null checks (#137)
* remove redundant null checks

* Revert "remove redundant null checks"

This reverts commit 0eeab9be04.

* remove redundant null checks
2019-10-24 12:29:50 -07:00
gmanvel df58a98be9 Change the method return value from TimeSpan? -> TimeSpan (#126)
* Change the method return value from TimeSpan? -> TimeSpan

* Changes requested in https://github.com/dapr/dotnet-sdk/pull/126
2019-10-24 05:50:44 -07:00
Aman Bhardwaj 21a2453fcd
removing nuget badges 2019-10-23 21:10:35 -07:00
Aman Bhardwaj 55a19c9478
Adding nuget badges 2019-10-23 21:09:00 -07:00
Aman Bhardwaj 382e2f8ba9
Update README.md 2019-10-23 21:03:33 -07:00
Aman Bhardwaj da52f1c990
Adding links and badges 2019-10-23 21:02:43 -07:00
Aman Bhardwaj df3fe6c57e
Update README.md 2019-10-23 20:19:58 -07:00
Aman Bhardwaj d469772885
Update README.md 2019-10-23 20:19:26 -07:00
Aman Bhardwaj 348fdd4471
Update sdk_build.yml 2019-10-23 20:18:46 -07:00
Aman Bhardwaj ac8879f76e
Adding github actions badge 2019-10-23 20:10:13 -07:00
Aman Bhardwaj ba43d306f3
Adding github actions sdk_build.yml (#128)
* Update and rename aspnetcore.yml to sdk_build.yml

* Update sdk_build.yml

* Update sdk_build.yml

* Uploading nugets

* Uploading nugets

* Updating the build to run on ubuntu.

* Update sdk_build.yml

* Update sdk_build.yml

* Update sdk_build.yml

* Update sdk_build.yml

* Update sdk_build.yml

* Update sdk_build.yml
2019-10-23 20:00:59 -07:00
Aman Bhardwaj 353ba4d6cb
Updating sample which shows calls with remoting for methods which throw exception & call to emthod with no return and arg (#132) 2019-10-23 18:58:22 -07:00
Aman Bhardwaj 27f5d4d25b Fix sampels readme and repo readme to refer to code.sln. (#131) 2019-10-23 10:59:22 -07:00
Greg Ingram 07fa2c615d Moved to xunit for testing (#127)
* Updated Dapr.AspNetCore.IntegrationTest

* Updated Dapr.AspNetCore.Test

* Updated Dapr.Client.Test

* Updated to latest packages
2019-10-22 16:29:31 -07:00
Greg Ingram eba332e911 Clean ActorId (#121)
* Remove unused using

* Updated parameter names

* Summary spacing and extra text

* Checking for null

* Added ActorId tests and convert to xUnit test framework
2019-10-21 19:25:18 -07:00
gmanvel 02dd7eb814 changing byte[0] to Arry.Empty<byte>() (#120) 2019-10-21 09:59:18 -07:00
Greg Ingram 3d2fbe8b25 Removed unused usings (#122) 2019-10-21 09:53:55 -07:00
Greg Ingram c297101db0 Added missing period (#116) 2019-10-20 13:08:26 -07:00
Jim Paine d50e525cc9 Updated docs for .NET Actor (#115)
* 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
2019-10-19 13:31:27 -07:00
Aman Bhardwaj 9eeffeb81c
Updaing DApr -> Dapr 2019-10-18 21:27:28 -07:00
Aman Bhardwaj 1cb0887f04 Fixing nuspec for package generation. 2019-10-18 16:10:59 -07:00
Aman Bhardwaj 66107eab0b
ADding launchsettings.json to user port for local launch (#111) 2019-10-17 17:57:48 -07:00