Julian Verdurmen
Julian Verdurmen
> Looks like there's a rather simple way to de/serialize `string` fields/properties as `CData` or `Base64`-encoded. > I'm considering a `YAXStringEmbeddingAttribute` which allows for `StringEmbedding.None` | `StringEmbedding.CData` | `StringEmbedding.Base64`. Sounds...
> YAXSerializationOptions.StripInvalidXmlChars I like that one :)
@axunonb please your opinion on this
See https://github.com/YAXLib/YAXLib/pull/196
Oops thats a typo, it should be multistage indeed
this isn't planned anymore
I think it needs a case why we need it. Otherwise its YAGNI.
Cool stuff. But is there a max cache size? Or what happens if there is a memory shortage?
Yes otherwise you could get memory leaks or out of memory issues.
Maybe we could do something with https://docs.microsoft.com/en-us/dotnet/core/extensions/caching Or https://github.com/NLog/NLog/blob/dev/src/NLog/Internal/Collections/MruCache.cs (also tests there)