mirror of https://github.com/dapr/dotnet-sdk.git
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:
parent
764b4d7674
commit
596d725785
|
@ -3,7 +3,7 @@
|
||||||
"windowsAuthentication": false,
|
"windowsAuthentication": false,
|
||||||
"anonymousAuthentication": true,
|
"anonymousAuthentication": true,
|
||||||
"iisExpress": {
|
"iisExpress": {
|
||||||
"applicationUrl": "http://127.0.0.1:5000/",
|
"applicationUrl": "http://127.0.0.1:5010/",
|
||||||
"sslPort": 0
|
"sslPort": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
},
|
},
|
||||||
"applicationUrl": "http://localhost:5000/"
|
"applicationUrl": "http://localhost:5010/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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:
|
To run the actor service locally run this command in `DemoActor` directory:
|
||||||
|
|
||||||
```sh
|
```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
|
### Make client calls
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue