Tag Archives: Visual Studio

Visual Studio 11 Beta

Visual Studio and TFS 11 Beta Resources

Visual Studio 11TFS 11 beta and .NET Framework 4.5 beta are now available!

If you still didn’t get it, you can download it from here:


Or for MSDN Subscribers directly from the MSDN Subscriber Download Page.

If you want to try it on a virtual machine and don’t want to install it by yourself, I recommend you to take  Visual Studio 11 Application Lifecycle Management Virtual Machine and Hands-on-Labs, that is available at the Brian Keller Blog:


There are many articles about new features of Visual Studio 11, .NET 4.5, TFS 11, and ALM in Dev11 Beta. Here is a collection of them, grouped in categories:

Must read:

Welcome to the Beta of Visual Studio 11 and .NET Framework 4.5 by Jason Zander’s WebLog

Somasegar’s WebLog

What’s New in Visual Studio 11 Beta (msdn)

Nice to read:

Visual Studio 11 Beta – Unit Testing Plugins List

Visualize Code with Visual Studio 11 Beta

Updating a team project to use new features after upgrading to TFS 11 Beta

What’s new for Microsoft Test Manager in Visual Studio 11 Beta

Introducing the New Developer Experience

Introducing the New Developer Experience, Part #2

Welcome to Visual Studio 11 ALM Rangers Readiness Beta “Wave”

Working within Team Web Access

Inside Visual Studio 11: A Guided Tour

For those who want more:

Visual Studio 11 Beta Performance Part #1

DemoMates for Visual Studio 11 ALM Demos ( Brian Keller )

Dev 11 Beta – Channel 9 Video 

What’s New for Visual C++ in Visual Studio 11 Beta

What’s New for Visual C# in Visual Studio 11 Beta

Getting Started With TFS 11 Express Beta

TFS 11 Beta Build Service on Windows Azure

Announcing LightSwitch in Visual Studio 11 Beta

Visual Studio 11 Beta Testing Documentation

TeamCompanion v4.5 rides alongside Visual Studio 11


If you have something to add, just write it in a comment.

fight against clones

Fight against clones

Code Clone Analysis

One of the most common bad practice in application development is the well-known copy-paste paradigm of coding. It is easy to take the code from one place and to copy it to another. Such a method of coding is sometimes very efficient and fast. However, that quasi-paradigm is full of serious problems and is often root of bad code. Books have been written about that, how to solve problems in the code caused by this practice.  How to prevent the duplication of code, how to detect and remove clones in code? Visual Studio 11 offers a solution. In fact, the solution is developed by Microsoft Research, but it’s a part of the new Visual Studio. Under the Analyse menu, there is an option “Analyze Solution for Code Clones.” By calling this command, Visual Studio will pass the entire code in the solution and try to find the clones, pieces of code created by copy-paste or similar activity. These parts will be categorized into three categories: Exact Match, Strong Match, Medium Match. The tool does this very intelligently; it does not just search for identical blocks of code, rather it searches for semantically similar constructs using heuristics.

There is also an option to search for potential clones based on selected code. Unlike analyzing the entire solution, this search can find code clones less than 10 lines in length. Jus highlight the fragment of code to search for, right-click on it, and select Find Matching Clones in Solution from the context menu. This option can be very useful in many scenarios. For example when a bug is fixed in one section of the code, it’s important to make sure that same code wasn’t used elsewhere in the application. Code clone analysis shows all the places where the code was copied and used, allowing for the code to be fixed in all locations.

Project planning with the TFS Web Access 11

The requirements are defined and accepted by all stakeholders. What to do next? Before the start of implementation, it is necessary to plan the project or its next iteration. Whether you are using Scrum, or some other development process, it is necessary to define what are the scenarios or user stories which have to be implemented on the project/iteration. For the current iteration, we have to go deeper and also define tasks. Also with the definition of tasks, it is important to define the resources, people, our development team. Planning tool is a part of the new Team Foundation Server Web Access 11. Tasks and User Stories are defined on the page “Backlog”, and the development of these tasks and user stories are tracked on the page “Board”. New TFS Web Access also introduces a definition of the Team, as a new managed part of the project. In the older versions of TFS, including Version 2010, TFS Web Access was only used to access a small subset of the TFS data, and is mainly used for accessing work items. The new version of the TFS Web Access is completely redesigned, and offers many reasons to become one of the key tools within the TFS. In addition to completely new functionality of project planning, Web Access supports Build functionality and access to the source control. You can access, change, and track code changes within Web Access, without Visual Studio. Maybe this sounds unreasonable for software developers, which are using Visual Studio all the time, but for project managers or some IT stuff, which only want to change some setting in configuration file, it sound reasonable to use Web Access and not Visual Studio to do that. In fact, project managers and other team members that are not using Visual Studio as the primary tool, TFS Web Access 11 offers everything they need to have a complete insight into the project, from the code changes, work items tracking, build functionality, to the current state of development iterations and tracking resources with the Backlog and Board pages and graphical reports Burndown and Velocity.

