Site Loading

Visual Studio 2010 and .NET 4 Features

opening

I thought that since this has come out and a lot of people have been writing about it, I would jump on the band wagon and do a little write up on what I have read and seen so far.

Aside from the new look and opening screen there have been an number of improvements into this release.  This is not an exhaustive list of all the new feature, just the interesting ones that I found when I was looking for the new features:

  1. Jquery included visual studio.  I think most people know this, but still worth mentioning as jquery is awesome.
  2. Client-script loader.  This loads all the required scripts by a control and executing them in the correct order.  The loader also improves performance by loading the scripts in parallel.
  3. Smaller web.config files. web-config From what i have read all of the handlers and modules that are needed are automatically loaded without having to specify them in the file.  Personally I prefer smaller simpler files.  Make understanding what is going on a bit easier.
  4. Works side by side with previous versions the .Net framework and versions of visual studio.  I have installed it on my development machine and have not noticed any problems with current projects in .NET 2 and 3.5. Along side the ability to install the different versions, you can use the new interface to develop in any version on the framework.
  5. Gzipped session state.  When using the session in a web farm, there is an option to specify providers so that the state is the same across the the servers.  Now there is the option to compress the session state using built in gzip.
  6. Response.Redirect vs Response.RedirectPermanent.  The difference of these two redirecting methods is the status code that is sent back to the browser.  The Response.Redirect sends back 302 Temporary redirect.  Where as Response.RedirectPermanent sends back a 301 Moved permanently response which is good for search engines keeping track of the website.
  7. The new release has also included the option of keeping track with build servers.
  8. 2010 has added a really cool new feature called URL rerouting.  Essentially this feature enables the developer to reroute a request for a page (with parameters) ie www.url.com/page?parameter=value as www.url.com/page/value.
  9. A new charting control has been added to the tool box which enables developers to add .NET charts fairly easily to applications.  I have tried this but ran into a few problems.  It does seem to work in much the same way as other controls.  When I get it working I will update.

I really like new improvements and should make coding a lot more fun.

Close