Joseph mentioned he was having problems with NHibernate and AjaxPro, so I decided to do some testing with NHibernate.  I created a sinple method that would load an object (Account) that had an IList of other objects (User) using NHbernate.  I wrote a test and ran it in nunit and is passed, NHibernate creates the Account object and I can see that I have an IList that is populated with 5 User objects.   So, I go ahead and create the AjaxPro Method and create an ASPX page to run the ajax and inspect with fiddler.  Here is where the fun begins.  The page runs, but it crashes the webserver.  So back to the drawing board, I expand my test to include:

string s = AjaxPro._javascript_Serializer.Serialize(o);
Assert.IsTrue(s.Length > 0);

Now it crashes the NUnit text console.  I would be willing to say that there are problems with objects created by NHibernate and AjaxPro.  I will do some further testing and update you all.

r/Jon

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to