rboeije
rboeije

Reputation: 101

How to binary serialize a class in a Portable Class Library?

I'm using a Portable Class Library in my asp.net application and when deploying to Azure my session state needs to be serialized. Classes from this PCL don't have the SerializableAttribute sinds that's not available in the framework subset. Can't I put these classes in the ASP.NET session?

Upvotes: 7

Views: 1061

Answers (1)

Sebastian
Sebastian

Reputation: 173

Well, you can use one of the available 3rd party serializers that are available for the Portable Class Library:

Both are available on NuGet

Upvotes: 3

Related Questions