Skip to content

Commit

Permalink
Comon RCL library for demos (#364)
Browse files Browse the repository at this point in the history
* Demos RCL library
  • Loading branch information
gvreddy04 authored Sep 19, 2023
1 parent a0881af commit 1672775
Show file tree
Hide file tree
Showing 1,154 changed files with 186 additions and 28,545 deletions.
6 changes: 3 additions & 3 deletions BlazorBootstrap.Demo.Hosted/Client/App.razor
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Router AppAssembly="@typeof(App).Assembly" PreferExactMatches="@true">
<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
Original file line number Diff line number Diff line change
@@ -1,42 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</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" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.5" PrivateAssets="all" />
<PackageReference Include="System.Net.Http.Json" Version="7.0.0" />
</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" />
<ProjectReference Include="..\..\BlazorBootstrap.Demo.RCL\BlazorBootstrap.Demo.RCL.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.11" PrivateAssets="all" />
</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.Hosted/Client/Models/Customer.cs

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

10 changes: 0 additions & 10 deletions BlazorBootstrap.Demo.Hosted/Client/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.

Loading

0 comments on commit 1672775

Please sign in to comment.