The new Visual 2010 and .NET 4.0

Now that the Visual Studio 2010 is out , I thought I’d run down some new features of this modified IDE for .NET framework.

But first, I’d like to point out the changes in .NET 4.0 itself, and here are few of them;

Application Compatibility and Deployment  – if you will remember the previous .net does not allow you to run and deploy different versions ie. 2.0 and 3.5 of components now the .NET Framework 4 Beta 2 is designed so that applications and components from earlier versions work smoothly, except in a limited number of known cases.

In-Process Side-by-Side Execution

This feature enables an application to load and start multiple versions of the .NET Framework in the same process. For example, you can run applications that load add-ins (or components) that are based on the .NET Framework 2.0 SP1 and add-ins that are based on the .NET Framework 4 Beta 2 in the same process. Improved Security Model

There have been two major changes to security in the .NET Framework version 4 Beta 2. Machine-wide security policy has been eliminated, although the permissions system remains in place, and security transparency has been extended to become the default enforcement mechanism. The following sections discuss these and other changes in the .NET Framework 4 Beta 2:

  • Security Policy Simplification
  • Security Transparency Level 2
  • Obsolete Permission Requests
  • Conditional APTCA
  • Evidence Objects
  • Evidence Collections

Garbage Collection

The .NET Framework 4 Beta 2 provides background garbage collection. This feature replaces concurrent garbage collection in previous versions and provides better performance.

Code Contracts

Code contracts let you specify contractual information that is not represented by a method’s or type’s signature alone. The new System.Diagnostics.Contracts namespace contains classes that provide a language-neutral way to express coding assumptions  in the form of preconditions, postconditions, and object invariants. The contracts improve testing with run-time checking, enable static contract verification, and support documentation generation.

..And of course the new


The .NET Framework 4 Beta 2 provides the System..::.Tuple class for creating tuple objects that contain structured data. It also provides generic tuple classes that have from one to seven type parameters for representing singletons, pairs, triples, quadruples, and so on. To support tuple objects that have nine or more components, there is
a generic tuple class with seven type parameters and an eighth parameter of any tuple type.

Now, that we noted the new changes in the .NET 4.0 let’s take a look at how these new changes coincided with Visual Studio 2010. Here are few of them:

The biggest noticeable difference apart from the theme or color is the MVC2 integration, and the web application project creation. Now, when you create a project for web application it automatically provide you with directories and folders that you normally would have in an application such as scripts (they even included jquery-1.2.2.js), Account (use for credentials such as login or registration) , App_Data for classes , CSS, global asax file and a Master Layout, on top of all these they also included a full running web template for you to work on immediately.

So there you have it, there are a lot more improvements in the 2010 visual studio, although as of this writing this is still in beta mode.

For more information please visit Microsoft visual studio 2010

For more web development help please visit PageSpike, providing web development and SEO services in Seattle area.