start server an error #7894
Unanswered
bouyeijiang
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
That code is missing a clustering provider, the docs here show a correct example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
i have solved the problem,according do the example and i found have to import microsoft.orleans.codegenerator.msbuild.dll |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
host = new HostBuilder()
.UseOrleans(builder =>
{
builder.Configure(options =>
{
options.ClusterId = "dev";
options.ServiceId = "dev";
}).ConfigureEndpoints(siloPort: 11111, gatewayPort: 30000)
.ConfigureApplicationParts(
parts => parts.AddApplicationPart(typeof(GrainGdbQuery).Assembly).WithReferences()
);
}).Build();
exception:
System.InvalidOperationException:“Unable to resolve service for type 'Orleans.IMembershipTable' while attempting to activate 'Orleans.Runtime.MembershipService.MembershipTableManager'.”
Beta Was this translation helpful? Give feedback.
All reactions