Open onurcanyilmaz opened 2 years ago
this builder.Services.AddTransient<IBasketActor, BasketActor>(); For what, Grain is not added that way.To use Part
this builder.Services.AddTransient<IBasketActor, BasketActor>(); For what, Grain is not added that way.To use Part
builder.Services.AddTransient<IBasketActor, BasketActor>();
OK. I removed that line but nothing was happened. Same issue occured. Have you ever else some solution?
By the way, Application parts has been removed for new version 7.0 source: https://learn.microsoft.com/en-us/dotnet/orleans/whats-new-in-orleans#packaging-changes
I think this provider is very important, so we have to use upon Redis properly by Orleans Any news?
I have aspnet core web api project, so I wanted to use Redis provider for clustering and storage.
Program.cs was like this
And I have a grain with name is BasketActor Then when I want to persistence my state with IPersistence
And I have a grain with name is BasketActor Then when I want to persistence my state with IPersistence
I am getting error this;
Error while validating the service descriptor 'ServiceType:Basket.Actors.IBasketActor Lifetime: Transient ImplementationType: Basket.Actors.BasketActor': Unable to resolve service for type 'Orleans.Runtime.IPersistentState`1Basket.Actors.BasketState]' while attempting to activate 'Basket.Actors.BasketActor'.
I've mentioned before in discord
Thanks.