How to run the C# actor code in the documentation?
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 378
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
Hello,
My environment is this. I am running on a windows 10, and have WSL installed. I have initialized dapr using dapr init slim. I have started the placement service and a redis server in WSL. I have added the statestore.yml file with the actorstore property.
I started the actor service and that looks fine. Then I run the actor console app client and get this error:
`Unhandled exception. Dapr DaprApiException: error invoke actor method: error finding address for actor Type MyActor with id 1`
Elsewhere it is stated to use dapper init instead as then dapper will set everything up. But how am I supposed to do that with my environment? I don't want to use docker desktop. I have installed docker in my WSL. However if I run dapper in WSL and do an init there how can my asp.net core code that developed in my Visual Studio 2022 on my windows host access dapr in WSL?
It is a bit unclear what is generally recommended for local dev and how to get started. I understand the code since I have written similar actor code with Service Fabric. But cannot get my local dev to function. And how is docker and dapr running in WSL supposed to get accessed from my Windows host where I am running Visual Studio 2022?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.