Can you please add some examples on how to use Auto-Clone? #310
-
Mainly while defining a named cache in program.cs and also when adding an entry to the cache. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @oasaleh , sorry for the delay but I just came back from (very late) summer vacations 😅 Yes, I surely can! Have you seen the docs here? I'd like to know what kind of example you feel is missing. Thanks! |
Beta Was this translation helpful? Give feedback.
-
There's no code on that page. For example, how to set it up with the serializer. Also, is there a default serializer I can use? If I use Microsoft's, will it get initialized every time I'm getting something from the cache, or only once during initialization of the cache? |
Beta Was this translation helpful? Give feedback.
Hi @oasaleh
Yes, you set the serializer for each cache you setup, named or not:
Hope this helps!