Reputation: 1150
is it possible to have one solution for many actors and/or services, or does each actor, service, require their own solution with their own host?
How do you register such services living next to each other?
Current I have
> ActorRuntime.RegisterActorAsync(...)
> ServiceEventSource.Current.ServiceTypeRegistered(...)
and it's blowing up, saying:
Invalid Service Type
after I've added an Actor to the solution.
I can't find any examples of this.
Upvotes: 1
Views: 457
Reputation: 3714
You can't combine Reliable Actors and Reliable Services within one service. However, you can combine them within one Visual Studio solution and one Service Fabric application.
Take a look at the data aggregation sample for an example of an application/VS solution with a mixture of the two types.
Upvotes: 1