Visual Studio 2010, How to install MSDN after installing VS 2010

One of the Users on MSDN forums asked the following question:

I installed VS 2010 and atlast installation promt me for msdn installation.But I didn’t install MSDN at that time alongwith installation of VS2010.

Now I want to install vs2010 msdn. When I run the disk again it does not show me the msdn install option.

How can I install VS 2010 msdn only?


My reply to this question was marked as an answer:

The entire updated MSDN Library is available online, which is where most people access it. The Visual Studio DVD does contain a “ProductDocumentation” folder that weighs in at over 1 GB. In Visual Studio, under the Help menu, go to “Manage Help Settings” and then “Install content from disk.” Point it to the HelpContentSetup.msha file in your ProductDocumentation folder.



The original link:

Installing and Configuring Team Foundation Server 2010 (Step by Step)

Team Foundation Server (TFS) 2010 is already available and you can deploy and start using it. One ideal scenario for it’s installation is as follows:

1) Take a machine and Install Windows Server 2008 (Enterprise)

2) Create a User Named TFS with Admin rights

3) Then You need to install its Service Pack 2 (NOT R2), Just Service Pack 2

4) Install SQL Server 2008 (Enterprise Edition with all components. Mind you Install Reporting Services in Native mode (not the SharePoint Integrated mode) and DON’T Configure the Reporting Services NOW!

5) Download and Install WSS 3.0 + SP2 and You should be able to successfully complete its Configuration Wizard.

6) Once you do that you should be able to see the SharePoint site http://localhost

7) Now Go To the SQL Server Reporting Services Configuration Manager Tool and NOW CONFIGURE your Reporting Services, Use the tool in a step by step approach specifying User, Creating DBs etc. Every where specify the User TFS which you have created in step 2.

8) Once you do that you should be able to see the Reporting Service Portal and Web Service site on http://localhost/Reports ; http://localhost/ReportServer (or on which every URL you specified during Reporting Services Configuration)


9 ) When you Run the TFS set-up it will copy all the files to Program files which is equal to Installation and then it will start to configure after deployment / installation. In earlier version Install and Deploy was done at the same time.

10) Now Open up the TFS Setup choose which roles you want to deploy like probably you would only want to have TFS and Build Services and then specify the execution account (tfs user which you created).

11) Set-up will run Health Check (don’t worry if there are errors or warning, face them resolve them, they will be resolved, most errors are related to Account Security, System Reqs, Running Services)

12) Once Health Check is passed setup will start deploying Services, Databases and here if you again face errors it means that TFS is unable to make connection to SQL Server, SharePoint or the User has not sufficient Privileges etc.

13) Step 10 and 11 will take most of your time, but once TFS is deployed and Configure, you can further install Team Explorer to Start Creating and Managing Team Projects.

PLINQ – example

.NET 4 contains a new class ParallelEnumerable in the System.Linq namespace to split the work

of queries across multiple threads. Although the Enumerable class defines extension methods to the

IEnumerable < T > interface, most extension methods of the ParallelEnumerable class are extensions for

the class ParallelQuery < TSource > . One important exception is the AsParallel() method that extends

IEnumerable < TSource > and returns ParallelQuery < TSource > , so a normal collection class can be

queried in a parallel manner.

Parallel queries

To demonstrate Parallel LINQ, a large collection is needed. With small collections you will not see any

effect when the collection fits inside the CPU ’ s cache. In the following code, a large int array is filled with

random values:

const int arraySize = 100000000;

var data = new int[arraySize];

var r = new Random();

for (int i = 0; i < arraySize; i++)


data[i] = r.Next(40);


Now you can use a LINQ query to filter the data and get a sum of the filtered data. The query defines a filter

with the where clause to summarize only the items with values < 20 , and then the aggregation function

sum is invoked. The only difference to the LINQ queries you ’ ve seen so far is the call to the AsParallel()


var sum = (from x in data.AsParallel()

where x < 20

select x).Sum();

As with the LINQ queries you have seen so far, the compiler changes the syntax to invoke the methods

AsParallel() , Where() , Select() , and Sum() . AsParallel() is defined with the ParallelEnumerable

class to extend the IEnumerable < T > interface, so it can be called with a simple array. AsParallel()

returns ParallelQuery<TSource>. Because of the returned type, the Where() method that is chosen by

the compiler is ParallelEnumerable.Where() instead of Enumerable.Where(). In the following code, the

Select() and Sum() methods are from ParallelEnumerable as well. In contrast to the implementation of

the Enumerable class, with the ParallelEnumerable class the query is partitioned so that multiple threads

can work on the query. The array can be split into multiple parts where different threads work on every part

to filter the remaining items. After the partitioned work is completed, merging needs to take place to get the

summary result of all parts.

var sum = data.AsParallel().Where(x => x < 20).Select(x => x).Sum();

Running this code starts the task manager so you can see that all CPUs of your system are busy. If you

remove the AsParallel() method, multiple CPUs might not be used. Of course if you do not have multiple

CPUs on your system, then don’t expect to see an improvement with the parallel version.

Visual Studio 2010 project types

Following are the projects types along with there description available in visual studio 2010.

Windows Forms Application

A basic empty form that responds to events.

Class Library

A .NET class that can be called up by other code.

WPF Application

A basic empty form that responds to events. Although

the project type is similar to the Windows Forms

Application project type (Windows Forms), this

Windows Application project type allows you to build an

XAML-based smart client solution.

WPF Browser Application

Quite similar to the Windows Application for WPF, this variant

allows you to build an XAML-based application that is targeted

