VsCompressor

VsCompressor

VsCompressor allows you to compress and encrypt the viewstate of the asp.net pages in your web application.

  • Language: VB.NET
    Framework: ASP.NET
  • Released: Jun 22, 2011
    Last Update: Jun 21, 2011

The viewstate of a standard page can be 10k to 50k, a complex page can reach to 500k. This field is send to the server and send back to the client each time the client does a postback, reducing the size will increase the global application speed.

With the encryption you can add a new layer of security, because, by default, the data stored on the viewstate can be easily read

Hide

Installation and use

Installation

You can prepare the component to use in two ways: 1.- Link the attached project "VSCompressor.vbproj" to your web application. 2.- Copy the files "VSCompressor.vb", "VSCompressorException.vb" and "VSCPage.vb" to the app_code folder in your web application.

Use

For enable the component on a page you must change the super class of this page, instead of the default System.Web.UI.Page, the page class must inherit from VSCPage

This is the default code:

Partial Class _Default
  Inherits System.Web.UI.Page

In case you linked the project:

Partial Class _Default
  Inherits VSCompressor.VSCPage

And if you copied the files to app_code folder:

Partial Class _Default
  Inherits VSCPage

Finally, by default the compression and encryption are disable, you must add two keys into the appSettings node on the web.config.file to control the behavior of the component


  
  
You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.

2 licenses, starting from From » $4.99 14 day money-back guarantee View Licenses
or Get a quote

for customization or integration services

Post a comment

Or enter your name and Email
No comments have been posted yet.