Skip to content

Commit dde33d3

Browse files
mattleibowCopilot
andcommitted
Migrate copied sample to Entra workforce
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e0e2039 commit dde33d3

44 files changed

Lines changed: 329 additions & 730 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/Pages/Account.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<h1>Account</h1>
99

10-
<p>Your profile information from Microsoft Entra External ID.</p>
10+
<p>Your profile information from Microsoft Entra workforce identity.</p>
1111

1212
<AuthorizeView>
1313
<Authorized>

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/Pages/Home.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@page "/"
2-
@using MauiBlazorWebEntra.Shared.Services
2+
@using MauiBlazorWebEntraWorkforce.Shared.Services
33
@inject IFormFactor FormFactor
44

55
<PageTitle>Home</PageTitle>

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/Pages/Weather.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@page "/weather"
22
@using Microsoft.AspNetCore.Authorization
3-
@using MauiBlazorWebEntra.Shared.Services
3+
@using MauiBlazorWebEntraWorkforce.Shared.Services
44
@attribute [Authorize]
55
@inject IWeatherService WeatherService
66

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/Services/IFormFactor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace MauiBlazorWebEntra.Shared.Services;
1+
namespace MauiBlazorWebEntraWorkforce.Shared.Services;
22

33
public interface IFormFactor
44
{

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/Services/IWeatherService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace MauiBlazorWebEntra.Shared.Services;
1+
namespace MauiBlazorWebEntraWorkforce.Shared.Services;
22

33
public interface IWeatherService
44
{

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Shared/_Imports.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
@using static Microsoft.AspNetCore.Components.Web.RenderMode
88
@using Microsoft.AspNetCore.Components.Web.Virtualization
99
@using Microsoft.JSInterop
10-
@using MauiBlazorWebEntra.Shared.Services
10+
@using MauiBlazorWebEntraWorkforce.Shared.Services

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Web/Components/App.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<base href="/" />
88
<ResourcePreloader />
9-
<link rel="stylesheet" href="@Assets["_content/MauiBlazorWebEntra.Shared/lib/bootstrap/dist/css/bootstrap.min.css"]" />
10-
<link rel="stylesheet" href="@Assets["_content/MauiBlazorWebEntra.Shared/app.css"]" />
11-
<link rel="stylesheet" href="@Assets["MauiBlazorWebEntra.Web.styles.css"]" />
9+
<link rel="stylesheet" href="@Assets["_content/MauiBlazorWebEntraWorkforce.Shared/lib/bootstrap/dist/css/bootstrap.min.css"]" />
10+
<link rel="stylesheet" href="@Assets["_content/MauiBlazorWebEntraWorkforce.Shared/app.css"]" />
11+
<link rel="stylesheet" href="@Assets["MauiBlazorWebEntraWorkforce.Web.styles.css"]" />
1212
<ImportMap />
13-
<link rel="icon" type="image/png" href="_content/MauiBlazorWebEntra.Shared/favicon.png" />
13+
<link rel="icon" type="image/png" href="_content/MauiBlazorWebEntraWorkforce.Shared/favicon.png" />
1414
<HeadOutlet @rendermode="PageRenderMode" />
1515
</head>
1616

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Web/Components/Layout/NavMenu.razor

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<div class="top-row ps-3 navbar navbar-dark">
55
<div class="container-fluid">
6-
<a class="navbar-brand" href="">MauiBlazorWebEntra</a>
6+
<a class="navbar-brand" href="">MauiBlazorWebEntraWorkforce</a>
77
</div>
88
</div>
99

@@ -23,11 +23,6 @@
2323
<span class="bi bi-person-badge-nav-menu" aria-hidden="true"></span> Login
2424
</NavLink>
2525
</div>
26-
<div class="nav-item px-3">
27-
<NavLink class="nav-link" href="authentication/register">
28-
<span class="bi bi-person-nav-menu" aria-hidden="true"></span> Register
29-
</NavLink>
30-
</div>
3126
</NotAuthorized>
3227
<Authorized>
3328
<div class="nav-item px-3">

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Web/Components/_Imports.razor

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
@using static Microsoft.AspNetCore.Components.Web.RenderMode
88
@using Microsoft.AspNetCore.Components.Web.Virtualization
99
@using Microsoft.JSInterop
10-
@using MauiBlazorWebEntra.Shared
11-
@using MauiBlazorWebEntra.Web
12-
@using MauiBlazorWebEntra.Web.Components
13-
@using MauiBlazorWebEntra.Web.Components.Account
14-
@using MauiBlazorWebEntra.Web.Components.Layout
10+
@using MauiBlazorWebEntraWorkforce.Shared
11+
@using MauiBlazorWebEntraWorkforce.Web
12+
@using MauiBlazorWebEntraWorkforce.Web.Components
13+
@using MauiBlazorWebEntraWorkforce.Web.Components.Account
14+
@using MauiBlazorWebEntraWorkforce.Web.Components.Layout

10.0/MauiBlazorWebEntraWorkforce/MauiBlazorWebEntraWorkforce.Web/MauiBlazorWebEntraWorkforce.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="..\MauiBlazorWebEntra.Shared\MauiBlazorWebEntra.Shared.csproj" />
17+
<ProjectReference Include="..\MauiBlazorWebEntraWorkforce.Shared\MauiBlazorWebEntraWorkforce.Shared.csproj" />
1818
</ItemGroup>
1919

2020
</Project>

0 commit comments

Comments
 (0)