Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added DataContract serialization support via System.Runtime.Serialization library. #200

Merged
merged 4 commits into from
Mar 10, 2018

Conversation

rebulanyum
Copy link
Contributor

@rebulanyum rebulanyum commented Nov 10, 2017

I needed to store entities of Microsoft Dynamics 365 which are only serialized correctly by DataContract serializers. So, I've added DataContract serialization support via System.Runtime.Serialization library.

I tried but then gave up trying to support .NetStandard1.6 and below versions because of this issue. So I'm just supporting .NetFramework4.5 & .NetStandard2.0 right now.

One more thing: DataContractJsonSerializer class may serialize DateTime values in a different way. I've added comment to let the user know the usage on CacheManager.Tests project.

@MichaCo
Copy link
Owner

MichaCo commented Nov 18, 2017

hey @rebulanyum thanks for the PR! I'll take a look soon™ ;)

@rebulanyum
Copy link
Contributor Author

@MichaCo don't have free time for merging, right? 😄

@MichaCo MichaCo merged commit 41ea2b0 into MichaCo:dev Mar 10, 2018
@MichaCo
Copy link
Owner

MichaCo commented Mar 10, 2018

@rebulanyum thanks again for the great PR. I will go ahead and do some code style changes and integrate it with some other things.
The only thing I saw is that you added a copy right in the project file with your name and a link to your license file in your project. Was this intentional? I'll have to change that to use the PR.
Thanks,
M

MichaCo added a commit that referenced this pull request Mar 10, 2018
…sage of base implementations and fixing expiration stuff.

Added missing unit tests for actually using the new serializers. A lot of code cleanup and formatting #222
 #200
Proper multi targeting in tests, too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants