forked from dotnet/aspire
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Imports.razor
More file actions
20 lines (19 loc) · 831 Bytes
/
_Imports.razor
File metadata and controls
20 lines (19 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@using System.Net.Http
@using System.Net.Http.Json
@using Aspire.Dashboard.Authentication
@using Microsoft.AspNetCore.Authentication.OpenIdConnect
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.FluentUI.AspNetCore.Components
@using Microsoft.JSInterop
@using Aspire.Dashboard
@using Aspire.Dashboard.Components
@using Aspire.Dashboard.Components.Controls
@using Aspire.Dashboard.Components.Layout
@using Microsoft.Extensions.Localization
@* Require authorization for all pages of the web app *@
@attribute [Authorize(Policy = FrontendAuthorizationDefaults.PolicyName)]