Carl Bruiners Agile / IT Development Consultant

28Jul/100

Determining an ASP.NET Page’s View State Footprint

So many developers pay little to no attention to the size of the ViewState, if you don't need it either @ a page level or a control level, TURN IT OFF, viewstate="false", v.large viewstates can cause issues with your page.

Scott Mitchell has written a small bit of code that displays your viewstate size, not for production purposes, but good when debugging your code;

http://scottonwriting.net/sowblog/archive/2010/07/06/programmatically-determining-an-asp-net-page-s-view-state-footprint.aspx

Filed under: .NET, ASP.NET, c#, VB No Comments
19Feb/100

HTTP to HTTPS – Via the web config

Very tidy way of handling HTTP to HTTPS requests;

http://www.xdevsoftware.com/blog/post/Redirect-from-Http-to-Https-in-ASPNET.aspx

Tagged as: No Comments