Planning in the TFS Web Access starts with the definition of the team and their capacities and with the definition of the backlog.  Also, begin date and end date must be defined for project iterations. For team member, you also have to define absences. Team Foundation Server with the new version is finally aware of the time dimension and can follow the development in relation to the current date and the current iteration. In the page Product Backlog you can define user stories. It also enables you to drag items and reorder them if you need to reprioritize the work. You can also reassign items to different iterations (sprints), again with simple drag’n drop. During the task allocation, we can automatically track the workload of the team as a whole and each individual member in relation to a defined capacity. Capacity is determined by the time duration of the current iteration, the number of average hours each developer spends on project and team members’ absences. After completion of planning, during an execution of iteration, we can follow development progress through the page Board (in Scrum Storyboard). On the Board we can track which tasks are completed (Done), still developing (In Progress) or have not even started (To do).  By moving tasks from one state to another, we can track the progress of development in the real-time.

TFS 11 Requirements Management with PowerPoint


The development of a new software product, or one of iterations, starts with the requirements definition. Microsoft with Visual Studio 11 for the first time offers a dedicated tool for requirements management. It is called PowerPoint! This is Microsoft Office PowerPoint. Within the Visual Studio group of products, it’s called Storyboarding PowerPoint, but it is nothing else but a well-known tool for creating presentation documents with the Add-in that gives us shapes and templates for different kind of user interfaces, so you can use all its functionalities you already know. Using this tool, an end-user or a business analyst, whoever defines the requirements, can simply define look and feel of the desired application. PowerPoint document created with this tool can be stored anywhere, but the best practice is to save it on the project portal of the Team Foundation Server, together with other project documentation, so that all stakeholders can access them. During the project planning, this document should be linked to a user story (in case of Scrum process) or any other work item depending on methodology template you use. With the PowerPoint Storyboarding you can quickly build the mockups that simulate all user interactions for the new requirements.  Users don’t know what they want until they see that. With this tool, they will create requirements and see the result at the same time. If you need a real prototype of your application, you will find this tool too simple. If you need something more complex, with much more graphics and UI options to create prototype of your application, you could use ScatchFlow. It’s not a new tool and it’s a part of Microsoft Expression family of tools.The intention of this tool is to create a real UI- functional prototype. But, in most cases, it’s more then you need. In the requirements phase, you have to be agile and react fast. You need to use simple tool to change the UI requirements faster. The best tool for that purpose is the new PowerPoint Storyboarding

Visual Studio and TFS 11

Visual Studio over the last few versions has evolved from high-level developer’s tool in a set of tools for the entire process of application development. In the upcoming version, Visual Studio continues in that direction. Together with the next version of  Team Foundation Server, Microsoft has completed the platform that supports all phases of the development lifecycle, and also introduced some new improvements in the existing tools. In the next few blog entries, I will demonstrate some of the biggest new features for software development and application lifecycle management in the version 11 of the Visual Studio ALM tools and services. At the beginning let’s just mention what are the biggest news inVisual Studio and Team Foundation Server 11:

·        IDE Improvements:
o  Project and solution backward compatibility
o  Browsing features in Solution Explorer
o  File preview in the Code Editor.
o  Quick command search
o  Code Editor Enhancements for JavaScript
o  New image editor
o  DirectX Visual Shader designer
·        Debuggerand quality analysis improvements:
o  Standalone Intellitrace
o  CodeClones Analysis
o  Simplified remote debugging
o  DirectX Graphics Debugger
o  NewUnit Test Explorer, nUnit supported
·        Web/Windows/Mobile Development features
o  .NET4.5 features
o  ASP.NET4.5 web development enhancements
o  IISExpress replaces the ASP.NET Development Server
o  SharePoint Development enhancements
o  Metro-style development
·        TFS features
o  Team Explorer new look and feel
o  Backlog Management
o  Support for Feature Teams
o  New TFS Web Access
o  Story boardingtool
o  Customer Feedback tool
o  Exploratory testing in Test Manager
o  Code Review Workflow
o  Suspend for Work Interruptions
o  New Merge/Compare tool
Certainly it’snot all. If I forgot something important, pleas just add it in a comment and I’llexpand the list. In the next few stories (blog entries) I’ll write mostly about TFS 11 new features and also about some mostly some debugger and quality analysis improvements.