What’s New in TFS 2012? – Team Explorer


In this series I will start introducing what’s new in Visual Studio 11 and Team Foundation Server 11 ( TFS 11) or as we expect to be Visual Studio 2012 and Team Foundation Server 2012 (TFS 2012)

  1. Introduction
  2. Project Management Tool
  3. SSDT (SQL Server Developer Tool)
  4. Team Explorer
  5. My Work
  6. Code Review
  7. Suspend and Resume
  8. Local Workspace
  9. Pending Change
  10. Diff and Merge tool
  11. Unit Testing Improvement
  12. Code Clones
  13. Build Improvement
  14. Storyboarding
  15. Microsoft Feedback Client
  16. Exploratory Testing Improvement
  17. IntelliTrace in Production
  18. Alerts
  19. Administration

——————————————————————————————————————————————-


Team Explorer

What is Team Explorer?

As you may already know, there are many clients for TFS (Team Foundation Server) like, Microsoft Excel, Microsoft Project, Team Web Access, and many other clients including Team Explore. The Team Explorer considered as the primary client for TFS. It is an add-in on Visual Studio 2012 or can be installed as a separate application. There are a lot of change, new and merged features in the new Team Explorer and Visual Studio 2012 ex. the Pending Change Window merged within Team Explorer, also there are new windows added to the Team Explorer, ex. there is a new window called My Work, it just introduced in TFS 2012.

In this post I will try to focus on the Team Explorer itself and delay any explanation and speaking on any new or merged windows on upcoming posts, so any talk about any new or enhanced feature will introduced as an example of the new capabilities of the Team Explorer itself that mostly apply for many other features.

Team Explorer Enhancements

  1. Architecture (Web Based)
    • Navigation and Extensibility
    • Work item search
  2. New and Merged Windows
  3. On Demand Data retrieval (paging)
  4. Smart commands and Context driven
  5. Reducing Modality
  6. Performance and Async Operations
  7. Rollback in the UI

The following is a step-by-step video that cover the entire topic.


—————————————————————————————————————————————–

1. Architecture (Web Based)

  • Navigation and Extensibility
  • Work item search
  • Navigation and Extensibility

 

Old Team Explorer

 

New Team Explorer


The old version of Team Explorer was based on Tree/Nodes architecture which was very limited for new extensions, so whenever any extension or feature needed the only way to add it, is to add new node which makes the tree more complex than expected. In the new version, the architecture is based on web navigation style, the Team Explorer is like a main container that has multiple pages and each page is a container that has multiple sections and each section carry one window with many commands.

 


There is a navigation bar to go home (main container) at any point of time and also there are back and forward buttons to move between pages and sections as you visit them. This architecture gives Team Explorer richer extensible model, so we can extend it as the following methods:

    • Add new page to the navigation structure
    • Add a new section to an existing page
    • Add a top-level link to the Home page
    • Add a secondary link beneath an existing top-level item in the Home page
  • Work item search

There is a work item search that we can search inside the work item no third party tool needed, we expect this feature to be more complex for different release of the Visual Studio and TFS, there are some search syntax that can be found here,Work Item Search Syntax.

 

2.  New and Merged Windows


There are new windows introduced in TFS 2012 and new windows merged to the Team Explorer ex. My Work is a new window introduced in TFS 2012 and Pending Change Window merged in Team Explorer.

 

3. On Demand Data retrieval (paging)


In the old version of Team Explorer when we open team project we had to wait for all files to be loaded and download like (Reports, SharePoint documents) and so on but in this version of Team Explorer noting will be loaded until you need it’s like the paging concept when we displaying a lot of records, once we requesting the next page it will connect and bring us what we need.

 

4. Smart commands and Context driven


There are a lot reducing of right click and choose commands by exposing them and being intelligent, ex. the check in policy violation section will not show up if we don’t have violation but if we have? It will show up and appear, so there are a lot of command will not appear if there is no need for them.

 

5. Reducing Modality


One of the things that we really hate are modal dialog boxes, they show up and don’t let us do anything while they are there. There are a lot of improvements to reduce modality as much as possible ex. The check in pending change will not be modal anymore, so we don’t need to wait for all our files to be checked in so we can start to use our Visual Studio, so now we can use the Visual Studio while the code checked in.

 

6. Performance and Async Operations

To enhance the performance, Microsoft worked hard to move long-running tasks to background threads wherever possible, also there are a lot of improvement of operations response so we can achieve responsiveness UI, this made by increasing the number of Async Operations that interact with the TFS with the Reducing Modality feature which introduce a very responsive UI.

