{"action":"created","issue":{"url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19","repository_url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore","labels_url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19/comments","events_url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19/events","html_url":"https://github.com/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19","id":168920600,"number":19,"title":"System.InvalidOperationException Microsoft.EntityFrameworkCore.DbContextOptions","user":{"login":"senzacionale","id":6663030,"avatar_url":"https://avatars.githubusercontent.com/u/6663030?v=3","gravatar_id":"","url":"https://api.github.com/users/senzacionale","html_url":"https://github.com/senzacionale","followers_url":"https://api.github.com/users/senzacionale/followers","following_url":"https://api.github.com/users/senzacionale/following{/other_user}","gists_url":"https://api.github.com/users/senzacionale/gists{/gist_id}","starred_url":"https://api.github.com/users/senzacionale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senzacionale/subscriptions","organizations_url":"https://api.github.com/users/senzacionale/orgs","repos_url":"https://api.github.com/users/senzacionale/repos","events_url":"https://api.github.com/users/senzacionale/events{/privacy}","received_events_url":"https://api.github.com/users/senzacionale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-02T15:48:50Z","updated_at":"2016-08-03T18:33:01Z","closed_at":null,"body":"I have problem with EFCore\r\n\r\nI did everything the same as normally for any other EFCore project but here I always get \r\n\r\n> System.InvalidOperationException\r\n> Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[TwentyTwenty.IdentityServer4.EntityFrameworkCore.DbContexts.ClientConfigurationContext`1[System.Guid]]' while attempting to activate 'Host.Web.Configuration.ClientConfigurationContext'.\r\n\r\nProblem is here with RegisterClientStore:\r\n\r\n```\r\nbuilder.ConfigureEntityFramework()\r\n                .RegisterOperationalStores()\r\n                .RegisterClientStore<Guid, ClientConfigurationContext>()\r\n                .RegisterScopeStore<Guid, ScopeConfigurationContext>();\r\n```\r\n\r\nAny idea why or what can be wrong?"},"comment":{"url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/comments/237327924","html_url":"https://github.com/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19#issuecomment-237327924","issue_url":"https://api.github.com/repos/2020IP/TwentyTwenty.IdentityServer4.EntityFrameworkCore/issues/19","id":237327924,"user":{"login":"senzacionale","id":6663030,"avatar_url":"https://avatars.githubusercontent.com/u/6663030?v=3","gravatar_id":"","url":"https://api.github.com/users/senzacionale","html_url":"https://github.com/senzacionale","followers_url":"https://api.github.com/users/senzacionale/followers","following_url":"https://api.github.com/users/senzacionale/following{/other_user}","gists_url":"https://api.github.com/users/senzacionale/gists{/gist_id}","starred_url":"https://api.github.com/users/senzacionale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senzacionale/subscriptions","organizations_url":"https://api.github.com/users/senzacionale/orgs","repos_url":"https://api.github.com/users/senzacionale/repos","events_url":"https://api.github.com/users/senzacionale/events{/privacy}","received_events_url":"https://api.github.com/users/senzacionale/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T18:33:01Z","updated_at":"2016-08-03T18:33:01Z","body":"Ok I will next time. \r\n\r\nPlease change also\r\n\r\n```\r\npublic class OperationalContextEx : OperationalContext\r\n{\r\n    public OperationalContext(DbContextOptions<OperationalContextEx> options)\r\n        : base(options)\r\n    { }\r\n}\r\n```\r\n\r\nto\r\n\r\n```\r\npublic class OperationalContextEx : OperationalContext\r\n{\r\n    public OperationalContextEx (DbContextOptions<OperationalContextEx> options)\r\n        : base(options)\r\n    { }\r\n}\r\n```"}}
{"actor":{"display_login":"senzacionale"}}