File tree Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- # ASP.NET 8.0 Preview 4 (12)
1
+ # ASP.NET 8.0 Preview 6 (12)
2
2
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 ) .
4
4
5
5
6
6
* [ QuickGrid One] ( QuickGridOne )
@@ -9,7 +9,7 @@ These samples require [.NET 8.0 Preview 4](https://github.com/dotnet/installer#t
9
9
10
10
* [ RazorComponentOne] ( RazorComponentOne )
11
11
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 ** .
13
13
14
14
* [ RazorComponentTwo] ( RazorComponentTwo )
15
15
@@ -50,3 +50,5 @@ These samples require [.NET 8.0 Preview 4](https://github.com/dotnet/installer#t
50
50
* [ SlimBuilder] ( slim-builder )
51
51
52
52
` WebApplication.CreateSlimBuilder ` creates ` WebApplicationBuilder ` with minimal configuration defaults.
53
+
54
+ <!-- https://github.com/dotnet/aspnetcore/tree/main/src/Components/Samples/BlazorUnitedApp -->
Original file line number Diff line number Diff line change 1
1
@page " /"
2
- @layout RazorComponentOne .Shared .MainLayout
3
2
4
- <Greetings Message =" Hello World" />
3
+ <Greetings Message =" Hello World" Mode = " RenderMode.Server " />
Original file line number Diff line number Diff line change 1
1
var builder = WebApplication . CreateBuilder ( ) ;
2
2
builder . Services . AddRazorComponents ( ) ;
3
+
3
4
var app = builder . Build ( ) ;
4
5
5
- app . MapRazorComponents < RazorComponentOne . Shared . MainLayout > ( ) ;
6
+ app . MapRazorComponents < RazorComponentOne . Shared . MainLayout > ( )
7
+ . AddServerRenderMode ( ) ;
8
+
6
9
app . Run ( ) ;
7
10
8
11
Original file line number Diff line number Diff line change 1
1
@inherits LayoutComponentBase
2
- @implements IRazorComponentApplication <MainLayout >
3
2
4
3
<!doctype html>
5
4
<html lang =" en" >
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 8.0.100-preview.4 .*" ,
3
+ "version" : " 8.0.100-preview.6 .*" ,
4
4
"rollForward" : " major"
5
5
}
6
6
}
You can’t perform that action at this time.
0 commit comments