Old and already Async Operations:

    • History
    • Annotate
    • Source control explorer

New Async Operations:

    • Checking in
    • Editing a file
    • Find shelveset
    • Sheveset details and changeset details
    • File compare
    • Open the work item

 

7. Rollback in the UI

It’s not part of the Power Tool as a third part library anymore, it now become in the box.

 

The project settings now also looks different

 

Summary: Team Explorer one of the major change of the TFS 2012 and there are a lot of new features and enhancements that can’t be cover in one or two posts, as a summary, Team Explorer has different experience with a lot of change so this post just highlight the main and significant changes of the new experience introduced in Team Explorer.

 

Links:

Wrapping up TFS 11 Version Control improvements

The New Team Explorer in TFS 11

Making Developers More Productive with Team Foundation Server 11

Work Item Search Syntax

Speaking at Microsoft Startup/Bizspark event on Sunday, Sep 30, 2012


Updated on October, 16th, 2012

Some pictures from the event

I’m speaking at Microsoft Startup/Bizspark event, I will talk about Visual Studio 2012 and Team Foundation Server 2012, this talk include how to leverage the Visual Studio tools to help Startup achieve maximum value and continues delivery for their projects.

Startup/Bizspark event

Event ID: 1032529578

Four Seasons Nile Plaza

1089 Corniche El Nile – Garden City
Cairo Egypt

Microsoft Bizspark is a global program that helps software startups realize their plans, projects and ideas by giving them access to tools and connecting them with the right people.You’re cordially invited to the Bizspark MEA Event – and exclusive opportunity for you to share your aspiration and golas and see how Microsoft can support them with empowering tools like Windows Azure, Windows Phone, Windows 8 and Visual Studio.

Session Speaker Time
Welcome & MS Bizspark/Start-up Programs Azza Eissa 6:00 pm – 6:30 pm
Windows 8 Development Walaa Atef 6:30 pm – 7:15 pm
Windows Phone 7 Ahmed Abou ElMagd 7:15 pm – 8:00pm
Windows Azure Shady Sayed 8:00pm – 8:45pm
Visual Studio 2012 Mohamed Radwan 8:45 pm – 9:30 pm
Dinner and Networking 9:30 pm – 10:00 pm

Vote for Team Foundation Server 2012 1000+ Labs



Ayman El-Hattab
suggest a great idea on the Visual Studio Customer voice.

The suggestion is “Taking HandsOnVisualStudio.com to the next level

HandsOnVisualStudio.com is a website that we created based on Brian keller’s Virtual Machine and HOLs. My idea is to take this web site to the next level by:

- Translating the 20 available HOLs to other languages and creating videos and DemoMates to explain them (So far, we have the English and Arabic ones only)
- Creating more HOLs to address extra topics and scenarios like Source Control Features, Team Build, SSDT, GIT Integration, Team Explorer Everywhere, Building Java Projects, Customizing TFS Work Items and Workflows and more)

I’m sure that by teaming up on this we can create 100+ HOLs :)

Please vote :)

That’s great idea, Ayman… we really need labs that cover tasks on daily basis, I faced many problems of resistance to change from software companies and teams for adoption of the Visual Studio and TFS because the issues they faced and they don’t know how things work. They don’t want to pay for a lot of consultation

I faced a lot of people don’t want to investigate in the MSDN and read a lot of posts to just know how it works, they just need a video that can address their issue of knowledge in a very direct way.

And here is the problem, most of the existing labs and videos just cover the new features only it’s not cover the issues that the developers, testers or build engineers may face.

 

I think people need two main things for fast adoption:

•     A step-by-Step installation of TFS (Team Foundation Server)

•     Hands on Labs documents and Videos for all possible daily tasks

 

•    A step-by-Step installation of TFS (Team Foundation Server):

We already created our first version of TFS installation guide with detailed steps, well-defined screenshots and videos, and we will continue to support and update it.

http://tfs2012visualguide.codeplex.com/

 

•   Hands on Labs documents and Videos for all possible daily tasks:

We already also created our videos (English and Arabic) for the existing 20 labs but we really need more…

 

I am really hungry not for only 100 labs but for 1000+………

So Please Vote with us ………… if you really want to see these labs

 

Vote here: The suggestion is “Taking HandsOnVisualStudio.com to the next level

Thanks

Hands-On Visual Studio now online!


On the day of the Visual Studio global launch, I enjoyed the event with our MEA ALM Community team, we celebrated together with the launch and we launched our MEA ALM Community website (Hands-On Visual Studio)

Hands-On Visual Studio is a great website that will provide videos, labs and many other things with multi-lingual  support, I believe it will become one of the primary resources for developers all over the world in the next years, stay close and tuned there will be update everyday…..

 

 

