Closed dieterdp closed 4 years ago
Hi Dieter, Are you using server or client-side Blazor and the NuGet package. If the NuGet package could you confirm the version number. Just for the record I have run this in chrome without any issues. Cheers, Bill
Hi
This was a caching issue. I deleted my Chrome cache and the problem was gone.
Regards Dieter
Hello
I think there is a bug on Chrome. When i start the app i get the following exception
mono.js:1 Uncaught (in promise) Error: System.MissingMethodException: Method not found: Microsoft.Extensions.DependencyInjection.IServiceCollection TG.Blazor.IndexedDB.ServiceCollectionExtensions.AddIndexedDB(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action`1,bool)
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x27b6760 + 0x000ce> in :0
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Blazor.Hosting.ConventionBasedStartup.ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services) <0x27a4ff8 + 0x0006c> in <02062f8b8dc04354a1a18488dffb79d7>:0 at (wrapper delegate-invoke) System.Action
1[Microsoft.Extensions.DependencyInjection.IServiceCollection].invoke_void_T(Microsoft.Extensions.DependencyInjection.IServiceCollection) at Microsoft.AspNetCore.Blazor.Hosting.WebAssemblyHostBuilderExtensions+<>c__DisplayClass1_0.<ConfigureServices>b__0 (Microsoft.AspNetCore.Blazor.Hosting.WebAssemblyHostBuilderContext context, Microsoft.Extensions.DependencyInjection.IServiceCollection collection) <0x27a4c38 + 0x00012> in <02062f8b8dc04354a1a18488dffb79d7>:0 at (wrapper delegate-invoke) System.Action
2[Microsoft.AspNetCore.Blazor.Hosting.WebAssemblyHostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection].invoke_void_T1_T2(Microsoft.AspNetCore.Blazor.Hosting.WebAssemblyHostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection)This works ok on Edge, Firefox, iOS Safari and even on Chrome in Private mode.
regards Dieter