1Gig-Tech (#27) – Roslyn, SQLServer, Linux, Xamarin, TFS

March 13, 2016 1Gig Tech , , , ,

Welcome to 1Gig Tech update!

In today’s edition, there are 12 articles on technology, news, open source, community on the fantastic and ever evolving technology world.

  • A Quick Primer on Microservices (Omed Habib)
    Martin Fowler’s “Microservices – a Definition of This New Architectural Term” is one of the seminal publications on microservices. He describes some of the key characteristics of microservices as: Componentization: Microservices are independent units that are easily replaced or upgraded.
  • Performance Tuning Apache Storm at Keen IO (Peter Nachbaur)
    Hi, I’m Manu Mahajan and I’m a software engineer with Keen IO’s Platform team. Over the past year I’ve focused on improving our query performance and scalability. I wanted to share some things we’ve learned from this experience in a series of posts.
  • How We Build Code at Netflix (Mike McGarr)
    How does Netflix build code before it’s deployed to the cloud? While pieces of this story have been told in the past, we decided it was time we shared more details.
  • Experimental .NET Core Debugging in VS Code (Andrew B Hall)
    Today we are releasing our first experimental preview of debugging for the new ASP.NET Core CLI toolset in Visual Studio Code. Before I continue it’s important to note a few things: With this first release you get breakpoints, stepping, variable inspection, and call stacks.
  • Microsoft/team-explorer-everywhere
    This project contains the Team Explorer Everywhere Plug-in for Eclipse, the cross-platform Command-line Client for Team Foundation Server, and the Team Foundation Server SDK for Java. Team Explorer Everywhere is the official TFS plug-in for Eclipse from Microsoft.
  • Announcing SQL Server on Linux (Scott Guthrie)
    It’s been an incredible year for the data business at Microsoft and an incredible year for data across the industry. This Thursday at our Data Driven event in New York, we will kick off a wave of launch activities for SQL Server 2016 with general availability later this year.
    The latest tips, tutorials, news, and resources for Xamarin app developers. Powered by Dan Rigby and the Xamarin developer community.

You can also follow these updates on Facebook Page or can also read previous editions at 1Gig Tech


NodeJS, Java and .NET Build Automation with VSTS (VSO, TFS)

December 6, 2015 TFS, Videos , , , , ,

Have you tried Visual Studio Online (or Visual Studio Team Services, as it is now called) for build automation? VSTS (TFS 2015) has a new and much powerful build engine than TFS 2013 and you can now configure build automation for NodeJS, Java, Android, XCode and .NET.

The video recording below is a quick guide to configure Cross Platform Build Automation with VSTS or TFS 2015 (on-prem)


Direct Link:–TFS-2015

Channel9 – DevOps: Continuous Delivery using Visual Studio Online and Azure

June 22, 2015 Azure, Sessions, TFS, Videos, Visual Studio , , , , ,

I am glad to say that my webcast, that I delivered as part of Southeast Asia MVP ComCamp 2015, has been published on MSDN Channel9 

The session outlines the best of cloud world – ALM and Continuous Delivery into Azure platform.  The session will focus on configuring VSO, developing applications using VS2015 and running continuous integration (unit tests) and auto deploying the code to Azure Staging and Production platforms.

Direct link:



Continuous Delivery with Visual Studio Online and Azure

June 18, 2014 Sessions , , , ,

On June 26th 2014, I will be delivering a talk on Continuous Delivery with Visual Studio Online and Azure for a Brazil User Group. This will be a webcast for 1 hour and its agenda would be as outlined below. This webcast is a must for those interested in understanding Visual Studio Online and its ALM features that can be used to have a Continuous Delivery into Azure (cloud) platform. Agenda:

  • Introduction to Visual Studio Online and its features
  • ALM – Requirements Gathering, Construction, Unit Testing
  • Continuous Delivery – Build Automation and Deployment
  • Q&A

The webcast will be tailored considering how both Visual Studio Online (or its on-premise version) and Azure can be best used for enterprises to achieve efficiency and maturity in their product life cycle.

For any questions, you can contact me over twitter: @ganshani

or you can also contact Jucinei Santos (the organizer of this webcast)

To register for this webcast, please visit

[Solved] The connection to Team Foundation Server has been restored

June 3, 2014 TFS


The connection to Team Foundation Server http://…… has been restored

Root cause

The Build Notification application tries to connect to TFS server to get build definitions and their status and gets an error. This error can also occur if one or more build definitions do not exist on the TFS server. This is because the Build Notification area tries to query TFS server with each build definition instead of fetching the definitions at every attempt.


In the Build Notification application, go to Configure Build Notification. Uncheck all the builds that have been deleted from the TFS server. You may also uncheck the disabled builds to make sure that build.

This should resolve the connection restoration popup in the taskbar.

Recording: Continuous Integration with TFS

May 11, 2014 ALM, Azure, Sessions, TFS, Videos, Visual Studio , , , , ,

I had recently done a webinar on DevOps – Continuous Integration with TFS which was organized by Microsoft.
If you missed it for any reason, you can watch the recording on Youtube channel.

The duration of the video is 1 hour and will delve into various aspects of ALM such as

  • Product Backlogs and SPRINT
  • Integration with Visual Studio
  • Unit Testing (with MSTest)
  • Build Automation and Check-in policies
  • Deployment into Azure (for Azure Websites)

Webinar – DevOps: Continuous Integration with TFS

April 28, 2014 ALM, Sessions, TFS , ,

Speaker: Punit Ganshani
Topic: DevOps: Continuous Integration with TFS
Date & Venue:  May 07, 2014 (Wednesday) at 6:00 PM to 6:45 PM (SGT)
Venue: Online (Lync Meeting)

What are we going to cover? This is what you can get!
Team Foundation server
  • Our MVP will share about what’s new in TFS 2013
  • DevOps – Continuous Integration and Deployment using TFS 2013
  • TFS best practices
Questions and Answers Ask the MVP

Use this opportunity to our MVP and the Microsoft team your toughest question on Team Foundation Server 2013!

Register below or at


[Solved] TF246017: Team Foundation Server could not connect to the database

April 25, 2014 ALM, TFS, Visual Studio , , ,


TF246017: Team Foundation Server could not connect to the database.
Verify that the server that is hosting the database is operational, and that network problems are not blocking communication with the server.

Root Cause

This error can occur due to following reasons

  • Incorrect SQL Installation order especially if you are using Express edition
  • Database In Recovery
  • Database Out-of-Sync – during migration to newer version of TFS
  • Permission of Service Account is not right
  • SQL Database not running or not reachable
  • TFS Proxy not reachable


If your database server has restarted and you are trying during that time, you may face this issue. You may want to take a cup of coffee and retry after sometime.  If the error still persists, you can try debugging the below.

Check if you are able to connect to SQL database by yourself.  If you are not aware of the database connection, it is advisable to reach out to your support team in your organization to check the connectivity. 

If this issue arises only when you are checking in or doing an undo pending changes, chances are that SQL Server has logical consistency I/O error.  You can try repairing the database (or request your DBAs to do it for you) by running following command against all TFS databases


If there are database errors, your DBA should be able to resolve it. 
If there no database errors, then you need to check if the service account through which the TFS services are running (on TFS server) has same credentials and if the permissions granted are correct.  You may want to sync-up the services

If you have migrated TFS / database, you may want to check if backup of all databases is restored.  Partial restoration of backups also can cause this issue.  You can refer to the MSDN link of list of TFS databases.  This list may differ based on version of TFS.

[Solved] TF250061: The following site could not be attached to Team Foundation Server

April 16, 2014 TFS, Visual Studio , ,


TF250061: The following site could not be attached to Team Foundation Server:
The site is already associated with a team project on an installation of Team Foundation Server with a different ID.

Root Cause

When a TFS site collection is associated with both TFS 2010 and TFS 2012/2013


This problem occurs only when you have migrated to a newer version of TFS while your collection is still attached to older version of TFS.  You can fix it by going into the old TFS installation via Team Explorer in Visual Studio, and re-associating the project with it’s project portal.


Select Portal Settings in Team Explorer and disassociate from older version, and then attach to the newer TFS version.


[Solved] TF31001: Cannot connect to Team Foundation Server

April 10, 2014 TFS, Visual Studio , ,


TF31001: Cannot connect to Team Foundation Server at
The server returned the following error: Key not valid for use in specified state

Root cause

Expired token due to change in Windows credentials (Active Directory for Enterprise hosted TFS and Live credentials for Visual Studio Online)


Team Foundation Server when using Visual Studio 2013 stores token based on Windows credentials (Active Directory / Live credentials) in Windows Registry.  For example, I’m connected to 2 Visual Studio Online repositories, so you can see 2 keys in VssApp


Now when you change the credentials, in most cases this error will not come as Visual Studio will try to re-authenticate you and update the token.  However in case of any failures, you may get the error TF31001.

To resolve this,

  • Close all instances of Visual Studio
  • Run Task Manager and find out all TFS services.  Click on End Process Tree to shut down all the services
  • Delete just the TokenStorage folder:


  • Restart Visual Studio and retry
Follow on Feedly