Changed application port number for actors example (#816)

* Changed application port number for actors example

* Modified readme for actors example

* Update README.md

Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>

Co-authored-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
This commit is contained in:
amulyavarote 2022-01-20 16:01:01 -08:00 committed by GitHub
parent 764b4d7674
commit 596d725785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://127.0.0.1:5000/",
"applicationUrl": "http://127.0.0.1:5010/",
"sslPort": 0
}
},
@ -21,7 +21,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:5000/"
"applicationUrl": "http://localhost:5010/"
}
}
}
}

View File

@ -22,10 +22,10 @@ The Actor example shows how to create a virtual actor (`DemoActor`) and invoke i
To run the actor service locally run this command in `DemoActor` directory:
```sh
dapr run --dapr-http-port 3500 --app-id demo_actor --app-port 5000 dotnet run
dapr run --dapr-http-port 3500 --app-id demo_actor --app-port 5010 dotnet run
```
The `DemoActor` service will listen on port `5000` for HTTP.
The `DemoActor` service will listen on port `5010` for HTTP.
### Make client calls