Skip to content

Commit 95e4b22

Browse files
committed
Upgrade to .NET 8 preview 6
1 parent b39ee8e commit 95e4b22

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

projects/.net8/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ASP.NET 8.0 Preview 4 (12)
1+
# ASP.NET 8.0 Preview 6 (12)
22

3-
These samples require [.NET 8.0 Preview 4](https://github.com/dotnet/installer#table).
3+
These samples require [.NET 8.0 Preview 6](https://github.com/dotnet/installer#table).
44

55

66
* [QuickGrid One](QuickGridOne)
@@ -9,7 +9,7 @@ These samples require [.NET 8.0 Preview 4](https://github.com/dotnet/installer#t
99

1010
* [RazorComponentOne](RazorComponentOne)
1111

12-
This sample demonstrates a simple usage of Razor Component component.
12+
This sample demonstrates a simple usage of Razor Component component. **current this is broken**.
1313

1414
* [RazorComponentTwo](RazorComponentTwo)
1515

@@ -50,3 +50,5 @@ These samples require [.NET 8.0 Preview 4](https://github.com/dotnet/installer#t
5050
* [SlimBuilder](slim-builder)
5151

5252
`WebApplication.CreateSlimBuilder` creates `WebApplicationBuilder` with minimal configuration defaults.
53+
54+
<!-- https://github.com/dotnet/aspnetcore/tree/main/src/Components/Samples/BlazorUnitedApp -->
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
@page "/"
2-
@layout RazorComponentOne.Shared.MainLayout
32

4-
<Greetings Message="Hello World" />
3+
<Greetings Message="Hello World" Mode="RenderMode.Server" />
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
var builder = WebApplication.CreateBuilder();
22
builder.Services.AddRazorComponents();
3+
34
var app = builder.Build();
45

5-
app.MapRazorComponents<RazorComponentOne.Shared.MainLayout>();
6+
app.MapRazorComponents<RazorComponentOne.Shared.MainLayout>()
7+
.AddServerRenderMode();
8+
69
app.Run();
710

811

projects/.net8/RazorComponentOne/Shared/MainLayout.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@inherits LayoutComponentBase
2-
@implements IRazorComponentApplication<MainLayout>
32

43
<!doctype html>
54
<html lang="en">

projects/.net8/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100-preview.4.*",
3+
"version": "8.0.100-preview.6.*",
44
"rollForward": "major"
55
}
66
}

0 commit comments

Comments
 (0)