How to configure and use VSO or VSTS

Santosh Gaikwad

Santosh Gaikwad

Connect on LinkedIn      Follow SCI Page

Write to admin@sharecareinspire.com
Santosh Gaikwad

Latest posts by Santosh Gaikwad (see all)

>>Related Articles

Visual Studio Online (VSO) is confusing term for many and seems like something related to development or IDE, but it’s not.

Probably because of its confusing term Microsoft has lately decided to change the name of service from VSO to VSTS (Visual Studio Team Services), now it’s better term and you can associate it with VSTF

What is VSTS (formerly known as VSO) ?

If you have ever come across TFS, then you can say VSTS is more advanced and cloud (SaaS – Software as a Service) version of the same.

Visual Studio Team Services (VSTS) offers configuration of special roles and services for software architects, business analysts, project managers, scrum masters, developer specialties and testers.

It is designed for managing projects and development work for different projects with variety of languages and very good support for executing Agile projects.

Following are few offerings of VSTS.

VSTS offers wide range to requirements management, Team collaboration, Work planning, Continuous Integration, source control and Agile support.

 

Work Planning:  Dashboard to track the status, Plan work with Agile methods

Continuous Integration and Delivery: Build & Release, Package, Deploy to Azure, Test

Source Control: Git, TFVS

How to create VSTS account and check-in source code

To create your VSTS account, you need to have valid subscript. Considering you have valid subscription lets proceed.

Step 1: Login to VSTS

You can either navigate to https://www.visualstudio.com/team-services/ or https://www.visualstudio.com/vso/ , both the URLs with take you to the same location on login.

Once you click on Login link, you will be navigated to the login page where you need to provide your credentials.

Step 2: Create new account

Once you login you will be redirected to profile page, where you will be prompted to create new account. Click on create new account button.

You have to provide your project name and select appropriate code repository option, at the moment VSTS provides you option to store your source code in repositories like Git and TFVC.

Step 3: Create Project

For this example I am considering Git as a source code repository.

Once you click on continue button to create project, VSTS creates repository for you and will navigate to the page where you will be able to see the URL on HTTPS or SSH for accessing repository.

https://sharecareinspiresci.visualstudio.com/_git/MyFirstProject

This page gives you option to set the credentials for check-in check-out code to and from repository.

Set the credentials for your repository.

Now you are done with setup and configuration of your account and ready to navigate to the dashboard of your account.

Step 4: Dashboard

As you navigate to project URI, you will see option for Dashboard, Soruce code structure, Work Assignment and User Management, Build & Release Management and Test. You can also configure continuous integration from here.

Step 5: Git for Windows

This article I am focusing on adding source code to the repository. To add source code you need to get latest version of Git for Windows, you can download the same and install on your development machine.

Step 6: Commit Code to Git repository

Open Git Command prompt and run following commands one by one.

git init .
git add --all
git commit -m "first commit of my code"
git remote add origin https://sharecareinspiresci.visualstudio.com/_git/MyFirstProject
git push -u origin –all

git push -u origin –all, command will prompt you for login credentials. once you put the credentials, your code will be pushed on to the cloud.

Step 7: View code in VSTS

Now you have pushed all your local source code files to VSTS, let’s go and see if your source code is available there. To view your code files click on the code and select files tab, you will be presented with all your source code structure and files.

Source Code in VSTS
Source Code in VSTS

 

>>Related Articles


Check Articles From Categories      Health and Parenting      Inspiring Stories      Technology      Microsoft Azure      SharePoint O365

Leave a Reply

Your email address will not be published. Required fields are marked *