You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/in-depth/client/advanced/maui-aot.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ When using [Native AOT with .NET MAUI](https://learn.microsoft.com/dotnet/maui/d
4
4
5
5
1.[Implement compiled models for Entity Framework Core](https://learn.microsoft.com/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cexpression-api-with-constant#compiled-models).
6
6
2.[Implement source generation in System.Text.Json](https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/source-generation).
7
-
3.[Enable the Interpreter for iOS and Mac Catalyst](https://learn.microsoft.com/dotnet/maui/macios/interpreter?view=net-maui-8.0#enable-the-interpreter).
7
+
3.[Enable the Interpreter for iOS and Mac Catalyst](https://learn.microsoft.com/dotnet/maui/macios/interpreter?view=net-maui-10.0#enable-the-interpreter).
8
8
9
9
The following are basic instructions on how to fulfill these requirements. However, you should consult the official documentation (linked above) for each requirement.
10
10
@@ -15,7 +15,7 @@ The following are basic instructions on how to fulfill these requirements. Howe
15
15
16
16
To enable compiled models in your MAUI project:
17
17
18
-
1. Move your `DbContext` and models to a separate library that targets `net8.0`.
18
+
1. Move your `DbContext` and models to a separate library that targets `net10.0`.
19
19
2. Create a dummy project with a project reference to the library. This will act as a startup project for the EF Core Tools we will run later. This can be as simple as a console application.
20
20
3. Implement an `IDesignTimeDbContextFactory` for your context. This can be placed in your dummy project. For example:
21
21
@@ -108,7 +108,7 @@ Add the following property to the iOS release configuration in your MAUI app pro
108
108
109
109
The property group should look something like the following:
Copy file name to clipboardExpand all lines: docs/in-depth/client/online.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The `HttpClientOptions` allows you to specify the following values:
29
29
*`Timeout` - a `TimeSpan` (default: 60 seconds); specifies the `HttpClient.Timeout` value for created clients.
30
30
*`UserAgent` - the User-Agent header value for each request. By default, a Datasync service specific value is used.
31
31
32
-
The HTTP pipeline is an important mechanism by which you can adjust the requests as they flow through the Datasync Community Toolkit. For instance, you might want to use a custom delegating handler for authentication, another for logging, and another for adding an API key to the request. If you are adding a custom [HttpClientHandler](https://learn.microsoft.com/dotnet/api/system.net.http.httpclienthandler?view=net-8.0), then it should be the last element in the `HttpPipeline`. You can specify a pipeline like this:
32
+
The HTTP pipeline is an important mechanism by which you can adjust the requests as they flow through the Datasync Community Toolkit. For instance, you might want to use a custom delegating handler for authentication, another for logging, and another for adding an API key to the request. If you are adding a custom [HttpClientHandler](https://learn.microsoft.com/dotnet/api/system.net.http.httpclienthandler?view=net-10.0), then it should be the last element in the `HttpPipeline`. You can specify a pipeline like this:
Copy file name to clipboardExpand all lines: docs/in-depth/server/db/mysql.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
MySQL is supported via the Entity Framework Core repository. Add the [`Pomelo.EntityFrameworkCore.Mysql`](https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySql) driver to your project.
4
4
5
5
!!! note
6
-
You can probably use the `MySql.EntityFrameworkCore` library as well. However, we only test with the Pomelo driver.
6
+
As of the v10.0.0 of the Datasync Library, we no longer test MySQL. It **should** work, but we can not make any guarantees. Open an issue if you find problems.
Copy file name to clipboardExpand all lines: docs/in-depth/server/index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Because the datasync service is designed to provide disconnected access over int
9
9
10
10
## Supported Platforms
11
11
12
-
The ASP.NET Core packages support ASP.NET 8.0 or later.
12
+
The ASP.NET Core packages support ASP.NET 10.0 or later.
13
13
14
14
The datasync service support a number of backend database servers, and allows for the custom implementation of repositories. Each entity that is synchronized must meet the following criteria:
15
15
@@ -37,8 +37,8 @@ A datasync server based on the Datasync Community Toolkit supports:
37
37
38
38
To create a new datasync service:
39
39
40
-
1. Create an ASP.NET 8.0 (or later) WebAPI project.
41
-
2. Add Entity Framework Core.
40
+
1. Create an ASP.NET 10.0 (or later) WebAPI project.
41
+
2. Add Entity Framework Core 10.0 (or later).
42
42
3. Add Datasync Community Toolkit.
43
43
44
44
For information on creating an ASP.NET Core service with Entity Framework Core, see [the official tutorial](https://learn.microsoft.com/aspnet/core/tutorials/first-web-api).
@@ -202,7 +202,7 @@ If you want to allow both unauthenticated and authenticated access to a table, d
202
202
203
203
## Configure logging
204
204
205
-
Logging is handled through [the normal logging mechanism](https://learn.microsoft.com/aspnet/core/fundamentals/logging/?view=aspnetcore-8.0) for ASP.NET Core. Assign the `ILogger` object to the `Logger` property:
205
+
Logging is handled through [the normal logging mechanism](https://learn.microsoft.com/aspnet/core/fundamentals/logging/?view=aspnetcore-10.0) for ASP.NET Core. Assign the `ILogger` object to the `Logger` property:
206
206
207
207
[Route("tables/[controller]")]
208
208
public class ModelController : TableController<Model>
@@ -255,7 +255,7 @@ The `TableController<T>` base class contains an event handler that is called at
255
255
256
256
## OpenAPI Support
257
257
258
-
You can publish the API defined by data sync controllers using [NSwag](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?view=aspnetcore-8.0&tabs=visual-studio), [Swashbuckle](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0&tabs=visual-studio), or the [OpenApi support in .NET 9](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview?view=aspnetcore-9.0). In all cases, start by setting up the service as you normally would for the chosen library.
258
+
You can publish the API defined by data sync controllers using [NSwag](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag?view=aspnetcore-10.0&tabs=visual-studio), [Swashbuckle](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-10.0&tabs=visual-studio), or the [OpenApi support in .NET 10](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview?view=aspnetcore-10.0). In all cases, start by setting up the service as you normally would for the chosen library.
Copy file name to clipboardExpand all lines: docs/in-depth/server/openapi/net9.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# .NET 9.x OpenApi support
1
+
# .NET 10.x OpenApi support
2
2
3
-
Follow [the basic instructions for OpenApi integration](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/aspnetcore-openapi?view=aspnetcore-9.0&tabs=visual-studio), then modify as follows:
3
+
Follow [the basic instructions for OpenApi integration](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/aspnetcore-openapi?view=aspnetcore-10.0&tabs=visual-studio), then modify as follows:
4
4
5
5
1. Add packages to your project to support NSwag. The following packages are required:
6
6
@@ -28,4 +28,4 @@ Browsing to the `/openapi/v1.json` endpoint of the web service allows you to dow
28
28
29
29
## Known issues
30
30
31
-
The .NET 9.x OpenApi support currently does not support dynamic schema generation. This means that the schema generated within the OpenApi document will be incomplete.
31
+
The .NET 10.x OpenApi support currently does not support dynamic schema generation. This means that the schema generated within the OpenApi document will be incomplete.
Copy file name to clipboardExpand all lines: docs/in-depth/server/openapi/swashbuckle.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Swashbuckle support
2
2
3
-
Follow the [basic instructions for Swashbuckle integration](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0&tabs=visual-studio), then modify as follows:
3
+
Follow the [basic instructions for Swashbuckle integration](https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-10.0&tabs=visual-studio), then modify as follows:
4
4
5
5
1. Add packages to your project to support Swashbuckle. The following packages are required:
0 commit comments