You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try to get it run with 3.0 final
protected override async Task OnInitAsync()
should be in readme.md
protected override async Task OnInitializedAsync()
but at this point I get a
NullReferenceException: Object reference not set to an instance of an object.
Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime.BeginInvokeJS(long asyncHandle, string identifier, string argsJson)
Microsoft.JSInterop.JSRuntime.InvokeAsync(string identifier, CancellationToken cancellationToken, object[] args)
Microsoft.JSInterop.JSRuntime.InvokeWithDefaultCancellation(string identifier, object[] args)
System.Threading.Tasks.ValueTask.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult()
AspNetMonsters.Blazor.Geolocation.LocationService.GetLocationAsync() in LocationService.cs
+
var result = await jSRuntime.InvokeAsync("AspNetMonsters.Blazor.Geolocation.GetLocation", requestId);
UseGeo.Pages.Index.OnInitializedAsync() in Index.razor
+
location = await LocationService.GetLocationAsync();
The text was updated successfully, but these errors were encountered:
try to get it run with 3.0 final
protected override async Task OnInitAsync()
should be in readme.md
protected override async Task OnInitializedAsync()
but at this point I get a
NullReferenceException: Object reference not set to an instance of an object.
Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSRuntime.BeginInvokeJS(long asyncHandle, string identifier, string argsJson)
Microsoft.JSInterop.JSRuntime.InvokeAsync(string identifier, CancellationToken cancellationToken, object[] args)
Microsoft.JSInterop.JSRuntime.InvokeWithDefaultCancellation(string identifier, object[] args)
System.Threading.Tasks.ValueTask.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult()
AspNetMonsters.Blazor.Geolocation.LocationService.GetLocationAsync() in LocationService.cs
+
var result = await jSRuntime.InvokeAsync("AspNetMonsters.Blazor.Geolocation.GetLocation", requestId);
UseGeo.Pages.Index.OnInitializedAsync() in Index.razor
+
location = await LocationService.GetLocationAsync();
The text was updated successfully, but these errors were encountered: