Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions aspnetcore/blazor/security/includes/imports-file-hosted.md

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions aspnetcore/blazor/security/includes/imports-hosted.razor

This file was deleted.

11 changes: 0 additions & 11 deletions aspnetcore/blazor/security/includes/imports-standalone.razor

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure a hosted ASP.NET Core Blazor WebAssembly app wi
monikerRange: '>= aspnetcore-3.1 < aspnetcore-8.0'
ms.author: riande
ms.custom: mvc
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/hosted-with-azure-active-directory-b2c
---
# Secure a hosted ASP.NET Core Blazor WebAssembly app with Azure Active Directory B2C
Expand Down Expand Up @@ -378,7 +378,13 @@ For more information, see the following sections of the *Additional scenarios* a

*This section pertains to the solution's **:::no-loc text="Client":::** app.*

[!INCLUDE[](~/blazor/security/includes/imports-file-hosted.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure a hosted ASP.NET Core Blazor WebAssembly app wi
monikerRange: '>= aspnetcore-3.1 < aspnetcore-8.0'
ms.author: riande
ms.custom: mvc, linux-related-content
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/hosted-with-identity-server
---
# Secure a hosted ASP.NET Core Blazor WebAssembly app with Identity Server
Expand Down Expand Up @@ -292,7 +292,13 @@ Configuration for the app is loaded by convention from `_configuration/{client-i

*This section pertains to the solution's **:::no-loc text="Client":::** app.*

[!INCLUDE[](~/blazor/security/includes/imports-file-hosted.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### `Index` page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure a hosted ASP.NET Core Blazor WebAssembly app wi
monikerRange: '>= aspnetcore-3.1 < aspnetcore-8.0'
ms.author: riande
ms.custom: "devx-track-csharp, mvc"
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/hosted-with-microsoft-entra-id
---
# Secure a hosted ASP.NET Core Blazor WebAssembly app with Microsoft Entra ID
Expand Down Expand Up @@ -384,7 +384,13 @@ For more information, see the following sections of the *Additional scenarios* a

*This section pertains to the solution's **:::no-loc text="Client":::** app.*

[!INCLUDE[](~/blazor/security/includes/imports-file-hosted.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure an ASP.NET Core Blazor WebAssembly standalone a
monikerRange: '>= aspnetcore-3.1'
ms.author: riande
ms.custom: mvc
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/standalone-with-authentication-library
---
# Secure an ASP.NET Core Blazor WebAssembly standalone app with the Authentication library
Expand Down Expand Up @@ -188,7 +188,13 @@ For more information, see the following sections of the *Additional scenarios* a

### Imports file

[!INCLUDE[](~/blazor/security/includes/imports-file-standalone.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure an ASP.NET Core Blazor WebAssembly standalone a
monikerRange: '>= aspnetcore-3.1'
ms.author: riande
ms.custom: mvc
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/standalone-with-azure-active-directory-b2c
---
# Secure an ASP.NET Core Blazor WebAssembly standalone app with Azure Active Directory B2C
Expand Down Expand Up @@ -190,7 +190,13 @@ For more information, see the following sections of the *Additional scenarios* a

### Imports file

[!INCLUDE[](~/blazor/security/includes/imports-file-standalone.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure an ASP.NET Core Blazor WebAssembly standalone a
monikerRange: '>= aspnetcore-3.1'
ms.author: riande
ms.custom: mvc
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/standalone-with-microsoft-accounts
---
# Secure an ASP.NET Core Blazor WebAssembly standalone app with Microsoft Accounts
Expand Down Expand Up @@ -171,7 +171,13 @@ For more information, see the following sections of the *Additional scenarios* a

### Imports file

[!INCLUDE[](~/blazor/security/includes/imports-file-standalone.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn how to secure an ASP.NET Core Blazor WebAssembly standalone a
monikerRange: '>= aspnetcore-3.1'
ms.author: riande
ms.custom: "devx-track-csharp, mvc"
ms.date: 11/12/2024
ms.date: 04/07/2025
uid: blazor/security/webassembly/standalone-with-microsoft-entra-id
---
# Secure an ASP.NET Core Blazor WebAssembly standalone app with Microsoft Entra ID
Expand Down Expand Up @@ -172,7 +172,13 @@ For more information, see the following resources:

### Imports file

[!INCLUDE[](~/blazor/security/includes/imports-file-standalone.md)]
The <xref:Microsoft.AspNetCore.Components.Authorization?displayProperty=fullName> namespace is made available throughout the app via the `_Imports.razor` file:

```razor
...
@using Microsoft.AspNetCore.Components.Authorization
...
```

### Index page

Expand Down