difference between visual studio 2008 and visual studio 2010 - visual-studio-2010

I want to know what is the main difference between vs2008 and vs2010..
means I want to know what is the new functionality added in vs2010.

Well, there's always Microsoft's page about the new features of VS 2010. But you can get a more distilled user perspective describing new features that specific developers really like. There are a number of blog posts about it as well.

If you plan to code a lot with threads, definitely go with 2010. It has great advancements on the profiler and debugger. The profiler especially it's awesome.

Related

Visual Studio 2010: How to generate component diagram from code

I got into a project that is under development for quite sometime and lacks models and documentation on the design. We are using Visual Studio 2010 Ultimate. There is one old preliminary VS architecture model and I am trying to grow it up to show how the system looks like from different perspectives.
While, I can generate the class diagrams fairly well and generate the sequence diagrams on the fly, I am stuck in generating the component diagram. I wanted to avoid the pain of generating it of my own and wished if there could be some easy process to reflect the code/implementation to a good extent. Fine-tuning is not an issue.
I expected, I could put the assemblies in the solution as components in the Model explorer. But could not. I also tried drag-and-dropping the projects to the component diagram or the namespaces/classes from the architecture explorer on to the component diagram.
Is there any easy way out?
You will need to download and install the Visual Studio SDK and the Visual Studio Visualization and Modeling SDK then create a Domain-Specific Language Solution.
MSDN for VS 2008 DSL
MSDN for VS 2010 DSL (differs quite a bit, therefore both links)
Visual Studio Development Center - DSL
Unfortunately that is pretty much all Information I could gather, as I cannot install the VS 2010 SDK even though I do have VS 2010 Professional installed. If you happen to not be able to install it yourself here is a link to a post in the Microsoft forum of someone having the same problem atm. It is still unresolved, but was just asked a little while ago.
Edit: For creating UML component diagrams with VS2010 one will need VS2010 Ultimate. I am not quite sure weather you need it to actually install the Modeling SDK also. I dont feel a need to test it on my Professional installation though and you do have Ultimate anyway.

Whats the best visual page designer for .NET web applications?

Im currently working on the GUI for an ASP.NET MVC application using Visual Studio 2005. The visual webpage designer (for the views) is awful.
Any input on what other people use would be most appreciated!
I'd like to advice you to create your markup by hand as everybody else does. Using designers is mostly unprofessional and leads to low quality results.
Visual Studio 2008 was a big step forward over 2005. 2005 was horrible. And Visual Studio 2010 is better yet - the quick snippets can save you a bunch of time once you get used to them.
Having installed and tested several products over the past few days, I have come to the conclusion that Microsoft Expression Studio is probably the best option when it comes to a visual design aid. Its code is clean and compliant, and although fairly basic, it allows you to create your layouts as required.

Where can I find the Visual Studio 2010 RTM release notes?

Question
Where can I find a list of changes introduced to Visual Studio 2010 Ultimate RTM that were added since Visual Studio 2010 Ultimate RC?
In fact, I'm only interested in changes related to MS Test Manager 2010 and Coded UI Tests.
Where I have looked so far
I have
searched the Internet,
looked for a readme.txt in the installation folder,
looked into the Visual Studio help (F1) and
browsed the "What's new in Visual Studio 2010" section on MSDN.
No luck.
Found Scott Guthrie's blog post Visual Studio 2010 and .NET 4 Released, but that's not exactly what I am looking for. It's not a changelog since VS2010RC.
I suppose there is no such file because they made too many changes to document and hand out to end users. But if there was, I'd be glad if someone could point me to it. Thanks.
I suppose actually there are no interesting changes except improving performance and fixing some bugs that are major enough to accept risk of changes. I think so because they actively refuse any change requests in Microsoft Connect and in blogs saying that product is already designed, developed and tested and now they are working only on performance.

Is there an alternative to Microsoft Code Contracts static analysis?

I am very impressed with the Microsoft Code Contracts.
Unfortunately the static analysis is only available in Visual Studio 2008 Team System and Visual Studio 2010 Premium.
We are happily using Visual Studio 2008 Professional (without MSDN). Upgrading our Visual Studio license from pro to premium is way to expensive.
Is there a good alternative?
Take a look at the MSDN Ultimate Offer for Devs. It's not cheap, but it's a lot less expensive than 2008 Team Suite. Then you can use Visual Studio 2010 from now on with Code Contracts. :)
Also, Code Contracts is different from FxCop, where the latter is what everyone is going to think you're talking about when you say "static code analysis."
I personally use the following tools to help with my code analysis needs:
CodeIt.Right can be used as an analysis tool.
FxCop quite extensive and thorough and also free
CAT tool 1.1 is a simple tool to help identify security flaws in managed code.
Concerning code contracts, take a look at DevLabs portal and click on the "Projects" link to link you to the Code Contracts project available for Visual Studio 2008 and Visual Studio 2010
The compiler that comes with the platform SDK has static analysis for free.
cl /analyze. You can configure your IDE to use it.

What is the single best resource for learning the visual studio tools?

I am trying to learn some of the basic and advanced features of visual studio, Anyone find sites that have this type of information ?
I see this:
https://stackoverflow.com/questions/86355/best-way-to-learn-visual-studio-power-features
But it seems more related to tips and advanced features.
All three versions ( 2003, 2005, 2008 )
Microsoft has quite a few videos demonstrating various techniques in Visual Studio:
http://msdn.microsoft.com/en-us/vs2008/bb964532.aspx
Personally I'm not a fan of training videos as I find I get impatient with them (too linear, too slow, no interaction), but maybe they'll work well for others.
STACKOVERFLOW!!!!
(Sorry, I really couldn't help myself).
You didn't mention which version. However I've read Professional Visual Studio 2005 and while I found it a little introductory for my needs, it would probably be useful for someone newer to Visual Studio though.
I notice the 2008 edition is out now too.

Resources