{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/1765","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/1765/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/1765/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/1765/events","html_url":"https://github.com/dotnet/orleans/issues/1765","id":155000327,"number":1765,"title":"StartupTypeName config location","user":{"login":"jasonholloway","id":6573293,"avatar_url":"https://avatars.githubusercontent.com/u/6573293?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonholloway","html_url":"https://github.com/jasonholloway","followers_url":"https://api.github.com/users/jasonholloway/followers","following_url":"https://api.github.com/users/jasonholloway/following{/other_user}","gists_url":"https://api.github.com/users/jasonholloway/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonholloway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonholloway/subscriptions","organizations_url":"https://api.github.com/users/jasonholloway/orgs","repos_url":"https://api.github.com/users/jasonholloway/repos","events_url":"https://api.github.com/users/jasonholloway/events{/privacy}","received_events_url":"https://api.github.com/users/jasonholloway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jdom","id":1361686,"avatar_url":"https://avatars.githubusercontent.com/u/1361686?v=3","gravatar_id":"","url":"https://api.github.com/users/jdom","html_url":"https://github.com/jdom","followers_url":"https://api.github.com/users/jdom/followers","following_url":"https://api.github.com/users/jdom/following{/other_user}","gists_url":"https://api.github.com/users/jdom/gists{/gist_id}","starred_url":"https://api.github.com/users/jdom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdom/subscriptions","organizations_url":"https://api.github.com/users/jdom/orgs","repos_url":"https://api.github.com/users/jdom/repos","events_url":"https://api.github.com/users/jdom/events{/privacy}","received_events_url":"https://api.github.com/users/jdom/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-16T10:16:57Z","updated_at":"2016-05-16T22:40:50Z","closed_at":null,"body":"Just ran into a problem in trying to set up ``TestCluster`` with a designated startup class for DI: the ``StartupTypeName`` value appears in the per-node configuration object, and is as such automatically overridden by ``TestCluster``, which uses specially-generated config overrides for each silo node it creates, thereby ignoring the settable defaults.\r\n\r\nThis can be hacked through for now by enumerating through each override node that ``TestCluster`` creates (or at least I think it can - additional silos can only be created after deployment, can't they...)\r\n\r\nBut - it occurs to me that the Startup class shouldn't be a per-node value in the first place. Having different DI containers per silo surely poses an ever so slight risk to the location transparency of grains - some seriously sharky waters here.\r\n\r\nCould it be moved to ``ClusterConfiguration.Globals``?"},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/219570028","html_url":"https://github.com/dotnet/orleans/issues/1765#issuecomment-219570028","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/1765","id":219570028,"user":{"login":"jdom","id":1361686,"avatar_url":"https://avatars.githubusercontent.com/u/1361686?v=3","gravatar_id":"","url":"https://api.github.com/users/jdom","html_url":"https://github.com/jdom","followers_url":"https://api.github.com/users/jdom/followers","following_url":"https://api.github.com/users/jdom/following{/other_user}","gists_url":"https://api.github.com/users/jdom/gists{/gist_id}","starred_url":"https://api.github.com/users/jdom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdom/subscriptions","organizations_url":"https://api.github.com/users/jdom/orgs","repos_url":"https://api.github.com/users/jdom/repos","events_url":"https://api.github.com/users/jdom/events{/privacy}","received_events_url":"https://api.github.com/users/jdom/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T22:40:50Z","updated_at":"2016-05-16T22:40:50Z","body":"If you set this setting in `ClusterConfiguration.Defaults`, then it should be automatically propagated to all the individual node configurations. Also, there's the `ApplyToAllNodes` extension method to avoid the manual enumeration.\r\n\r\nHaving said all that (at least as a temporary workaround), I agree with you that it doesn't make much sense to have this as a `NodeConfiguration' setting, and I would agree it might fit `GlobalConfiguration` better.\r\nPinging @attilah, since he initially put it there, to see if this was by design or he would agree with a move too."}}