Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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
  #1 (permalink)  
Old January 28th, 2014, 09:39 AM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default Ch 10 AJAX Update Panel and measuring the page weight

Hi Imar,

In the 1st Try-it out we reduce the page 'weight' during the postback by adding the UpdatePanel. The text indicates the full page is around 12KB.

Using your suggestion I brought up the IE10 Developer Toolbar (which is very cool thank you). I clicked on Network, Start Capturing, and then refreshed the Contact.aspx. At the bottom it indicated around 166KB. I cleared the listing using the clear button at the far right of the Toolbar, filled in the Contact page form and clicked Send. This time at the bottom it indicated just under 16KB. So the 'weight' reduction was clear. (BTW vis a vis our other conversation, another good demo of the client-side validation - there's no traffic until the client validation lets the form postback).

My question is why I'm seeing 166KB and not the 12KB the text indicates. Even my lower 'weight' is higher than 12 KB. It didn't look like a difference between bytes and bits, but maybe I'm not thinking about it correctly.

Thanks.

Best Regards,
Alan
  #2 (permalink)  
Old January 28th, 2014, 10:06 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I looked at the raw HTML for that page (using View Source) and I think what you're seeing is the combined size of the page, including HTML, CSS, Scripts and images.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (January 28th, 2014)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 10 and Page Methods daveharney BOOK: Beginning ASP.NET 4.5 : in C# and VB 8 January 25th, 2014 06:20 AM
Page Methods (Ch 10, p 358) jlransford BOOK: Beginning ASP.NET 4 : in C# and VB 4 December 16th, 2011 08:28 PM
Update Panel - Page 523 horses60 BOOK: Beginning ASP.NET 4 : in C# and VB 4 April 12th, 2011 11:18 AM
C# Ch 10 Page 362 surefire BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 February 25th, 2008 01:55 PM
Using AJax Update Panel With Project Playlist jazzcatone ASP.NET 2.0 Professional 1 July 22nd, 2007 12:35 PM





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