diff --git a/README.md b/README.md
index c2159a5..7c67518 100644
--- a/README.md
+++ b/README.md
@@ -112,9 +112,9 @@ Original concept and implementation: [Simon Jones](https://github.com/badgeratu)
Contributors:
-* ... be the first! ...
+* [Abdulaziz Elsheikh](https://github.com/a-elsheikh)
-Contributions welcome!
+Contributions welcome! Please review the [Contribution Guidelines](CONTRIBUTING.md).
## License
diff --git a/samples/Actor/ActorSample/ActorSample.ActorClient/ActorSample.ActorClient.csproj b/samples/Actor/ActorSample/ActorSample.ActorClient/ActorSample.ActorClient.csproj
index 94111ab..0715dde 100644
--- a/samples/Actor/ActorSample/ActorSample.ActorClient/ActorSample.ActorClient.csproj
+++ b/samples/Actor/ActorSample/ActorSample.ActorClient/ActorSample.ActorClient.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/samples/Actor/ActorSample/ActorSample.DemoActor/ActorSample.DemoActor.csproj b/samples/Actor/ActorSample/ActorSample.DemoActor/ActorSample.DemoActor.csproj
index 23c0223..09dd8e9 100644
--- a/samples/Actor/ActorSample/ActorSample.DemoActor/ActorSample.DemoActor.csproj
+++ b/samples/Actor/ActorSample/ActorSample.DemoActor/ActorSample.DemoActor.csproj
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/samples/Actor/ActorSample/ActorSample.DemoActor/Startup.cs b/samples/Actor/ActorSample/ActorSample.DemoActor/Startup.cs
index 3cc2555..4608938 100644
--- a/samples/Actor/ActorSample/ActorSample.DemoActor/Startup.cs
+++ b/samples/Actor/ActorSample/ActorSample.DemoActor/Startup.cs
@@ -29,7 +29,7 @@ public void ConfigureServices(IServiceCollection services)
});
// Add Dapr Sidekick
- services.AddDaprSidekick(Configuration).AddPlacement();
+ services.AddDaprSidekick(Configuration);
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
diff --git a/samples/Actor/ActorSample/ActorSample.DemoActor/appsettings.json b/samples/Actor/ActorSample/ActorSample.DemoActor/appsettings.json
deleted file mode 100644
index 41e6da5..0000000
--- a/samples/Actor/ActorSample/ActorSample.DemoActor/appsettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "Dapr": {
- "Placement": {
- "Enabled": false,
- "Port": 6060
- }
- }
-}
diff --git a/samples/Actor/ActorSample/ActorSample.IDemoActor/ActorSample.IDemoActor.csproj b/samples/Actor/ActorSample/ActorSample.IDemoActor/ActorSample.IDemoActor.csproj
index a7b5666..e76e752 100644
--- a/samples/Actor/ActorSample/ActorSample.IDemoActor/ActorSample.IDemoActor.csproj
+++ b/samples/Actor/ActorSample/ActorSample.IDemoActor/ActorSample.IDemoActor.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/samples/Actor/ActorSample/README.md b/samples/Actor/ActorSample/README.md
index 4b1c308..5434611 100644
--- a/samples/Actor/ActorSample/README.md
+++ b/samples/Actor/ActorSample/README.md
@@ -1,6 +1,6 @@
# Actor Sample
-The Actor sample shows how to create a virtual actor (`DemoActor`) and invoke its methods on the client application. The sample is a copy of the [Dapr .NET SDK Actor Sample](https://github.com/dapr/dotnet-sdk/tree/master/examples/Actor), but modified to include Dapr Sidekick integration for launching a Dapr sidecar and optionally the Dapr Placement service.
+The Actor sample shows how to create a virtual actor (`DemoActor`) and invoke its methods on the client application. The sample is a copy of the [Dapr .NET SDK Actor Sample](https://github.com/dapr/dotnet-sdk/tree/master/examples/Actor), but modified to include Dapr Sidekick integration for launching a Dapr sidecar.
> See the [original source](https://github.com/dapr/dotnet-sdk/tree/master/examples/Actor) for more information on the purpose of the sample.
@@ -12,48 +12,17 @@ The main change to the template code to add Dapr support can be found in the `Co
public void ConfigureServices(IServiceCollection services)
{
...
- // Add Dapr Sidekick with both Sidecar and Placement support
- services.AddDaprSidekick(Configuration)
- .AddPlacement();
+ // Add Dapr Sidekick
+ services.AddDaprSidekick(Configuration);
}
```
-The following section has also been added in `appsettings.json` in the same project:
-
-```json
-{
- "Dapr": {
- "Placement": {
- "Enabled": false,
- "Port": 6060
- }
- }
-}
-```
-
-> This configuration will initially disable the Placement service support in Dapr Sidekick, we'll come back to this shortly.
-
## Running the example
This sample requires a full initialized Dapr installation with both the `dapr_placement` and `dapr_redis` containers up and running. If this is not the case please follow the instructions to [Init Dapr Locally](https://docs.dapr.io/getting-started/install-dapr-selfhost/).
Build the solution and set the `ActorSample.DemoActor` project as the startup, then run it in Visual Studio. The Dapr Sidecar will launch and the hosted actor will use it to registered with the placement service.
-> By default Dapr will search for the Placement service on port 6050 on Windows, or 50005 on other platforms. This is the port exposed by the `dapr_placement` container on Windows.
+> By default Dapr will search for the Placement service on port 6050 on Windows, or 50005 on other platforms. This is the port exposed by the `dapr_placement` container.
Navigate to the ActorClient build output directory at `/bin//samples/ActorSample.ActorClient/netcoreapp3.1` and run `ActorSample.ActorClient.exe`. This will connect to the same Dapr sidecar on port 3500 and submit calls to the hosted Actor.
-
-Stop the running solution in Visual Studio, then change the `Dapr:Placement:Enabled` property in `appsettings.json` from `false` to `true`:
-
-```json
-{
- "Dapr": {
- "Placement": {
- "Enabled": true, // <-- Change this from false to true
- "Port": 6060
- }
- }
-}
-```
-
-Run the solution in Visual Studio again - this time the Placement service will come up first (pay close attention to the log messages!) on port 6060, followed by the Sidecar which will automatically connect to that port instead of the default container instance. Run the `ActorSample.ActorClient.exe` application again and this time you will see additional logging occuring in the `ActorSample.DemoActor` console output window showing the locally-hosted Placement service handling the requests.
diff --git a/samples/AspNetCore/ControllerSample/ControllerSample/ControllerSample.csproj b/samples/AspNetCore/ControllerSample/ControllerSample/ControllerSample.csproj
index c829958..1890472 100644
--- a/samples/AspNetCore/ControllerSample/ControllerSample/ControllerSample.csproj
+++ b/samples/AspNetCore/ControllerSample/ControllerSample/ControllerSample.csproj
@@ -5,7 +5,7 @@
-
+