Browse Source

Merge pull request #10177 from abpframework/maliming-patch-doc-5.0

Create `ABP Framework 4.x to 5.0 Migration Guide`
pull/10190/head
Halil İbrahim Kalkan 5 years ago
committed by GitHub
parent
commit
5f1d28182c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/en/Migration-Guides/Abp-5_0.md

10
docs/en/Migration-Guides/Abp-5_0.md

@ -0,0 +1,10 @@
# ABP Framework 4.x to 5.0 Migration Guide
## MongoDB
Framework will serializer the datetime based on [AbpClockOptions](https://docs.abp.io/en/abp/latest/Timing#clock-options) start from 5.0, before `DateTime` values in MongoDB are [always saved as UTC](https://mongodb.github.io/mongo-csharp-driver/2.13/reference/bson/mapping/#datetime-serialization-options).
You can disable this behavior by configure `AbpMongoDbOptions`.
```cs
services.Configure<AbpMongoDbOptions>(x => x.UseAbpClockHandleDateTime = false);
```
Loading…
Cancel
Save