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

.NET 8 support #38

Closed
alexeygritsenko opened this issue Nov 27, 2023 · 2 comments
Closed

.NET 8 support #38

alexeygritsenko opened this issue Nov 27, 2023 · 2 comments

Comments

@alexeygritsenko
Copy link

Hi, has anyone checked the work on .NET 8? This doesn't work for me

@HavenDV
Copy link
Owner

HavenDV commented Nov 27, 2023

https://learn.microsoft.com/en-us/dotnet/standard/serialization/binaryformatter-security-guide
Microsoft disabled BinaryFormatter for net8.0, so I released a fix that will use MessagePackFormatter by default for net8.0 and above. But this can cause problems when deserializing object types and some other types

It's based on https://github.com/MessagePack-CSharp/MessagePack-CSharp

@alexeygritsenko
Copy link
Author

Good choice, this is what is used in SignalR, thanks!

@HavenDV HavenDV closed this as completed Nov 28, 2023
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

No branches or pull requests

2 participants