Visual Studio global launch meeting and Hands-On Visual Studio launch too.

From left to right,  Ayman El-Hattab,  Mohamed Radwan (me), Ahmed Nasr and Hosam Kamel

mea-alm-community-m-radwan-ayman-el-hattab-hosam-kamel-ahmed-nasr

 

Visual Studio 2012 Egypt Launch on 26th of Sep 2012


Microsoft Egypt invite you to Visual Studio 2012 Launch Event, be there, there will be a lot of surprises:-)

 
 

Visual Studio 2012 Launch

 

Register to attend
26th of September 2012
Four Seasons Nile Plaza

Organizations that are able to move forward with velocity on realizing value opportunities through such modernization investments as Application Lifecycle Management (ALM) stand to attain a competitive advantage in the industries they serve. Organizations that are first to realize such opportunities stand to establish ground as domain leaders. We are excited to announce the release of a new Visual Studio 2012 Launch Event, to help you capitalize on this opportunity immediately. 

Rise to new opportunities with Visual Studio 2012

Date: 26th of September 2012
Time: 8:30 AM
Place: Four Seasons Nile Plaza – Nile Meeting Room

We hope you’ll join us for this Visual Studio 2012 launch event.
 

Regards,

Microsoft Egypt

Speaking at Microsoft on Monday, September 10, 2012


Updated on October, 16th, 2012

Some pictures from the event

I’m speaking at Microsoft about what’s new in Visual Studio 2012 and Team Foundation Server 2012, if the registration is full, you can join online, waiting for you :-)

 
Microsoft Visual Studio 2012 is a powerful application development environment that ensures quality code throughout the entire Application Lifecycle Management (ALM) which is a proven set of tools and processes that helps organizations manage the entire lifespan of application development, reduce cycles times, and eliminate waste. ALM integrates different teams, platforms, and activities, enabling a continuous flow of business valueIn this session we will introduce the major new features and improvements in Visual Studio 2012. Expect to see the new enhanced User Interface, Agile Planning Tools, Requirements Gathering Tool, Stakeholder Feedback Tool, Updates to the Developer and Tester Experience, Version Control Improvements, and DevOps Integration.Please join us at the “Development using Microsoft Visual Studio 2012″Date: Monday September 10, 2012

 

Time: 10:30 AM – 12:30 PM
Session: “Development using Microsoft Visual Studio 2012”
Speaker: Mohamed Radwan
Venue: Microsoft building – Smart VillageNow, you can join the session online through the below links:

 

Note: please make sure that you are using good internet connection

Join online meeting
https://join.microsoft.com/meet/azzae/1MTC9YZ0

Join by Phone
+20235393330

Find a local number

Conference ID: 95592439

Forgot your dial-in PIN?|First online meeting?

What’s New in TFS 2012?- SSDT (SQL Server Developer Tool)


In this series I will start introducing what’s new in Visual Studio 11 and Team Foundation Server 11 ( TFS 11) or as we expect to be Visual Studio 2012 and Team Foundation Server 2012 (TFS 2012)

  1. Introduction
  2. Project Management Tool
  3. SSDT (SQL Server Developer Tool)
  4. Team Explorer
  5. My Work
  6. Code Review
  7. Suspend and Resume
  8. Local Workspace
  9. Pending Change
  10. Diff and Merge tool
  11. Unit Testing Improvement
  12. Code Clones
  13. Build Improvement
  14. Storyboarding
  15. Microsoft Feedback Client
  16. Exploratory Testing Improvement
  17. IntelliTrace in Production
  18. Alerts
  19. Administration

——————————————————————————————————————————————-

SSDT (SQL Server Developer Tool)

In this post I will talk about the new tool for Database Development in Visual Studio 2012, which is used to know as Database Professional or Visual Studio Database Project, now we have a new tool, it’s very near to the old one but of course with a lot of enhancements and new features.

For more info about comparison between SQL Server Developer Tool and Visual Studio 2010 Database Projects, see the following link:

 SSDT vs. VS2010 Database Projects

For more info about SQL Server Developer Tool, see the following link:

SQL Server Data Tools Team Blog

The following is a step-by-step video that cover the entire topic.

  1. SQL Express LocalDB

  2. SSDT (SQL Server Developer Tool)

  • SQL Express LocalDB

I will start by SQL Express LocalDB because it’s part of SSDT now, so it will make sense if we could get clear explanation about that point before we talk about SSDT.

