Skip to content

Commit

Permalink
Deleting unecessary pages and services from the sample
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloNunes committed Sep 27, 2024
1 parent 62616c0 commit 40f4c8e
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 110 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>0b9315f9-8308-4931-81fd-712caf1c663c</UserSecretsId>
</PropertyGroup>

<ItemGroup>
Expand Down
13 changes: 0 additions & 13 deletions workshop/azd-sample/src/ReleCloudLite.Web/Data/WeatherForecast.cs

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions workshop/azd-sample/src/ReleCloudLite.Web/Pages/Counter.razor

This file was deleted.

47 changes: 0 additions & 47 deletions workshop/azd-sample/src/ReleCloudLite.Web/Pages/FetchData.razor

This file was deleted.

1 change: 0 additions & 1 deletion workshop/azd-sample/src/ReleCloudLite.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// Add services to the container.
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
builder.Services.AddSingleton<WeatherForecastService>();
builder.Services.AddSingleton<TicketService>();
var azureCredential = builder.GetAzureTokenCredential();

Expand Down
10 changes: 0 additions & 10 deletions workshop/azd-sample/src/ReleCloudLite.Web/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@
<span class="oi oi-home" aria-hidden="true"></span> Home
</NavLink>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="counter">
<span class="oi oi-plus" aria-hidden="true"></span> Counter
</NavLink>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="fetchdata">
<span class="oi oi-list-rich" aria-hidden="true"></span> Fetch data
</NavLink>
</div>
<div class="nav-item px-3">
<NavLink class="nav-link" href="tickets">
<span class="oi oi-list-rich" aria-hidden="true"></span> Tickets
Expand Down

0 comments on commit 40f4c8e

Please sign in to comment.