Comments (10)
?
from orleankka.
from orleankka.
Please help, it's default implementation, can you tell me, what I'm doing wrong? If I use one assembly, it's working, when I do move Actors code to another assembly, it doesn't.
from orleankka.
you should register the new assembly like this:
sb.ConfigureApplicationParts(fun x ->
x.AddFromAppDomain().WithCodeGeneration()|> ignore
x.AddApplicationPart(typeof<GreeterMessage>.Assembly).WithCodeGeneration() |> ignore
) |> ignore
You can further split messages and actor implementations to 2 assemblies, so that client would know only about messages while host should have registered both messages and actor implementations. Check client/server examples as well
from orleankka.
I have tried to do many variations, but always catch exceptions.
from orleankka.
Sorry for not checking more thoroughly. I've reproed this error but have not figured out what's wrong so far.
from orleankka.
Thanks, hope it will be resolved. I want to setup it in a big project, akka.net will wait.
from orleankka.
OK there were 2 issues.
First, add a reference to Orleans specific object like here: https://github.com/aprooks/orleankka-fsharp-intro/blob/master/FByke.Contracts/Library.fs#L23-L29 (can be a separate file as well)
second, remove application part of host, since you don't have any grain classes there. Like this:
cb.ConfigureApplicationParts(fun x ->
x.AddApplicationPart(typeof<GreeterMessage>.Assembly).WithCodeGeneration() |> ignore ) |> ignore
the second issue seems to be a bug. I will test again and file a proper report if it is confirmed
from orleankka.
Have added, that "type". It's ok with it. Thanks for the quick response !!!
from orleankka.
No problem. Feel free to join gitter channel https://gitter.im/OrleansContrib/Orleankka for quick questions.
I'll close this issue and create followups
from orleankka.
Related Issues (20)
- Document F# bugger or add a startup check HOT 1
- Create template for dotnet cli tool HOT 4
- Orleans AlwaysInterleave question HOT 3
- Missing ServiceId of ClusterOptions in F# samples and Docs HOT 1
- Storage provider issue HOT 1
- F# + recieve message DU instead of object. HOT 3
- Orleankka + Dashboard \n Dashboard can't see methods information
- What should I do to call orleankka actor from orleans silo? HOT 5
- Is ImplicitStreamSubscription supported? HOT 5
- .Net Core 3 Preview 6 Idiomatic Example HOT 4
- Auto.Interfaces assembly generated in wrong folder HOT 4
- Undefined UseOrleankka HOT 1
- Is this project active? HOT 4
- Feature request: StreamRefMiddleware HOT 3
- Allow IActorGrain and GrainWithStringKey in inherited interface
- Nake.bat uses version of EventStore no longer available
- Missing NuGet for Orleankka.TestKit version 7.0.0 HOT 2
- ActorPath changes between ActorRef and ActorGrain HOT 4
- StreamRef and ImplicitStreamSubscription issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orleankka.