A small, intra-app Object to String Serializer

Posted by Rick Strahl on West-Wind See other posts from West-Wind or by Rick Strahl
Published on Mon, 01 Apr 2013 09:41:14 GMT Indexed on 2013/06/24 16:23 UTC
Read the original article Hit count: 600

Filed under:
|
|
On a few occasions I've needed a very compact serializer for small and simple, flat object serialization, typically for storage in Cookies or a FormsAuthentication ticket in ASP.NET. XML and JSON serialization are too verbose for those scenarios so a simple property serializer that strings together the values was needed. Originally I did this by hand, but here is a class that automates the process.

© West-Wind or respective owner

Related posts about ASP.NET

Related posts about .NET