Rajesh Pillai

My experiments with asp.net mvc, jquery, wpf, silverlight, sharepoint, tdd and design patterns.

  Home  |   Contact  |   Syndication    |   Login
  42 Posts | 2 Stories | 34 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

business

ASP.NET 4.0

asp.net 4
ASP.NET 4 Setting Client IDs Another most wanted feature of asp.net 4 is the ability control client ID generation. At least I am happy with this. With prior version of asp.net it was always difficult control the control id generation though not impossible. Why is this important? If you can control ID generation then the markup size may dramatially reduce which may result in improved performance. The gain may around 15% reduction in terms of markup size in case of complicated nested pages. The new...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ASP.NET 4 Permanently Redirecting a page You may have faced this problem of moving pages in a web applications around which can leat to an accumulation of state links in search engines. Traditionally developers have handled requests to old URL's by using Response.Redirect method to forward request to new URL. However as you may be aware of the Redirect method issues an HTTP 302 Found status (temporary redirect) response , which results in an extra HTTP round trip to the server when users attempt...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ASP.NET 4.0 State Compression Session state compression was always a worry in the past. With asp.net 4.0 this feature is built into the framework. Just modify your web.config with the following changes and you are ready to go. Now there will be less data travelling through the wire. <sessionState mode="SqlServer" sqlConnectionString="data source=dbserver;Initial Catalog=aspnetstate" allowCustomSqlDatabase="true" compressionEnabled="true" /> Just add the "compressionEnabled="true" to sessionState...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati