{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/112","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/112/comments","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/112/events","html_url":"https://github.com/Microsoft/ApplicationInsights-aspnet5/issues/112","id":106866016,"number":112,"title":"Unable to resolve service for type 'Microsoft.Framework.Notification.INotifier'","user":{"login":"avodovnik","id":1932563,"avatar_url":"https://avatars.githubusercontent.com/u/1932563?v=3","gravatar_id":"","url":"https://api.github.com/users/avodovnik","html_url":"https://github.com/avodovnik","followers_url":"https://api.github.com/users/avodovnik/followers","following_url":"https://api.github.com/users/avodovnik/following{/other_user}","gists_url":"https://api.github.com/users/avodovnik/gists{/gist_id}","starred_url":"https://api.github.com/users/avodovnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avodovnik/subscriptions","organizations_url":"https://api.github.com/users/avodovnik/orgs","repos_url":"https://api.github.com/users/avodovnik/repos","events_url":"https://api.github.com/users/avodovnik/events{/privacy}","received_events_url":"https://api.github.com/users/avodovnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-16T21:16:32Z","updated_at":"2015-09-16T21:41:30Z","closed_at":null,"body":"With a simple app, when I try to add Application Insights, following the Getting Started instructions, I see\r\n\r\n> Unable to resolve service for type 'Microsoft.Framework.Notification.INotifier' while attempting to activate 'Microsoft.ApplicationInsights.AspNet.TelemetryInitializers.OperationNameTelemetryInitializer'\r\n\r\nDetailed stack trace:\r\n\r\n```\r\nSystem.InvalidOperationException: Unable to resolve service for type 'Microsoft.Framework.Notification.INotifier' while attempting to activate 'Microsoft.ApplicationInsights.AspNet.TelemetryInitializers.OperationNameTelemetryInitializer'.\r\n   at Microsoft.Framework.DependencyInjection.ServiceLookup.Service.PopulateCallSites(ServiceProvider provider, ISet`1 callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)\r\n   at Microsoft.Framework.DependencyInjection.ServiceLookup.Service.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)\r\n   at Microsoft.Framework.DependencyInjection.ServiceLookup.ClosedIEnumerableService.CreateCallSite(ServiceProvider provider, ISet`1 callSiteChain)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.GetResolveCallSite(IService service, ISet`1 callSiteChain)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.GetServiceCallSite(Type serviceType, ISet`1 callSiteChain)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.b__7_0(Type key)\r\n   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.GetService(Type serviceType)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProviderExtensions.GetService[T](IServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ApplicationInsightsExtensions.AddServicesToCollection[T](IServiceProvider serviceProvider, ICollection`1 collection)\r\n   at Microsoft.Framework.DependencyInjection.ApplicationInsightsExtensions.<>c__DisplayClass8_0.b__0(IServiceProvider serviceProvider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceLookup.FactoryService.Invoke(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.SingletonCallSite.Invoke(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceLookup.ConstructorCallSite.Invoke(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.ScopedCallSite.Invoke(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.<>c__DisplayClass8_0.b__0(ServiceProvider provider)\r\n   at Microsoft.Framework.DependencyInjection.ServiceProvider.GetService(Type serviceType)\r\n   at Microsoft.Framework.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)\r\n   at Microsoft.Framework.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)\r\n   at Microsoft.AspNet.Builder.UseMiddlewareExtensions.<>c__DisplayClass2_0.b__0(RequestDelegate next)\r\n   at Microsoft.AspNet.Builder.Internal.ApplicationBuilder.Build()\r\n   at Microsoft.AspNet.Hosting.Internal.HostingEngine.BuildApplication()\r\n   at Microsoft.AspNet.Hosting.Internal.HostingEngine.Start()\r\n   at Microsoft.AspNet.Loader.IIS.RuntimeHttpApplication.ApplicationStart(IHttpApplication application)\r\n   at Microsoft.AspNet.Loader.IIS.HttpApplicationBase.InvokeApplicationStart(IHttpApplication application)\r\n\r\n```\r\n\r\nAny ideas on what to check?\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/comments/140902410","html_url":"https://github.com/Microsoft/ApplicationInsights-aspnet5/issues/112#issuecomment-140902410","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnet5/issues/112","id":140902410,"user":{"login":"avodovnik","id":1932563,"avatar_url":"https://avatars.githubusercontent.com/u/1932563?v=3","gravatar_id":"","url":"https://api.github.com/users/avodovnik","html_url":"https://github.com/avodovnik","followers_url":"https://api.github.com/users/avodovnik/followers","following_url":"https://api.github.com/users/avodovnik/following{/other_user}","gists_url":"https://api.github.com/users/avodovnik/gists{/gist_id}","starred_url":"https://api.github.com/users/avodovnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avodovnik/subscriptions","organizations_url":"https://api.github.com/users/avodovnik/orgs","repos_url":"https://api.github.com/users/avodovnik/repos","events_url":"https://api.github.com/users/avodovnik/events{/privacy}","received_events_url":"https://api.github.com/users/avodovnik/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T21:41:30Z","updated_at":"2015-09-16T21:41:30Z","body":"No, I don't. \r\n\r\nThis is all I have in the app: https://gist.github.com/avodovnik/e432fa135152041f0e86"}}