Wrox Programmer Forums
| 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 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 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

 
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

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





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





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