Skip to content

Commit 68c7765

Browse files
committed
Upgrade to .NET 10
1 parent b3cb6f7 commit 68c7765

19 files changed

+3986
-43
lines changed

MyApp.sln

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

MyApp/MyApp.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<PublishProfile>DefaultContainer</PublishProfile>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<Nullable>enable</Nullable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
@@ -26,12 +26,12 @@
2626
</Target>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Markdig" Version="0.42.*" />
30-
<PackageReference Include="ServiceStack" Version="8.*" />
31-
<PackageReference Include="ServiceStack.Mvc" Version="8.*" />
29+
<PackageReference Include="Markdig" Version="0.44.*" />
30+
<PackageReference Include="ServiceStack" Version="10.*" />
31+
<PackageReference Include="ServiceStack.Mvc" Version="10.*" />
3232

3333
<!-- Required for Razor compilation on change: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-5.0 -->
34-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.*" />
34+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="10.*" />
3535
</ItemGroup>
3636

3737
<ItemGroup>

MyApp/_posts/2024-02-08_openapi-v3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ x mix openapi3
7575
This will install the required ASP.NET Core Microsoft, Swashbuckle and ServiceStack Open API NuGet packages:
7676

7777
```xml
78-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.*" />
79-
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.*" />
80-
<PackageReference Include="ServiceStack.AspNetCore.OpenApi" Version="8.*" />
78+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.*" />
79+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.*" />
80+
<PackageReference Include="ServiceStack.AspNetCore.OpenApi" Version="10.*" />
8181
```
8282

8383
Then add the `Configure.OpenApi.cs` [Modular Startup](https://docs.servicestack.net/modular-startup) class to your project:

MyApp/_posts/2024-02-11_jwt-identity-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class ConfigureAuth : IHostingStartup
6060
Once configured we can enable JWT Auth in Swagger UI by installing **Swashbuckle.AspNetCore**:
6161

6262
:::copy
63-
`<PackageReference Include="Swashbuckle.AspNetCore" Version="8.*" />`
63+
`<PackageReference Include="Swashbuckle.AspNetCore" Version="10.*" />`
6464
:::
6565

6666
Then enable Open API, Swagger UI, ServiceStack's support for Swagger UI and the JWT Bearer Auth option:

MyApp/_posts/2024-03-01_vite-press-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,14 +453,14 @@ HTML or XML fragments can also be copied by escaping them first:
453453

454454
```md
455455
:::copy
456-
`<PackageReference Include="ServiceStack" Version="8.*" />`
456+
`<PackageReference Include="ServiceStack" Version="10.*" />`
457457
:::
458458
```
459459

460460
#### Output
461461

462462
:::copy
463-
`<PackageReference Include="ServiceStack" Version="8.*" />`
463+
`<PackageReference Include="ServiceStack" Version="10.*" />`
464464
:::
465465

466466
### sh

0 commit comments

Comments
 (0)