protobuf-net transcoder for EnyimMemcached problems

前端 未结 1 1026
无人共我
无人共我 2021-01-14 06:04

Is the transcoder from protobuf-net to enyim cache deprecated? distributed caching with protobuff-net

Setting my Enyim config just like this app.config causes an err

相关标签:
1条回答
  • 2021-01-14 06:35

    Yes (cough), of course that's there! Just see "protobuf-net.Enyim", i.e.

    PM> Install-Package protobuf-net.Enyim

    (or use the GUI client)

    To initialize, you need to configure the transcoder to be an instance of ProtoBuf.Caching.Enyim.NetTranscoder (as per the original instructions). If you are doing this via configuration, note that the assembly for this type is now protobuf-net.Enyim. If I assume the configuration file uses standard notation, then that means you would need to specify (in the config):

    <transcoder type="ProtoBuf.Caching.Enyim.NetTranscoder,protobuf-net.Enyim" />
    

    Original answer:

    The enyim transcoder is not currently in nuget; however - I will right now take it upon myself to resurrect that, by adding a separate NuGet package (reference EnyimMemcached and protobuf-net) that adds this back in.

    Random question... any chance you can point me at a binary memcached download for testing?

    One reason this has lagged is that when I first wrote the enyim transcoder, memcached was a simple "run this" - but last time I looked it had gone all "enterprisey", and I couldn't track down a simple package that just had the memcached server. If you can show me where that is now, I'll get it working this weekend.

    0 讨论(0)
提交回复
热议问题