Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 30th, 2007, 04:58 PM
Registered User
Join Date: Jun 2007
Location: Portland, Oregon, USA.
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.

Reply With Quote
  #2 (permalink)  
Old July 5th, 2007, 05:38 PM
Registered User
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:44 PM.

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