Wrox Programmer Forums
|
BOOK: Professional ASP.NET 2.0 AJAX ISBN: 978-0-470-10962-5
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 AJAX by Matt Gibbs, Dan Wahlin; ISBN: 9780470109625
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 AJAX ISBN: 978-0-470-10962-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2007, 04:58 PM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default eval deserialization of XML

The last paragraph on page 155 of ASP.NET 2.0 AJAX is very confusing and omits considerable explanation. (1) explain the two-step sequence - the code apparently shows two independent ways of getting at the JSON data, (2) explain the eval processing for getting the XML data - are you saying that eval works in a different way when run under ASP.NET AJAX? There's a lot of mystery here with the eval execution.

 
Old July 5th, 2007, 05:38 PM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't have the book with me right now, but will check out page 155 when I get home. The key point with our use of eval is that it's part of Javascript. There isn't anything unique about how it works with ASP.NET AJAX. In the future, I expect that we will actually wrap our use of eval with a preliminary step that requires parsing the code first for additional security, but as it stands now, we simply use the script engine to eval the JSON as it is returned.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Serialization and DeSerialization balesh.mind ASP.NET 2.0 Professional 0 September 12th, 2007 05:05 AM
Serialization & Deserialization kadimijagan Pro Java 2 September 7th, 2007 10:13 AM
Deserialization of a file Mr. Vage C# 2005 2 July 16th, 2007 08:11 PM
Name "Eval" is not declared. thuyvncr BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 December 21st, 2006 03:48 AM
Eval??? tsimsha Classic ASP Basics 2 January 17th, 2005 10:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.