Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 May 4th, 2007, 01:39 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to vantoko
Default reduce viewstate size

Hi,

I'm currently looking at reducing the size of the viewstate and store it in a session.
I implemented the first solution i've found here: http://www.codeproject.com/useritems...select=1736999

did anyone else reduce the viewstate in some kind of way ? Any experiences when doing this.

tnx

koen

  #2 (permalink)  
Old May 6th, 2007, 10:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's a lot of code to implement instead of just using the SessionPageStatePersister, as mentioned in one of the comments. If using the built-in solution, consider the limitations:
http://davidovitz.blogspot.com/2006/...-out-when.html

Also, session state persistance will be notably slower in a heavily used server, especially if you're using out-of-process session state (as when using a server farm).

In some cases it may be worthwhile, especially if your users have a slow dial-up connection. If users have a fast connection then I'd just let them pay the price of ViewState in order to ease the load on the server.

Eric

  #3 (permalink)  
Old May 10th, 2007, 07:11 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

van,

see the article i've posted today re viewstate compression. minimal code 'maximum' benefit.

http://p2p.wrox.com/topic.asp?TOPIC_ID=60283

... well, it's viewpoint anyway :D

jimi

http://www.jamestollan.com
  #4 (permalink)  
Old May 10th, 2007, 07:20 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to vantoko
Default

Hi Jimi,

tnx for the tip. I'm checking it out :)

koen

 


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
ViewState Wervis C# 1 December 3rd, 2005 11:35 AM
ViewState abdul_owiusa General .NET 0 October 18th, 2005 04:37 PM
ViewState Size Logger mohandeval Classic ASP Basics 0 August 16th, 2005 02:58 PM
How to reduce the processing time for this prob? changeable Excel VBA 0 October 27th, 2004 04:12 AM
Reduce the stock when place order helmekki Excel VBA 0 June 20th, 2004 06:20 AM



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


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