There is a new version of SQL Express called SQL Express LocalDB, Microsoft SQL Server 2012 Express LocalDB is an execution mode of SQL Server Express. It’s not a service anymore…….

LocalDB especially created for developers to provide the SQL Server Database Engine that needed to develop, debug and run database development, so the Developer Tools provide us as developers a way to write and test T-SQL code without having to manage a full server instance of SQL Server as before.

Download Microsoft® SQL Server® 2012 Express

An Introducing about LocalDB, and improved SQL Express with helpful Q&A

Connect to SQL Express LocalDB using SQL Server Management Studio 2008 R2.

Examine how SQL Express LocalDB run as a process with the same credential that open the application (SQL Management Studio in our case).

Connect to SQL Express LocalDB using Visual Studio SQL Server Object Explorer.

Examine how SQL Express LocalDB run as a process with the same credential that open the Visual Studio.

  • SSDT (SQL Server Developer Tool)

As mention before, this is the new tool that replaced Visual Studio Database Project, I will describe the following capabilities:

  • Table and Stored Procedure Designer
  • Debugging SQL Project using SQL Express LocalDB
  • Publishing Database locally and on Build Server
  • SQLCMD variables

 For more info see, SQL Server Data Tools Team Blog

  • Table and Stored Procedure Designer

Now there is a very powerful designer for Tables and Stored procedures, it looks similar to the HTML designer in the Visual Studio that split the page into two sections, one for the designer and the second for the code and they are synchronized with each other.

  • Debugging SQL Project using SQL Express LocalDB

We can run any Stored procedure without connecting to a real Database, this is using the Debug Configuration of SQL Server Database Project and the SQL Express LocalDB feature.

First we will create a new SQL Server Database Project.

Configure the debug option to use SQL Express LocalDB ( configured by default).

Examine the database files that will be attached to the process of SQL Express LocalDB so we can execute our T-SQL commands without needed to maintain SQL Serve instance.

Examine the SQL Database Project after we execute some Stored Procedures by adding database connection.

  • Publishing Database locally and on Build Server

The Publish feature is the same as the Deploy feature in the Visual Studio Database Project but with a lot of enmeshments that really makes the life is very easy.

Right-click on Database 1 > Publish > Edit , this will enable you to enter the Target Connection String.

You may click Advanced to configure the advanced options of the deployment.

After we set our connection string and advanced option click on Publish and examine how the database published to your database server.

We can have multiple publishing profile so we can publish our Database Project differently on different machines.

After we creating the build definition we will put the needed publish profile in the MS Build Argument, this is the profile that will be used while the build machine build the project.

“/t:Build /t:Publish /p:SQLPublishProfilePath=profilename.xml”

After we queue a build using our build definition that specify the needed publish profile, the database will be published using the specified publish profile.

  • SQLCMD variables

This feature enable us to use any variable during our build or publish and gives the needed value on the appropriate time.

I just add a variable x so I can give it value during the publish or during the build, but remember if the value will needed to be assign during the build on the build server, the value must be saved inside the publish profile.

I can also give the variable (x) a default value.

When I click publish on the SQL Database Project the publish request me to put a value for this variable (x).

Links:

Intro about SQL Server Development Tools
Microsoft SQL Server Data Tools: Database Development from Zero to Sixty in Build Event 2012
SQL Server Data Tools Team Blog
 SSDT vs. VS2010 Database Projects
Microsoft SQL Server Data Tools By MVP Isablle
A First Look at SQL Server Data Tools
Download Microsoft® SQL Server® 2012 Express
An Introducing about LocalDB, and improved SQL Express with helpful Q&A

Visual Studio 2012 RC ALM Hands-On-Labs Now in Arabic


بعد تجربة اعداد التجارب المعملية للفيجول استوديو 11 التجريبى باللغة العربية، قررت اعداد النسخة الجديدة منها وهى فيجول استوديوا 2012 المرشح للإصدار

للحصول على النسخة الانجليزية قم بزيارة موقع براين كيلر،لاحظ انه لابد من تواجد الجهاز الافتراضى الموجود على موقع براين كيلر حتى تتمكن من اجراء هذه التجارب المعملية

لتحميل اى اختبار معملى، فقط اضغط على الرابطة اسفل الإختبار


After the translation of Visual Studio 11 Hands-On-Labs in Arabic, I decide to translate the new labs of Visual Studio 2012 RC

For the original English version you can visit Brian Keller blog here

Both English and Arabic Labs will need the new VM of the Brain Keller that has the new bits of the Visual Studio and Team Foundation Server (TFS) 2012 RC.

To download any lab in Arabic just click on the link below each lab picture.

    

