user1275154
user1275154

Reputation: 1150

Is it possible to have one solution for many actors and/or services?

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

Answers (1)

Sean McKenna
Sean McKenna

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

Related Questions