Skip to content

Commit fce8adf

Browse files
committed
Upgrade to .NET 10
1 parent 8baf233 commit fce8adf

File tree

7 files changed

+33
-65
lines changed

7 files changed

+33
-65
lines changed

MyApp.ServiceInterface/MyApp.ServiceInterface.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.*" />
11-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.*" />
12-
<PackageReference Include="ServiceStack" Version="8.*" />
13-
<PackageReference Include="ServiceStack.Ormlite" Version="8.*" />
10+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.*" />
11+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.*" />
12+
<PackageReference Include="ServiceStack" Version="10.*" />
13+
<PackageReference Include="ServiceStack.Ormlite" Version="10.*" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

MyApp.ServiceModel/MyApp.ServiceModel.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="ServiceStack.Interfaces" Version="8.*" />
10+
<PackageReference Include="ServiceStack.Interfaces" Version="10.*" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

MyApp.Tests/MyApp.Tests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DebugType>portable</DebugType>
@@ -13,11 +13,11 @@
1313
<ProjectReference Include="..\MyApp.ServiceModel\MyApp.ServiceModel.csproj" />
1414
<ProjectReference Include="..\MyApp\MyApp.csproj" />
1515

16-
<PackageReference Include="NUnit" Version="3.*" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="4.*" />
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
19-
<PackageReference Include="ServiceStack" Version="8.*" />
20-
<PackageReference Include="ServiceStack.Kestrel" Version="8.*" />
16+
<PackageReference Include="NUnit" Version="4.*" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.*" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.*" />
19+
<PackageReference Include="ServiceStack" Version="10.*" />
20+
<PackageReference Include="ServiceStack.Kestrel" Version="10.*" />
2121
</ItemGroup>
2222

2323
</Project>

MyApp.sln

Lines changed: 0 additions & 43 deletions
This file was deleted.

MyApp.slnx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Solution>
2+
<Project Path="MyApp.ServiceInterface/MyApp.ServiceInterface.csproj" />
3+
<Project Path="MyApp.ServiceModel/MyApp.ServiceModel.csproj" />
4+
<Project Path="MyApp.Tests/MyApp.Tests.csproj" />
5+
<Project Path="MyApp/MyApp.csproj" />
6+
</Solution>

NuGet.Config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
5+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
6+
</packageSources>
7+
</configuration>

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# blazor-admin
22

3-
.NET 8.0 Simple, Server Rendered Blazor Tailwind App with Vue interactivity.
3+
.NET 10.0 Simple, Server Rendered Blazor Tailwind App with Vue interactivity.
44

55
![](https://raw.githubusercontent.com/ServiceStack/Assets/master/csharp-templates/blazor-vue.png)
66

7-
> Browse [source code](https://github.com/NetCoreTemplates/blazor-admin) and install with [dotnet-new](https://docs.servicestack.net/dotnet-new):
7+
> Browse [source code](https://github.com/NetCoreTemplates/blazor-admin):
88
9-
$ dotnet tool install -g x
9+
```bash
10+
npx create-net blazor-admin ProjectName
11+
```
1012

11-
$ x new blazor-admin ProjectName
13+
## Jumpstart with Copilot
1214

13-
Alternatively write new project files directly into an empty repository, using the Directory Name as the ProjectName:
14-
15-
$ git clone https://github.com/<User>/<ProjectName>.git
16-
$ cd <ProjectName>
17-
$ x new blazor-admin
15+
Instantly [scaffold a new App with this template](https://github.com/new?template_name=blazor-admin&template_owner=NetCoreTemplates) using GitHub Copilot, just describe the features you want and watch Copilot build it!

0 commit comments

Comments
 (0)