Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c00f552

Browse files
committed
Update documentation: advanced use cases and logging
1 parent 6b6ba1f commit c00f552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎docs/usage/faq.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Frequently Asked Questions
22

33
#### 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).
65

76
#### Why don't you use the built-in OpenAPI support in ASP.NET Core?
87
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:
4847
options.SerializerOptions.WriteIndented = true;
4948
});
5049
```
51-
- Turning on verbose loggingand 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`:
5251

5352
```json
5453
{
5554
"Logging": {
5655
"LogLevel": {
5756
"Default": "Warning",
5857
"Microsoft.EntityFrameworkCore.Database.Command": "Information",
59-
"JsonApiDotNetCore": "Verbose"
58+
"JsonApiDotNetCore": "Trace"
6059
}
6160
}
6261
}
6362
```
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.
6464

6565
#### What if my JSON:API resources do not exactly match the shape of my database tables?
6666
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /