Take a look at the clrtype sample; it shows how to use .NET attributes on 
python classes, such as Serializable.

http://ironpython.codeplex.com/releases/view/36280#DownloadId=116513

~Jimmy

On Apr 13, 2010, at 5:42 AM, "Pablo Dalmazzo" 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I need to mark an IronPython class as serializable . Is it possible to do this?
Now I know this could be a bad idea for performance reasons and other reasons 
perhaps, but I want to store a custom class object in the 
asp.net<http://asp.net> webforms ViewState, that way when the page is closed 
the object disappears, and asp.net<http://asp.net> tells me it can't be done 
because the object isnt marked as serializable. I know it can be a bad idea but 
I would like to give it a try and see how it turns out to work.

Greetings, Pablo
________________________________
Con Hotmail hay una forma muy fácil de encontrar tus emails: organizalos por 
carpetas. Ver más<http://www.descubrewindowslive.com/hotmail/organizacion.asp>
_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to