Skip to content

Commit a92a688

Browse files
committed
Upgrade to .NET 10 deps
1 parent 0d2a861 commit a92a688

File tree

10 files changed

+26
-22
lines changed

10 files changed

+26
-22
lines changed

MyApp.Client/src/_posts/2023-11-28_net8-identity-auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ but replace their internal implementation to use ASP.NET Identity Auth instead.
120120
The new Identity Auth integration is contained in the .NET 6+ **ServiceStack.Extensions** NuGet package:
121121

122122
```xml
123-
<PackageReference Include="ServiceStack.Extensions" Version="8.*" />
123+
<PackageReference Include="ServiceStack.Extensions" Version="10.*" />
124124
```
125125

126126
Which at a minimum lets you configure ServiceStack to use Identity Auth by simply registering the existing `AuthFeature`

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

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

7373
```xml
74-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.*" />
75-
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.*" />
76-
<PackageReference Include="ServiceStack.AspNetCore.OpenApi" Version="8.*" />
74+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.*" />
75+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.*" />
76+
<PackageReference Include="ServiceStack.AspNetCore.OpenApi" Version="10.*" />
7777
```
7878

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

MyApp.Client/src/_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.Client/src/_posts/2024-03-01_vite-press-plugin.md

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

432432
```md
433433
:::copy
434-
`<PackageReference Include="ServiceStack" Version="8.*" />`
434+
`<PackageReference Include="ServiceStack" Version="10.*" />`
435435
:::
436436
```
437437

438438
#### Output
439439

440440
:::copy
441-
`<PackageReference Include="ServiceStack" Version="8.*" />`
441+
`<PackageReference Include="ServiceStack" Version="10.*" />`
442442
:::
443443

444444
### sh

MyApp.ServiceInterface/MyApp.ServiceInterface.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.*" />
1111
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.*" />
12-
<PackageReference Include="ServiceStack" Version="8.*" />
13-
<PackageReference Include="ServiceStack.Ormlite" Version="8.*" />
14-
<PackageReference Include="ServiceStack.Extensions" Version="8.*" />
12+
<PackageReference Include="ServiceStack" Version="10.*" />
13+
<PackageReference Include="ServiceStack.Ormlite" Version="10.*" />
14+
<PackageReference Include="ServiceStack.Extensions" Version="10.*" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

MyApp.ServiceModel/MyApp.ServiceModel.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<PackageReference Include="NUnit" Version="4.*" />
1717
<PackageReference Include="NUnit3TestAdapter" Version="5.*" />
1818
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.*" />
19-
<PackageReference Include="ServiceStack" Version="8.*" />
20-
<PackageReference Include="ServiceStack.Kestrel" Version="8.*" />
19+
<PackageReference Include="ServiceStack" Version="10.*" />
20+
<PackageReference Include="ServiceStack.Kestrel" Version="10.*" />
2121
</ItemGroup>
2222

2323
</Project>

MyApp/MyApp.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.*" />
2424
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.*" />
2525
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.*" />
26-
<PackageReference Include="ServiceStack" Version="8.*" />
27-
<PackageReference Include="ServiceStack.Mvc" Version="8.*" />
28-
<PackageReference Include="ServiceStack.OpenApi.Swashbuckle" Version="8.10.1" />
29-
<PackageReference Include="ServiceStack.Server" Version="8.*" />
30-
<PackageReference Include="ServiceStack.Extensions" Version="8.*" />
31-
<PackageReference Include="ServiceStack.Ormlite.Sqlite.Data" Version="8.*" />
32-
<PackageReference Include="ServiceStack.Jobs" Version="8.*" />
33-
<PackageReference Include="ServiceStack.AI.Chat" Version="8.*" />
26+
<PackageReference Include="ServiceStack" Version="10.*" />
27+
<PackageReference Include="ServiceStack.Mvc" Version="10.*" />
28+
<PackageReference Include="ServiceStack.Server" Version="10.*" />
29+
<PackageReference Include="ServiceStack.Extensions" Version="10.*" />
30+
<PackageReference Include="ServiceStack.Ormlite.Sqlite.Data" Version="10.*" />
31+
<PackageReference Include="ServiceStack.Jobs" Version="10.*" />
32+
<PackageReference Include="ServiceStack.AI.Chat" Version="10.*" />
33+
<PackageReference Include="ServiceStack.OpenApi.Swashbuckle" Version="10.*" />
3434
</ItemGroup>
3535

3636
<ItemGroup>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ A modern full-stack .NET 10.0 + Vite React 19 SPA project template that combines
1212
npx create-net react-spa MyProject
1313
```
1414

15+
## Jumpstart with Copilot
16+
17+
Instantly [scaffold a new App with this template](https://github.com/new?template_name=react-spa&template_owner=NetCoreTemplates) using GitHub Copilot, just describe the features you want and watch Copilot build it!
18+
1519
## Getting Started
1620

1721
Run Server .NET Project (automatically starts both .NET and Vite dev servers):

load-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# - KAMAL_DEPLOY_IP=100.100.100.100 # IP address of server to deploy to
1212
# - KAMAL_DEPLOY_HOST=www.example.org # domain name of website
1313
# - KAMAL_REGISTRY_USERNAME=user # Container registry credentials (for ghcr.io)
14-
# - GITHUB_PACKAGES_TOKEN=ghp_xxx
14+
# - KAMAL_REGISTRY_PASSWORD=ghp_xxx
1515
# Login with:
1616
# echo $KAMAL_REGISTRY_PASSWORD | docker login ghcr.io -u mythz --password-stdin
1717

0 commit comments

Comments
 (0)