Skip to content

Commit

Permalink
RCL demos update
Browse files Browse the repository at this point in the history
  • Loading branch information
gvreddy04 committed Sep 19, 2023
1 parent 9a766e8 commit ec1a30d
Show file tree
Hide file tree
Showing 384 changed files with 11 additions and 14,215 deletions.
6 changes: 3 additions & 3 deletions BlazorBootstrap.Demo.Server/App.razor
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Router AppAssembly="@typeof(App).Assembly">
<Router AppAssembly="@typeof(App).Assembly" PreferExactMatches="@true" AdditionalAssemblies="new []{ typeof(BlazorBootstrap.Demo.RCL.App).Assembly }">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(BlazorBootstrap.Demo.RCL.MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<LayoutView Layout="@typeof(BlazorBootstrap.Demo.RCL.MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
Expand Down
26 changes: 1 addition & 25 deletions BlazorBootstrap.Demo.Server/BlazorBootstrap.Demo.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,7 @@
</PropertyGroup>

<ItemGroup>
<Compile Remove="Pages\GettingStarted\maui-blazor\Snippet_03_Starter_Template_Register_services_Program.cs" />
<Compile Remove="Pages\GettingStarted\server\Snippet_03_Starter_Template_Register_services_Program.cs" />
<Compile Remove="Pages\GettingStarted\webassembly\Snippet_03_Starter_Template_Register_services_Program.cs" />
<ProjectReference Include="..\BlazorBootstrap.Demo.RCL\BlazorBootstrap.Demo.RCL.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="Pages\GettingStarted\maui-blazor\Snippet_03_Starter_Template_Register_services_Program.cs" />
<Content Include="Pages\GettingStarted\server\Snippet_03_Starter_Template_Register_services_Program.cs" />
<Content Include="Pages\GettingStarted\webassembly\Snippet_03_Starter_Template_Register_services_Program.cs" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\blazorbootstrap\BlazorBootstrap.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\sample-data\" />
</ItemGroup>

<Target Name="EmbedDemos" BeforeTargets="PrepareForBuild">
<!-- Let's embed demos sources into the assembly to show the source at runtime. -->
<ItemGroup>
<EmbeddedResource Include="Pages\**\*Demo*.razor" />
<EmbeddedResource Include="Pages\**\*Snippet*" />
</ItemGroup>
</Target>

</Project>
14 changes: 0 additions & 14 deletions BlazorBootstrap.Demo.Server/Models/Customer.cs

This file was deleted.

13 changes: 0 additions & 13 deletions BlazorBootstrap.Demo.Server/Models/Department.cs

This file was deleted.

12 changes: 0 additions & 12 deletions BlazorBootstrap.Demo.Server/Models/Employee.cs

This file was deleted.

10 changes: 0 additions & 10 deletions BlazorBootstrap.Demo.Server/Models/Employee1.cs

This file was deleted.

10 changes: 0 additions & 10 deletions BlazorBootstrap.Demo.Server/Models/Employee2.cs

This file was deleted.

14 changes: 0 additions & 14 deletions BlazorBootstrap.Demo.Server/Models/Employee3.cs

This file was deleted.

10 changes: 0 additions & 10 deletions BlazorBootstrap.Demo.Server/Models/Employee4.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ec1a30d

Please sign in to comment.