تصوير الدمج والتفرع مع فيجوال أستوديو تيم فاونديشن سيرفر 2012

Branching and Merging Visualization with Visual Studio Team Foundation Server 2012
اكتشاف البرمجة باستخدام أدوات بناء الحاسب في برنامج فيجوال أستوديو 2012

Code Discovery using the Architecture Tools in Visual Studio Ultimate 2012

    

تشخيص الأخطاء ببرنامج إنتيليتريس باستخدام فيجوال أستوديو ألتيميت 2012

Debugging with IntelliTrace using Visual Studio Ultimate 2012
مقدمة عن اختبارات واجهة مستخدم المبرمج مع فيجوال أستوديو ألتيميت 2012

Introduction to Coded UI Tests with Visual Studio Ultimate 2012

   

مقدمة عن اختبار البرنامج مع مايكروسوفت تست مانجر 2012

Introduction to Platform Testing with Microsoft Test Manager 2012
مقدمة عن برنامج بريئيمبتف أناليتكس

Introduction to PreEmptive Analytics

   

مقدمة عن إدارة حالة الإختبار ببرنامج ميكروسوفت تست مانجر 2012

Introduction to Test Case Management with Microsoft Test Manager 2012
مقدمة عن تخطيط الاختبار مع مايكروسوفت تست مانجر 2012

Introduction to Test Planning with Microsoft Test Manager 2012

   

فهم اتصال الفئات مع برنامج فيجوال أستوديو ألتيميت 2012

Understanding Class Coupling with Visual Studio Ultimate 2012
استخدام تحليل البرمجة مع فيجوال أستوديو 2012 لتحسين جودة البرمجة

Using Code Analysis with Visual Studio 2012 to Improve Code Quality

   

استخدام مستكشف البنية في فيجوال أستوديو ألتيميت 2012 لتحليل البرمجة الخاصة بك

Using the Architecture Explorer in Visual Studio Ultimate 2012 to Analyze Your Code
إدارة أيجيل للمشاريع في برنامج تيم فاونديشن سيرفر2012

Agile Project Management in Visual Studio Team Foundation Server 2012

   

بناء البرامج الصحيحة: إنشاء اللوحة التوضيحية وتجميع التغذية الرجعية للمستفيدين في برنامج فيجوال أستوديو 2012

Building the Right Software – Generating Storyboards and Collecting Stakeholder Feedback with Visual Studio 2012
تشخيص المشاكل في الإنتاج مع إنتيليتريس و فيجوال أستوديو 2012Diagnosing Issues in Production with IntelliTrace and Visual Studio 2012

   

الاختبار الاستكشافي والتحسينات الأخرى في برنامج مايكروسوفت تست مانجر2012

Exploratory Testing and Other Enhancements in Microsoft Test Manager 2012
جعل المطورين أكثر إنتاجية مع تيم فاونديشن سيرفر 2012

Making Developers More Productive with Visual Studio Team Foundation Server 2012

   

اختبار الوحدة وتحليل نسخ البرمجة مع فيجوال أستوديو 2012

Unit Testing and Code Clone Analysis with Visual Studio 2012
تأليف وتشغيل الاختبارات اليدوية باستخدام برنامج مايكروسوفت تست مانجر 2012

Authoring and Running Manual Tests using Microsoft Test Manager 2012

First Community Storyboard Shapes of Icons and Web Tools for Visual Studio 2012



I am really happy to be the first one from the community to contribute to the Visual Studio Storyboard shapes and galleries for Storyboarding Backlog Items, I am really inspired by the Storyboard and I believe it will become the first class citizen for product owners, analysts and web designers.

For those people that didn’t know the storyboarding it’s a new feature in Visual Studio 2012 that will improve User Stories and Requirements with PowerPoint through creating a prototype and UI animated using the PowerPoint with Visual Studio add-in, and also you can use another new feature which  is Microsoft Stakeholder Feedback Client

Fore more info about Storyboaring, click here

For more info about Stakeholder Feedback Client, click here

 

 

First library, Font Awesome Icons

I like the Font Awesome so much specialy with Bootstrap, so I decide to convert this wonderful library (Font Awesome) into Storyboard icons.

Download Font Awesome Icons Storyboard gallery from here

 

 

Second library, Web Tool

I have some ideas in Web that I believe we will need them a lot in web projects, like block loader, notification bars, modal forms, confirmation modal and many other, so I just create another gallery and called it Web Tool, of course this is just the start!

Download Web Tool Storyboard gallery from here

 

I hope the Visual Studio 2012 galleries start fill full of many libraries from the community because I believe it will help a lot of people to produce better software :-)