at the browser.

ASP.NET Web Application

An ASP.NET-based web site: ASP.NET pages and C# classes

that generate the HTML response sent to browsers from those

pages. This option includes a base demo application.

Empty ASP.NET Web Application

An ASP.NET-based web site: ASP.NET pages and C# classes

that generate the HTML response set to browsers from those

pages. This option doesn’t include the base demo application.

ASP.NET MVC 2 Web Application

A project type that allows you to create an ASP.NET MVC


ASP.NET MVC2 Empty Web Application

A project type that allows you to create an ASP.NET MVC

application. This option doesn’t include the base demo


ASP.NET Server Control

A control that can be called up by ASP.NET pages, to generate

the HTML code that gives the appearance of a control when

displayed on a browser.

ASP.NET AJAX Server Control

Allows you to build a custom server control for use within

ASP.NET applications.

ASP.NET AJAX Server Control Extender

A project type that allows you to create extenders for ASP.NET

server controls.

ASP.NET Dynamic Data Linq to SQL Web Application

A project type that allows you to build an ASP.NET that will take

advantage of ASP.NET Dynamic Data using Linq to SQL.

ASP.NET Dynamic Data Entities Web Application

A project type that allows you to build an ASP.NET that will take

advantage of ASP.NET Dynamic Data using Linq to Entities.

Silverlight Application

A project type that allows you to create a Silverlight application.

Silverlight Navigation Application

A project type that allows you to create a Silverlight application.

This application starts with a core Silverlight application that

can be extended for your personal needs.

Silverlight Class Library

A project type that allows you to create a Silverlight class


WPF Custom Control Library

A custom control that can be used in a Windows Presentation

Foundation application.

WPF User Control Library

A user control library built using the Windows Presentation


Windows Forms Control Library

A project for creating controls to use in Windows Forms


Syndication Service Library

A WCF project that allows you to build and expose a

syndication service.

Console Application

An application that runs at the command-line prompt, or in a

console window.

WCF Service Application

A project type for Windows Communication Foundation


Windows Service

A service that runs in the background on a Windows operating


Enable Windows Azure Tools

Allows you to load Azure-based tools for cloud computing


Reports Application

A project for creating an application with a Windows user

interface and a report.

Crystal Reports Application

A project for creating a C# application with a Windows user

interface and a sample Crystal Report.

Activity Designer Library

A project that provides an Activity Designer template for

working with Windows Workflow.

Activity Library

A project that provides a blank Workflow Activity Library. This

project provides for creating a library of activities that can later

be reused as building blocks in workflows.

Workflow Console Application

A project that provides a basic console application to use with

Windows Workflow.

WCF Service Library

A project that provides for creating a WCF service class library

(.dll) that has endpoints controlled via XML configuration files.

WCF Workflow Service Application

A project type that allows you to create a WCF-based

distributed communication applications that make use of Windows Workflow.


A series of projects that are aimed at building applications or

add-ins targeted at the Microsoft Office applications (Word,

Excel, PowerPoint, InfoPath, Outlook, Visio, and SharePoint).

PLINQ – Parallel Linq

Parallel LINQ (PLINQ) enables developers to easily leverage manycore with a minimal impact to existing LINQ programming model

The great thing about PLINQ is that if you are using LINQ-to-objects, there is a very minimal impact to your code in order for it to use PLINQ. All it takes to use PLINQ is adding “.AsParallel()” to your query. This will turn the query into a PLINQ query and will use the PLINQ execution engine when executed.

One small change, and your code now takes advantage of all the hardware available to you.

AsParallel() works by returning an IParallelEnumerable so every subsequent query operator works against the new IParallelEnumerable rather than the normal IEnumerable. For a detailed article on PLINQ, click the below link.

New features of Visual Studio 2010

Some of the new features added in Visual Studio 2010 are as follows

  • Built in tools for windows 7, including multi touch and ribbon UI components.
  • Rich new editor built in WPF that you can highly customize to suit how you work.

  • Multi monitor support.
  • New quick search helping to find relevant results just by quickly typing the first few letters of any method, class or property.
  • Great support for developing and deploying Microsoft Office 2010, SharePoint 2010 and Windows Azure applications.
  • Multicore development support allows you to parallelize your applications, and a new specialized debugger to help you track the tasks and threads.
  • Improvements to the ASP.NET AJAX framework, core Java Script intellisense support, and the highly anticipated inclusion of jQuery in Visual Studio 2010.
  • Multi – targeting / multi – framework support.
  • Support for developing WPF and Silverlight applications with enhanced drag and drop support and data binding. Great new enhancements to the designers, enabling a higher fidelity in rendering your controls, which in turn enables you to discover bugs in rendering before they happen at run time (which is a great improvement from previous versions of Visual Studio). New WPF and Silverlight tools will help you to navigate the visual tree and inspect objects in your rich WPF and Silverlight applications.
  • Great support for TFS 2010 (and previous versions) using Team Explorer. This enables you to use the data and reports that are automatically collected by Visual Studio 2010 and track and analyze the health of your projects with the integrated reports as well as maintaining your bugs and tasks up to date.
  • Integrated support for Test – First development aka Test Driven development (TDD). Automatic test stub generation and a rich unit test framework are two nice test features that developers can take advantage of for creating and executing unit tests. Visual Studio 2010 has great extensibility points that will enable you to also use common third party or open source unit test frameworks directly within Visual Studio 2010.

Visual Studio 2010, with powerful design surfaces and powerful tools, helps you write less code, write it faster and deliver it with higher quality.