VS2010 New Features

Before you going to start working on vs2010 .This will be help you.

1.Code Snippets:
In old .net version sever side coding only contain snippets. But it provides the snippets for JavaScript and html .

2.Intellisense :
It will show the properties related to the groups.Example if your selected control is textbox,it will display onlu textbox related property only.

3.Dynamic Keyword object:
We can use this object for any data type..


dynamic intvalue=1;
dynamic strvalue="Raj";
dynamic result=intvalue+strvalue;



4.Optional parameter:

Normally we are passing all the argument while function calling here we no need to pass all the argument.


Public void emp(string name,int age,string address="")


calling this function:


Here address is optional...

5.Permanent Redirect:
Normally we are using Response.Redirect for page transfer. While this transformation search engine having old information. So avoid this storing old information we can use Response.RedirectPermanent

6.Named Parameter:
While calling a function you no need to pass the argument orderly

Public void sample(int a,int b,int c)



7.Compressing session values:
Session value may be occupy many space in web config.So they are introduced compression property for session.

8. URL Routing:
This url routing is mainly used for security purpose and that can help with search-engine optimization (SEO).
? For example, the URL for a traditional page that displays product categories might look like below:
? Using the URL routing engine in ASP.NET 4 you can now configure the application to accept the following URL instead to render the same information:
http://www. sample.com/products/software

9. Multi Targeting:
You can develop lower version application also possible which you have to mention in target framework properties in web config. While Developing lower version intellisense only show the keywords which is related to selected framework. So it will avoid the errors while developing application

10.View Call Hierchy:
You can view the entire history of the function using this property. Just Right click the function then click "view call Hierchy" properties you will get hierchy level for this function.


Guest Author: Prateek19 Mar 2012

. If you're at the emergency room and there's been a car wreck, you'll have to wait while they treat the people who were in it. But other than that, I've never had any problems. Later he says, We can buy into private plans, if we want to. Like I have a Blue Cross policy that will pay the $75 ambulance charge if I ever wind up needing an ambulance. Seventy-five dollars? I ask, to make sure I heard him right. You mean if you DON'T have that insurance and you take an ambulance trip the cost is seventy-five dollars? Yup. I don't know what an ambulance ride costs where you live, but around here the going rate is a minimum of $750. But then, if anyone in a position of influence was stupid enough to point out that Canadian rate X 100 American emergency fare, I'm sure the first thing we'd hear (from the Guardians of Morality), would be something along the lines of, Yeah. But did you know Canadian ambulances are all convertered 1979 Oldsmobile hearses they can barely keep running that constantly blow tires, smash into pine trees and explode!? Would you really want your loved ones or yourself being rushed to a third-rate healthcare facility (where you'll just have to wait to get treated), in a death-trap like that!? As you no doubt do, I know more than one American in the (hard) working poor category for whom preventive or sorely needed medical care is simply out of the financial question. I just talked to one of them the other night. A wonderful soul in her early sixties who has an abdominal aneurism that isn't quite in need of fixing yet they're keeping an eye on it, and, as if that wasn't enough (to think about at work), she is also in need of a $35,000 surgery having something to do with other circulatory problems in her legs. Naturally, she has no health insurance (it would eat up at least half her paychecks), but, she told me, I'm saving my money. Saving your money, I said. How can you possibly save $35,000 before your legs fall off? No no no no, she corrected me. I'm saving so I'll have enough to cover the $5,000 co-pay when I'm old enough to get on Medicare a year and a half from now. Oh. I said.Anyway Excuse me for going on at such length here in a comment, but the reality of this whole issue (which goes way beyond health care), really IS a sad and, if you'll pardon the pun, sick commentary or reflection on the state of the contemporary American psyche. As mentioned at the outset, anyone who looks at it, talks to a few poor ppeole (which, increasingly, is just shorthand for average Americans ), can't help but get that disgusted feeling in their gut that says, loud and clear, Something' just ain't RIGHT here! And they're right What's not right is that the whole thing smells worse than a pile of rotting fish the size of Kansas. And, as mentioned at the outset, the stink is the stink of True Immorality. And, if I may be so bold, I'd like to put in a plug for all Thinking People who Care to start Thinking of it that way and, if they agree it may actually be that way, start internalizing the concept and start CALLING it that so the next time the (self-) righteous Pure Values Monopolists start playing the Morality card, people with brains (and hearts) MAY be ready with a thing or two to hit them back over their oversize heads with.

Author: Mahesh Nagar20 Oct 2013 Member Level: Gold   Points : 0


Its very nice and very helpful to do coding and making readable.

Author: Phagu Mahato16 Dec 2013 Member Level: Gold   Points : 7

I expalin some more features of VS 2010 . This feature greatly improves Visual Studio support for test-driven development (TDD). it is useful even if you don't use TDD at all. It might increase your productivity by simply reducing the number of keystrokes and eliminating repetitive typing. For example,

class Program
static void Main(string[] args)
var test = new ExampleClass(firstParameter: "Exampletest", secondParameter: 0);
Exampletest.FirstProperty = 1;
Exampletest.SampleField = 2;
int value = Exampletest.SomeMethod(100);

Visual Studio 2010 can generate classes, constructors, properties, fields, enum members, and methods code by simply pressing CTRL + “." several times.

class ExampleClass
private string FParameter;
private int SParameter;
public int ExampleField;

public ExampleClass(string firstParameter, int secondParameter)

this.FParameter = FParameter;
this.SParameter = SParameter;

public int FProperty { get; set; }

internal int SomeMethod(int p)
throw new NotImplementedException();

Author: sudhanshu pal28 Jan 2014 Member Level: Silver   Points : 5

Hello All,

Better code intelligent
Visual Studio 2010 has better code intellisense support which make it easier for look for methods and functions. You can now easily search for inline keyword, or even use abbreviation to search for properties or methods.

Improved multi-targeting support
Though multi-targeting was there in Visual Studio 2008, but the Visual Studio 2010 has got better support for it. With its new “reference assemblies", it provides 100% accurate intellisense.

Multi-monitor support
Earlier, all editor and child windows are hosted inside a single parent windows, but with the new IDE you can host every single child windows as separate windows outside of the main windows. You can move these to other monitors which makes it to support multiple monitors.

Enhanced code navigation
Visual Studio 2010 has introduces a number of new features to improve the searching and navigational capabilities. The new “Navigate to" features provides you a fast and incremental search of functions, classes, properties etc.

Parallel computing
With Visual Studio 2010, now you can take advantage of multi-core processor by using parallel computing feature. This help you to write code which can execute even faster. Visual Studio also supports parallel debugging for the parallel programming.

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: