|
5 | 5 | <MudStack Spacing="4" Class="text-center"> |
6 | 6 | <MudText Typo="Typo.h3"><b>Samples</b></MudText> |
7 | 7 | <MudText Typo="Typo.subtitle2">Explore working examples and see UltimateAuth in action.</MudText> |
8 | | - <MudText Typo="Typo.caption">Interactive online samples are coming soon.</MudText> |
| 8 | + <MudText Typo="Typo.caption">Identity Lab (hosted live demo) is coming soon.</MudText> |
9 | 9 |
|
10 | 10 | <MudDivider /> |
11 | 11 |
|
|
15 | 15 | </MudText> |
16 | 16 |
|
17 | 17 | <MudGrid> |
| 18 | + <MudItem xs="12"> |
| 19 | + <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
| 20 | + <MudText Typo="Typo.h6">Sample.Shared</MudText> |
| 21 | + <MudText Typo="Typo.subtitle2">Shared component designs across all modern .NET platforms.</MudText> |
| 22 | + <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/shared" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
| 23 | + </MudPaper> |
| 24 | + </MudItem> |
| 25 | + |
18 | 26 | <MudItem xs="12" md="6"> |
19 | 27 | <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
20 | 28 | <MudText Typo="Typo.h6">Blazor Server (EF Core)</MudText> |
|
31 | 39 | </MudPaper> |
32 | 40 | </MudItem> |
33 | 41 |
|
34 | | - <MudItem xs="12"> |
| 42 | + <MudItem xs="12" md="6"> |
35 | 43 | <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
36 | | - <MudText Typo="Typo.h6">Blazor WASM (Standalone)</MudText> |
| 44 | + <MudText Typo="Typo.h6">Blazor Standalone WASM</MudText> |
37 | 45 | <MudText Typo="Typo.subtitle2">Client-side sample using Hybrid authentication model.</MudText> |
38 | 46 | <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/blazor-standalone-wasm/CodeBeam.UltimateAuth.Sample.BlazorStandaloneWasm" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
39 | 47 | </MudPaper> |
40 | 48 | </MudItem> |
41 | 49 |
|
42 | 50 | <MudItem xs="12" md="6"> |
43 | 51 | <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
44 | | - <MudText Typo="Typo.h6">UAuthHub</MudText> |
| 52 | + <MudText Typo="Typo.h6">Blazor Interactive WASM</MudText> |
| 53 | + <MudText Typo="Typo.subtitle2">Client-side interactive render mode sample using Hybrid authentication model.</MudText> |
| 54 | + <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/int-wasm/CodeBeam.UAuth.Sample.IntWasm" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
| 55 | + </MudPaper> |
| 56 | + </MudItem> |
| 57 | + |
| 58 | + <MudItem xs="12" md="6"> |
| 59 | + <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
| 60 | + <MudText Typo="Typo.h6">UAuthHub (EF Core)</MudText> |
| 61 | + <MudText Typo="Typo.subtitle2">Complete Auth server with UI, working together with WASM client and EF Core.</MudText> |
| 62 | + <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/UAuthHub/CodeBeam.UltimateAuth.Sample.UAuthHub.EFCore" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
| 63 | + </MudPaper> |
| 64 | + </MudItem> |
| 65 | + |
| 66 | + <MudItem xs="12" md="6"> |
| 67 | + <MudPaper Class="pa-4 d-flex flex-column align-center justify-center" Style="background: transparent; min-height: 200px" Outlined="true" Elevation="0"> |
| 68 | + <MudText Typo="Typo.h6">UAuthHub (InMemory)</MudText> |
45 | 69 | <MudText Typo="Typo.subtitle2">Complete Auth server with UI, working together with WASM client.</MudText> |
46 | 70 | <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/UAuthHub/CodeBeam.UltimateAuth.Sample.UAuthHub" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
47 | 71 | </MudPaper> |
|
54 | 78 | <MudButton Class="mt-4" Variant="Variant.Filled" Href="https://github.com/CodeBeamOrg/UltimateAuth/tree/dev/samples/resource-api/CodeBeam.UltimateAuth.Sample.ResourceApi" Target="_blank" StartIcon="@Icons.Material.Outlined.OpenInNew">View Source Code on GitHub</MudButton> |
55 | 79 | </MudPaper> |
56 | 80 | </MudItem> |
57 | | - </MudGrid> |
58 | | - |
59 | | - <MudAlert Severity="Severity.Info" Class="mt-6" ContentAlignment="HorizontalAlignment.Center"> |
60 | | - <b>WASM Sample Setup:</b><br /> |
61 | | - Start the following projects together:<br /> |
62 | | - (1) UAuthHub<br /> |
63 | | - (2) ResourceApi<br /> |
64 | | - (3) BlazorStandaloneWasm<br /> |
65 | | - After opening the solution, configure multiple startup projects in Visual Studio. |
66 | | - </MudAlert> |
67 | | - |
68 | | - <MudAlert Severity="Severity.Info" Class="my-6"> |
69 | | - Each sample refreshes (clear + seed) it's data on each restart. When you close application it will be reset. |
70 | | - </MudAlert> |
| 81 | + </MudGrid> |
| 82 | + |
| 83 | + |
| 84 | + <MudDivider Class="my-6" /> |
| 85 | + |
| 86 | + <MudStack Spacing="3" Class="text-start"> |
| 87 | + |
| 88 | + <MudText Typo="Typo.h5" Align="Align.Center"> |
| 89 | + <b>Running the Samples</b> |
| 90 | + </MudText> |
| 91 | + |
| 92 | + <MudText Typo="Typo.body2" Align="Align.Center"> |
| 93 | + The samples are preconfigured with different hosting and storage setups. |
| 94 | + Follow the project combinations below to run them locally. |
| 95 | + </MudText> |
| 96 | + |
| 97 | + <MudPaper Outlined="true" Elevation="0" Class="pa-4"> |
| 98 | + <MudStack Spacing="2"> |
| 99 | + <MudStack Row="true" AlignItems="AlignItems.Center" Justify="Justify.SpaceBetween"> |
| 100 | + <MudText Typo="Typo.h6">Blazor Server</MudText> |
| 101 | + <MudChip T="string" Color="Color.Success" Variant="Variant.Outlined" Size="Size.Small">Standalone</MudChip> |
| 102 | + </MudStack> |
| 103 | + |
| 104 | + <MudText Typo="Typo.body2"> |
| 105 | + Run either Blazor Server (InMemory) or Blazor Server (EF Core) independently. |
| 106 | + No additional projects are required. |
| 107 | + </MudText> |
| 108 | + </MudStack> |
| 109 | + </MudPaper> |
| 110 | + |
| 111 | + <MudPaper Outlined="true" Elevation="0" Class="pa-4"> |
| 112 | + <MudStack Spacing="2"> |
| 113 | + <MudStack Row="true"AlignItems="AlignItems.Center" Justify="Justify.SpaceBetween"> |
| 114 | + <MudText Typo="Typo.h6">Blazor Standalone WASM</MudText> |
| 115 | + <MudChip T="string" Variant="Variant.Outlined" Size="Size.Small">3 Projects</MudChip> |
| 116 | + </MudStack> |
| 117 | + |
| 118 | + <MudText Typo="Typo.body2">Start these projects together:</MudText> |
| 119 | + |
| 120 | + <MudStack Spacing="1" Class="pl-3"> |
| 121 | + <MudText Typo="Typo.body2">1. UAuthHub</MudText> |
| 122 | + <MudText Typo="Typo.body2">2. ResourceApi</MudText> |
| 123 | + <MudText Typo="Typo.body2">3. BlazorStandaloneWasm</MudText> |
| 124 | + </MudStack> |
| 125 | + |
| 126 | + <MudText Typo="Typo.caption" Color="Color.Info">Preconfigured with InMemory storage.</MudText> |
| 127 | + </MudStack> |
| 128 | + </MudPaper> |
| 129 | + |
| 130 | + <MudPaper Outlined="true" Elevation="0" Class="pa-4"> |
| 131 | + <MudStack Spacing="2"> |
| 132 | + <MudStack Row="true" AlignItems="AlignItems.Center" Justify="Justify.SpaceBetween"> |
| 133 | + <MudText Typo="Typo.h6">Blazor Interactive WASM</MudText> |
| 134 | + <MudChip T="string" Variant="Variant.Outlined" Size="Size.Small">3 Projects</MudChip> |
| 135 | + </MudStack> |
| 136 | + |
| 137 | + <MudText Typo="Typo.body2">Start these projects together:</MudText> |
| 138 | + |
| 139 | + <MudStack Spacing="1" Class="pl-3"> |
| 140 | + <MudText Typo="Typo.body2">1. UAuthHub EF Core</MudText> |
| 141 | + <MudText Typo="Typo.body2">2. Resource API EF Core</MudText> |
| 142 | + <MudText Typo="Typo.body2">3. Blazor Interactive WASM</MudText> |
| 143 | + </MudStack> |
| 144 | + |
| 145 | + <MudText Typo="Typo.caption" Color="Color.Info">Preconfigured with EF Core storage.</MudText> |
| 146 | + </MudStack> |
| 147 | + </MudPaper> |
| 148 | + |
| 149 | + <MudAlert Severity="Severity.Info" Variant="Variant.Text"> |
| 150 | + <b>Storage flexibility:</b> |
| 151 | + These are sample configurations, not framework limitations. |
| 152 | + Both WASM hosting models can use InMemory or EF Core backends. |
| 153 | + The combinations above are simply the preconfigured examples provided in this repository. |
| 154 | + </MudAlert> |
| 155 | + |
| 156 | + <MudText Typo="Typo.body2" Align="Align.Center"> |
| 157 | + In Visual Studio, open <b>Configure Startup Projects</b>, select <b>Multiple startup projects</b>, and set the required projects to <b>Start</b>. |
| 158 | + </MudText> |
| 159 | + |
| 160 | + <MudAlert Severity="Severity.Info" Variant="Variant.Text"> |
| 161 | + <b>Sample Data:</b> |
| 162 | + Sample data is reset and seeded again on each restart in the provided demo configurations. |
| 163 | + </MudAlert> |
| 164 | + </MudStack> |
| 165 | + |
71 | 166 | </MudStack> |
72 | 167 | </MudContainer> |
73 | 168 | </MudPage> |
0 commit comments