Skip to content

Commit 5082bef

Browse files
committed
replace .NET 8 with .NET 10
1 parent 40a0878 commit 5082bef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+98
-181
lines changed

MyApp.sln

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

MyApp.sln.Source

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

MyApp.slnx

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

MyApp/MyApp.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
</Target>
2222

2323
<ItemGroup>
24-
<PackageReference Include="Markdig" Version="0.43.*" />
25-
<PackageReference Include="ServiceStack" Version="8.*" />
26-
<PackageReference Include="ServiceStack.Mvc" Version="8.*" />
24+
<PackageReference Include="Markdig" Version="0.44.*" />
25+
<PackageReference Include="ServiceStack" Version="10.*" />
26+
<PackageReference Include="ServiceStack.Mvc" Version="10.*" />
2727

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

3232
<!-- <ItemGroup>-->

MyApp/_includes/empty-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If you don't have the [x dotnet tool](/dotnet-new) installed, the quickest way t
99

1010
There are a few different ways you can create empty ServiceStack projects ordered by their level of emptiness.
1111

12-
To write a minimal .NET 8 Web App to your current directory, [mix](/mix-tool) in the **[init](https://gist.github.com/gistlyn/8026c4c2a7202b99885539109145e12b)** gist files to your current directory:
12+
To write a minimal .NET 10 Web App to your current directory, [mix](/mix-tool) in the **[init](https://gist.github.com/gistlyn/8026c4c2a7202b99885539109145e12b)** gist files to your current directory:
1313

1414
:::sh
1515
npx add-in init

MyApp/_pages/admin-ui-analytics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ IPs where most traffic generates:
2424
### Getting Started
2525

2626
As they offer significant and valuable insights they're now built into all new ASP.NET Core IdentityAuth templates,
27-
existing .NET 8 IdentityAuth templates can enable it with:
27+
existing .NET 10 IdentityAuth templates can enable it with:
2828

2929
:::sh
3030
npx add-in sqlitelogs
3131
:::
3232

33-
.NET 8 Templates that are not configured to use [Endpoint Routing](/endpoint-routing)
33+
.NET 10 Templates that are not configured to use [Endpoint Routing](/endpoint-routing)
3434
and [ASP.NET Core IOC](/net-ioc) will need to explicitly register `SqliteRequestLogger`
3535
as a singleton dependency in addition to configuring it on the `RequestLogsFeature` plugin:
3636

MyApp/_pages/admin-ui-profiling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ HttpClient profiling is implemented a little differently then other events in th
170170

171171
### JsonApiClient Profiling
172172

173-
Although we're able to provide richer profiling for our .NET 8+ [JsonApiClient](/csharp-client#jsonapiclient) which has access to typed Request DTOs for submitting API Requests:
173+
Although we're able to provide richer profiling for our .NET 10+ [JsonApiClient](/csharp-client#jsonapiclient) which has access to typed Request DTOs for submitting API Requests:
174174

175175
<div class="block flex justify-center items-center">
176176
<img class="max-w-screen-md" src="/img/pages/admin-ui/profiling-client-api-request.png">

MyApp/_pages/ai-chat-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ i.e. the primary API used to access Large Language Models (LLMs).
1010

1111
## Install
1212

13-
AI Chat can be added to any .NET 8+ project by installing the **ServiceStack.AI.Chat** NuGet package and
13+
AI Chat can be added to any .NET 10+ project by installing the **ServiceStack.AI.Chat** NuGet package and
1414
configuration with:
1515

1616
:::copy

MyApp/_pages/auth/admin-apikeys.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Simple Auth for .NET 8 Apps
2+
title: Simple Auth for .NET 10 Apps
33
---
44

55
With ServiceStack now fully [integrated with ASP.NET Identity Auth](/auth/identity-auth),
6-
our latest [.NET 8 Tailwind Templates](/start) offer a full-featured Auth Configuration complete with User Registration,
6+
our latest [.NET 10 Tailwind Templates](/start) offer a full-featured Auth Configuration complete with User Registration,
77
Login, Password Recovery, Two Factory Auth, and more.
88

99
Whilst great for Web Applications that need it, it neglects the class of Apps which don't need User Auth and
@@ -12,11 +12,11 @@ the additional complexity it brings inc. Identity and Password Management, EF Mi
1212
For these stand-alone Apps, Microservices and Docker Appliances that would still like to restrict Access to their APIs
1313
but don't need the complexity of ASP .NET Core's Authentication machinery, a simpler Auth Story would be preferred.
1414

15-
With the introduction of API Keys in this release we're able to provide a simpler Auth Story for .NET 8 Microservices
15+
With the introduction of API Keys in this release we're able to provide a simpler Auth Story for .NET 10 Microservices
1616
that's easy for **Admin** Users to manage and control which trusted clients and B2B Integrations can access their functionality.
1717

1818
:::youtube 0ceU91ZBhTQ
19-
Simple Auth Story with API Keys ideal for .NET 8 Microservices
19+
Simple Auth Story with API Keys ideal for .NET 10 Microservices
2020
:::
2121

2222
The easiest way to get started is by creating a new Empty project with API Keys enabled with your preferred database to store the API Keys in. SQLite is a good choice for stand-alone Apps as it doesn't require any infrastructure dependencies.
@@ -353,6 +353,6 @@ PreRequestFilters.Add((req, res) =>
353353

354354
### Summary
355355

356-
We hope this shows how stand-alone .NET 8 Microservices and self-contained Docker Apps can use the
356+
We hope this shows how stand-alone .NET 10 Microservices and self-contained Docker Apps can use the
357357
simple **Admin** and **API Keys** configuration to easily secure their APIs, complete with **Management UI**
358358
and **typed Service Client** integrations.

MyApp/_pages/auth/apikeys.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ another Auth Provider that provided another way to authenticate a single user. T
1919

2020
Given the primary use-case for API Keys is for machine-to-machine communication where the client is not a User,
2121
nor do they want systems they give out their API Keys to, to have access to their User Account, we've changed
22-
how API Keys work in .NET 8.
22+
how API Keys work in .NET 10.
2323

24-
## .NET 8 API Keys Feature
24+
## .NET 10 API Keys Feature
2525

2626
:::youtube U4vqOIHOs_Q
27-
New .NET 8 API Keys Feature with Built-In UIs!
27+
New .NET 10 API Keys Feature with Built-In UIs!
2828
:::
2929

3030
The first design decision to overcome the above issues was to separate API Keys from Users and Authentication itself,

0 commit comments

Comments
 (0)