Xiao Zeng
Xiao Zeng
@Eldar1205 . BTW To see an example of register dependencies required by grains. You can see `DependencyInjectionGrainTests.cs` in master branch You just need to register dependencies to DI container/`IServiceProvider`, then`GrainCreator`will...
GrainFactory is a singleton in silo. I made a change to make GrainFactory injectable in #2192 We injected GrainFactotry as a singleton in DI container. See startupBuilder.cs
Yes we can do the same with `IStreamProviderManager` in the Silo side to make it injectable. Just a heads up, system types injectable is not supported in client side yet....
Yes that's what I was going to ask, by > shared classes what do you refer to ? Maybe give us more details. Grain and GrainClient already have access to...
Sorry I think I confused you by not bring in enough context. I don't have full context with your use case. So I was just explaining the facts I know....
You can configure your cluster to use different `IServiceProvider` in different node in the same cluster. see `DependencyInjectionGrainTests` as an example. But if you want to deploy different grain collection...
@lee-alexander Hosting each grain collection in a separate AppDomain is definitely one way to solve this problem. But it also brings complication regarding to serialization between AppDomains. I'd like to...
What's the downside of deploy those grain collection into different instances? And another concern of grain collection with different version of dependency is compatibility between different dependency version. For example,...
I think I understand your use case here. Let me bring this up to the team . Will come back to you tomorrow. There's complication of us enable this as...
It's also, do we want to support this feature in coreclr version? If yes, what replacement of AppDomain will we use. And also, does this different AppDomain share the same...