Hi, On 4/4/06, Pathogenix <[EMAIL PROTECTED]> wrote: > > >From trace.axd: > Ajax.NET Reflection Start 0.0915655481353077 0.000104 > Ajax.NET Reflection End 1.24115997982984 1.149594
that is very strange, can you send me your custom objects as source code? Would be very interessting to see what happens there. > The return value in this instance is 842 bytes of text. Does the proxy > rebuild on both GET and POST, every time? I've only noticed this > performance problem when returning custom objects, most of the objects > I'm returning are two or three levels down an inheritance tree; would > building a customer serializer for them improve the speed? Reflection is done when JavaScript wrappers are created, but only with the classes specified in RegisterTypeForAjax. I only look at the methods and if methods have the AjaxMethod attribute, that's all when the wrappers are created. A custom serializer will remove the reflection part, too, yes, this can be faster if you know what you want to export and what not. See the Person.cs example on http://www.ajaxpro.info/. Regards, Michael > > > > > -- Kind regards, Michael Schwarz Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
