Skip to content

Specified method is not supported Exception #6907

Answered by ReubenBond
dave-zz asked this question in Q&A
Discussion options

You must be logged in to vote

@rallets explained in Gitter

@DavidIllescas if you add the LogConsistencyProvider to the OrderGrain

[LogConsistencyProvider(ProviderName = "LogStorage")]
public class OrderGrain : JournaledGrain<OrderState, OrderEventBase>, IOrderGrain

and then register the LogConsistencyProvider

.AddLogStorageBasedLogConsistencyProvider("LogStorage")
.ConfigureApplicationParts(parts => parts.AddApplicationPart(typeof(HelloGrain).Assembly).WithReferences())
// .AddMemoryGrainStorage("Default")
.AddLogStorageBasedLogConsistencyProvider("LogStorage")
.AddMemoryGrainStorageAsDefault();

it looks like it works. I get 2 events.

@DavidIllescas as explained here: https://dotnet.github.io/orleans/docs/grains/event…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dave-zz
Comment options

@dave-zz
Comment options

Answer selected by dave-zz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants