Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
Password Reminder
Register
| FAQ | Members List | Calendar | 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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #2 (permalink)  
Old January 28th, 2014, 10:06 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 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!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (January 28th, 2014)
Reply


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



All times are GMT -4. The time now is 09:23 AM.


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