|
1 | 1 | # Frequently Asked Questions
|
2 | 2 |
|
3 | 3 | #### Where can I find documentation and examples?
|
4 |
| -While the [documentation](~/usage/resources/index.md) covers basic features and a few runnable example projects are available [here](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples), |
5 |
| -many more advanced use cases are available as integration tests [here](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/test/JsonApiDotNetCoreTests/IntegrationTests), so be sure to check them out! |
| 4 | +The [documentation](~/usage/resources/index.md) covers basic features, as well as [advanced use cases](~/usage/advanced/index.md). Several runnable example projects are available [here](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/src/Examples). |
6 | 5 |
|
7 | 6 | #### Why don't you use the built-in OpenAPI support in ASP.NET Core?
|
8 | 7 | The structure of JSON:API request and response bodies differs significantly from the signature of JsonApiDotNetCore controllers.
|
@@ -48,19 +47,20 @@ Aside from debugging, you can get more info by:
|
48 | 47 | options.SerializerOptions.WriteIndented = true;
|
49 | 48 | });
|
50 | 49 | ```
|
51 |
| -- Turning on verbose logging and logging of executed SQL statements, by adding the following to your `appsettings.Development.json`: |
| 50 | +- Turning on trace logging, or/and logging of executed SQL statements, by adding the following to your `appsettings.Development.json`: |
52 | 51 |
|
53 | 52 | ```json
|
54 | 53 | {
|
55 | 54 | "Logging": {
|
56 | 55 | "LogLevel": {
|
57 | 56 | "Default": "Warning",
|
58 | 57 | "Microsoft.EntityFrameworkCore.Database.Command": "Information",
|
59 |
| - "JsonApiDotNetCore": "Verbose" |
| 58 | + "JsonApiDotNetCore": "Trace" |
60 | 59 | }
|
61 | 60 | }
|
62 | 61 | }
|
63 | 62 | ```
|
| 63 | +- Activate debug logging of LINQ expressions by adding a NuGet reference to [AgileObjects.ReadableExpressions](https://www.nuget.org/packages/AgileObjects.ReadableExpressions) in your project. |
64 | 64 |
|
65 | 65 | #### What if my JSON:API resources do not exactly match the shape of my database tables?
|
66 | 66 | We often find users trying to write custom code to solve that. They usually get it wrong or incomplete, and it may not perform well.
|
|
0 commit comments