Problems Working with XMLSerializer

You just saw one way to pass back data, but you might say that it involves a bit of work; there must be a simpler way to do it. Why not use the XMLSerializer class to generate the returning data in an XML valid format? Well, if you try this, you might get the following error message:

 System.Exception: There was an error reflecting 'System.IO.DirectoryInfo'. –-> System.Exception: System.IO.DirectoryInfo cannot ...

Get Debugging ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.