Skip to content

Commit b8cf64f

Browse files
committed
Update to Preview 7
1 parent 4df3cac commit b8cf64f

File tree

8 files changed

+42
-11
lines changed

8 files changed

+42
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Samples for ASP.NET Core 6.0 (476)
22

3-
Samples for ASP.NET Core **8.0 Preview 6** is available [here](/projects/.net8) (14).
3+
Samples for ASP.NET Core **8.0 Preview 7** is available [here](/projects/.net8) (14).
44

55
Samples for ASP.NET Core **7.0** is available [here](/projects/.net7) (45).
66

projects/.net8/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ASP.NET 8.0 Preview 6 (14)
1+
# ASP.NET 8.0 Preview 7 (14)
22

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

55
* [QuickGrid One](QuickGridOne)
66

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dotnet.defaultSolution": "RazorComponentEight.sln"
3+
}

projects/.net8/RazorComponentEight/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using Microsoft.AspNetCore.Components.Web;
22

33
var builder = WebApplication.CreateBuilder();
4-
builder.Services.AddRazorComponents().AddWebAssemblyComponents();
4+
builder.Services.AddRazorComponents()
5+
.AddServerComponents()
6+
.AddWebAssemblyComponents();
57

68
var app = builder.Build();
79
app.MapRazorComponents<RazorComponentEight.App>();

projects/.net8/RazorComponentEight/RazorComponentEight.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
<TargetFramework>net8.0</TargetFramework>
44
<ImplicitUsings>true</ImplicitUsings>
55
</PropertyGroup>
6-
</Project>
6+
<ItemGroup>
7+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.0-preview.7.*" />
8+
</ItemGroup>
9+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.001.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RazorComponentEight", "RazorComponentEight.csproj", "{4A88192B-260A-487F-82F7-B50B754807EF}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{4A88192B-260A-487F-82F7-B50B754807EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{4A88192B-260A-487F-82F7-B50B754807EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{4A88192B-260A-487F-82F7-B50B754807EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{4A88192B-260A-487F-82F7-B50B754807EF}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {D6C869D1-140D-41B1-9E53-6B32E2B94A80}
24+
EndGlobalSection
25+
EndGlobal

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.6.*",
3+
"version": "8.0.100-preview.7.*",
44
"rollForward": "major"
55
}
66
}

projects/.net8/nuget.config

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<packageSources>
4-
<clear />
5-
<add key="aspnetcore" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
6-
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
7-
</packageSources>
3+
<packageSources>
4+
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
5+
</packageSources>
86
</configuration>

0 commit comments

Comments
 (0)