简体   繁体   中英

calling akka.net actor hosted in c# executable through web api (c#)

I have an actor (akka.net C#) running in executable (or windows service). I am trying to fetch data from that actor. If I try getting it from another exe (C#) it's working fine, if I try to call it from web api (C#) it's not working.

Is it possible to call actor hosted in exe (C# akka.net) using rest end point (in different process)?

I got the mistake I was doing, when I was calling the akka method from web api , I was passing string in Ask method instead of proper Message class.

My bad, apologies.

Regards, Amit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM