Browse by Tags

Sorry, but there are no more tags available to filter with.
Determining an ASP.NET Page's View State Footprint
06 July 10 11:35 PM | Scott Mitchell | 6 comment(s)
ASP.NET view state is the technique used by an ASP.NET Web page to persist changes to the state of a Web Form across postbacks. The view state of a page is, by default, placed in a hidden form field named __VIEWSTATE, and can easily get very large. Not...
How Big is Too Big a ViewState?
07 September 05 09:14 AM | Scott Mitchell | with no comments
When creating ASP.NET pages one thing that usually doesn't get looked at too intensely by developers is the page's ViewState weight ( I've been guilty of this myself ). While there are various mechanisms to reduce the ViewState bloat in a page, the ultimate...
Don't Trust ViewState
03 May 05 05:03 PM | Scott Mitchell | with no comments
Today I was pointed to a recent email to the BUGTRAQ mailing list (a mailing frequented by security experts) concerning replay attacks and ASP.NET view state. The email was posted by Michal Zalewski, titled: ASP.NET __VIEWSTATE crypto validation prone...
Control Building and ViewState Redux
08 October 04 08:35 AM | Scott Mitchell | with no comments
Earlier this week I posted an entry titled Control Building and ViewState Lesson for the Day , in which I discussed when working with dynamic controls the importance of the order with which a control is added and its properties are set. My end recommendation...
Control Building and ViewState Lesson for the Day
06 October 04 03:17 PM | Scott Mitchell | 1 comment(s)
Whenever I am working on a problem and hit a perplexing roadblock that impedes my process, my initial emotional state is calm. “I'll figure out this problem soon,” I tell myself, as I explore workarounds or examine the code base to try to understand why...
Question: I set my page's EnableViewState property False; why is there still a __VIEWSTATE hidden form field?
23 July 04 02:54 PM | Scott Mitchell | with no comments
ANSWER: A while back I wrote an article for MSDN online titled Understanding ASP.NET View State , and blogged about the article in this past entry . I recently noticed a comment in that blog entry from Matthias Cavigelli , asking: When I disable the ViewState...
Largest. ViewState. Ever.
22 July 04 08:37 AM | Scott Mitchell | 1 comment(s)
The ASP.NET DataGrid Web control is notorious for its hefty view state size, but the DropDownList control can hold its own weight as well, especially when it contains a lot of items. For example, a page containing nothing but a DropDownList populated...
Understanding ASP.NET View State
03 June 04 09:28 AM | Scott Mitchell | with no comments
My latest MSDN article is now online, and covers a topic that many developers do not have as tight a grasp on as they may think. Understanding ASP.NET View State looks at how an ASP.NET page maintains its state changes across postbacks, examining: The...
A Stumper of an ASP.NET Question: SOLVED!
20 May 04 03:05 PM | Scott Mitchell | with no comments
In my last blog entry I posed an ASP.NET / Repeater question that had me and a student of mine utterly stumped. I have been communicating with this student today, bouncing ideas back and forth, and he noted that if the Repeater's EnableViewState property...
A Stumper of an ASP.NET Question
20 May 04 11:25 AM | Scott Mitchell | with no comments
Last night a student of mine asked why the Button Web control in a Repeater's ItemTemplate does not raise the Repeater's ItemCommand event when clicked, but a LinkButton does. I was perplexed because from my understanding anytime a Command event is raised...
Panel Weirdness
28 April 04 12:14 PM | Scott Mitchell | with no comments
I recently responded to a newsgroup post on microsoft.public.dotnet.framework.aspnet.webcontrols that I thought warranted a follow-up comment here. The posters question was: I have a Panel control containing a few TextBox controls. The Panel is originally...
More Posts

Archives

My Books

  • Teach Yourself ASP.NET 4 in 24 Hours
  • Teach Yourself ASP.NET 3.5 in 24 Hours
  • Teach Yourself ASP.NET 2.0 in 24 Hours
  • ASP.NET Data Web Controls Kick Start
  • ASP.NET: Tips, Tutorials, and Code
  • Designing Active Server Pages
  • Teach Yourself Active Server Pages 3.0 in 21 Days

I am a Microsoft MVP for ASP.NET.

I am an ASPInsider.