Browse by Tags

All Tags » asp.net (RSS)

SqlViewState - C# Code

using System; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.IO; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; public class SqlViewStatePage : Page { private...
Posted by adweigert
Filed under: , ,

SqlViewState - Database Code

USE ASPState GO DECLARE @jobID BINARY (16) SELECT @jobID = job_id FROM msdb.dbo.sysjobs WHERE name = N'ASPState_Job_ExpireViewState' IF (@JobID IS NOT NULL ) BEGIN IF EXISTS ( SELECT * FROM msdb.dbo.sysjobservers WHERE job_id = @JobID AND server_id...
Posted by adweigert
Filed under: , ,

SqlViewState - The Path To Better ViewState Storage

A while ago, several colleges of mine were having a terrible time with the loading times of some pages of their web application. Come to find out, they were suffering from ViewState bloat. ViewState was something I always tried to stay away from in the...
Posted by adweigert | with no comments
Filed under: , , ,
More Posts