• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MitchA
#1 Posted : Wednesday, April 2, 2008 7:20:28 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

I just had an inquiry:



Hey Mitchell, whats up with the super-fat __VIEWSTATE value that you pass? That's an awful lot of encrypted data to pass around.



What does he mean? Are we missing something or doing something wrong?
Optimists invent airplanes,
Pessimists buy parachutes.
[email protected]
#2 Posted : Wednesday, April 2, 2008 9:53:35 PM(UTC)
bobn@laurastamm.net

Rank: Member

Joined: 6/6/2005(UTC)
Posts: 483

No: Your ok Mitch. The view state he is referring to you can see by viewing source on our home pages. And it is huge.

They also had that in BV4 as I recall. I always thought it was the license key or some encrypted version of the same.

Bob Noble
Andy Miller
#3 Posted : Thursday, April 3, 2008 12:47:49 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
ViewState is mostly a snapshot of every element that can change on the page such as input fields, etc. If the page author knows that the element will not change (or does not care), then she can add EnableViewState="false". For example:

<asp:TextBox EnableViewState="false" ...>

You can see which elements are contributing the most to the ViewState by adding Trace="True" to the Page directive. For example,

<%@ Page Trace="True" ...>

This will add a table to the bottom of the page with all sorts of statistics about the page, including the number of bytes each element contributes to ViewState.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
CorneliuTusnea
#4 Posted : Monday, April 7, 2008 7:10:04 PM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

I know this will be way to technical for most of you but I think BV should read it:
Truly Understanding Viewstate:
http://weblogs.asp.net/i...rstanding-Viewstate.aspx
I'm sure it will make BVC better in future. If it's not done right in the begining it takes a long time to fix it later.
I've worked hard to change BVC to minimize my viewstate on my sites but it's not an easy job. Some of my pages have the viewstate of 1% of others:
http://www.bestgames.com.../Games/Family-Games.aspx
If this will not be fixed OOTB in BVC6 I might not even bother upgrading.
Regards,
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Andy Miller
#5 Posted : Monday, April 7, 2008 8:00:41 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Although no one at BV has said or even hinted what architectural choices they are making for 6, Justin is becoming something of an MVC expert via his blog. MVC has no viewstate.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Marcus
#6 Posted : Monday, April 7, 2008 8:30:25 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

ASP.NET MVC has no viewstate. No official comment on what we're using for BV Commerce 6.
Andy Miller
#7 Posted : Tuesday, April 8, 2008 4:46:16 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Marcus
#8 Posted : Tuesday, April 8, 2008 9:26:10 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

I had a great talk with Rob about ecommerce while we were in Vegas last month. He created one of the commerce starter kits that later was turned into DNN. Great demonstration apps but they certainly need a lot more to become commercialized.
Andy Miller
#9 Posted : Tuesday, April 8, 2008 11:48:14 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I agree they (the StarterKit and now the MVC app) are just for demonstrating concepts. They are fun to look at.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012