You are not authorized to access this resource.
- } -Sorry, there's nothing at this address.
-Sorry, there's nothing at this address.
+Authentication is not configured.
@code{ [Parameter] public string? Action { get; set; } diff --git a/AspNetCore/Blazor/AdHocReporting.BlazorWasm/Client/Pages/FetchData.razor b/AspNetCore/Blazor/AdHocReporting.BlazorWasm/Client/Pages/FetchData.razor index 5ba2a5eb..d78abebb 100644 --- a/AspNetCore/Blazor/AdHocReporting.BlazorWasm/Client/Pages/FetchData.razor +++ b/AspNetCore/Blazor/AdHocReporting.BlazorWasm/Client/Pages/FetchData.razor @@ -1,8 +1,5 @@ -@page "/fetchdata" -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.WebAssembly.Authentication +@page "/fetchdata" @using EqDemo.Shared -@attribute [Authorize] @inject HttpClient Http