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

using protobuf as a default serializer #125

Closed
premsai opened this issue Feb 3, 2017 · 3 comments
Closed

using protobuf as a default serializer #125

premsai opened this issue Feb 3, 2017 · 3 comments
Milestone

Comments

@premsai
Copy link

premsai commented Feb 3, 2017

Hi
How do you configure protobuf as a default serializer for the objects, in the cache.config the known types are only binary and json, i see there is a custom type you can define but I was not successful using it. we are using dotnet core

thanks

Prem

@MichaCo
Copy link
Owner

MichaCo commented Feb 3, 2017

@premsai
Just double checked, manually you can configure it by adding the type property and set it to CacheManager.Serialization.ProtoBuf.ProtoBufSerializer, CacheManager.Serialization.ProtoBuf

However, the next version of CacheManager will support protobuf as known type, too, I added that already some days ago.

@MichaCo MichaCo added this to the Version 0.9.3 milestone Feb 3, 2017
@MichaCo
Copy link
Owner

MichaCo commented Feb 3, 2017

I actually just released the 0.9.3 packages, so you should be able to use the knownType for protobuf now.

@MichaCo MichaCo closed this as completed Feb 3, 2017
@premsai
Copy link
Author

premsai commented Feb 6, 2017

Thanks it worked

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