Wednesday, December 13, 2017

SmartHotel360 Demo Apps and Architecture showcased in Microsoft Connect(); 2017

Hello All,

If you are eagerly waiting to dirty your hands on the demo app showcased in Microsoft Connect() 2017, Here you go..

Today Microsoft keynote demo team made the demo app called "SmartHotel360" public.
https://github.com/Microsoft/SmartHotel360

SmartHotel360 is a fictitious smart hospitality company showcasing the future of connected travel.

The heart of this application is the cloud – best-in-class tools, data platform, and AI – and the code is built using a microservice oriented architecture orchestrated with multiple Docker containers. There are various services developed in different languages: .NET Core 2.0, Java and Node.js. These services use different data stores like SQL Server, Azure SQL DB, Azure CosmosDB, and Postgres.

The App contains:
  • Website
  • Mobile App
  • Desktop App
  • Backend it contains Azure Functions, CosmosDB, SQL and lot of API's
In production, all these microservices run in a Kubernetes cluster, powered by Azure Container Service (ACS) as shown in the accompanying architecture diagram.



You can find everything you need to run the backend services locally and/or deploy them in a Azure environment, the team has shared SmartHotel360 Backend repository in GitHub .

You can also grab all the presentations, links to workshops and demos, and creative assets to host your own Re-Connect(); events, shared by Microsoft team Connect-Event-in-a-Box repo on GitHub.

All the public repos w.r.t SmartHotel360 can be found here:

https://github.com/Microsoft/SmartHotel360
https://github.com/Microsoft/SmartHotel360-Azure-backend
https://github.com/Microsoft/SmartHotel360-mobile-desktop-apps
https://github.com/Microsoft/SmartHotel360-public-web
https://github.com/Microsoft/SmartHotel360-Sentiment-Analysis-App

The team says
"Our Microsoft Application Platform gives developers the power or Azure, our best-in-class tools, our data platform, artificial intelligence, and cross-device apps to start building the apps of the future. We hope you can use SmartHotel360 as a great learning resource to start building what you need today with any apps, any tools, and any platform."

Thanks to Erika and team for coming with the awesome app, this will definitely help developers, consultants to understand the power of Azure, VSTS, .Net Core and entire Microsoft tool ecosystem.

Happy Reading!

Tuesday, December 12, 2017

Project Server and TFS Integration

In this video we will discuss about integration between TFS and Project Server.
We will see how to integrate Project collection to PWA instance, how to map Team project to Enterprise plan.
And we will see how the work item synchronization happens between Project Server and TFS and vice versa

Release Management Web.Token.Config Tokenization

In this video we will see how to deploy web application using TFS Build and Release Management tokenization. We will have 3 sites deployed using connection string to 3 different DB with help of web.token.config file.

Continuous Deployment by TFS, Azure and VSO

In this video we will discuss how to achieve CI and CD i.e. Continuous Integration and Continuous Deployment by TFS Build and Azure websites and Visual Studio Online.
We will see a scenario where a developer will modify code and check-in, this will trigger CI Build. Once the CI Build is completed the Build Artifact are published in VSTS. Now Release will kick-start because it is set for Continuous Deployment. During the Release the Build output i.e. web site content is hosted on website in Azure PaaS.

VS ALM brief Overview

In Visual Studio ALM brief overview. We will discuss about TFS features like TFS Project Management, Work Item tracking, Version Control, TFS Build and Reporting.

TFS 2013 Project Management features

This video describes the Project Management features of TFS 2013 with Update 3. Lets check out features of TFS like Portfoli Mgmt, Iteration planning, Product Backlog item Mgmt, Work Item Tiles and Chart.

TFS 2013 Scrum Team Concept

This video describes the Team Concept in TFS 2013 like Agile Portfolio Management, Scrum Teams. This video also helps in understanding the master team and sub teams and how to use TFS Area Path.

TFS Custom Reports and Custom Tools

This Videos describes how to create custom reports for Team Foundation Server. Showcase some custom reports done by 3rd party company ad also discuss about other tools to access TFS and work.

TFS ALM How to Create a Team Project

This video describes How to create Team Project in Team Foundation Server with different process templates Scrum, Agile, and CMMI. And explain about work items, reports etc. based on the template we select while creating the project.

Visual Studio Unit Test with TFS Build

This video describes How to create unit tests in Visual Studio with code coverage and also Team Build or TFS Build.

Visual Studio Layer Diagram

This video describes Visual Studio Layer Diagram Architecture feature along with automated validation of layer diagram in Team Build.

Visual Studio Sequence Diagram

This video describes Sequence Diagram feature of Visual Studio.

TFS Work Item Customization Part 3

In this Work Item Customization Part 2 video, we will discuss basics about customizing Team Foundation Server work Items.
We will discuss about adding new a backlog item "Initiative" to backlog page or portfolio Management. We also discuss about customizing Category and Processconfig file.

TFS Work Item Customization Part 2

In this Work Item Customization Part 2 video, we will discuss basics about customizing Team Foundation Server work Items.
We will see about adding new States and Transitions, work item conditions/rules like Required and Read only, restricting state to certain TFS group and dependent drop-downs.
  • Define State and Transition like In-Progress to Review, Review to Closed 
  • State based condition like Field as ReadOnly in Review state 
  • Group based condition like Review state should be available only for Reviewer Group 
  • Dependent Drop down Field Ex: 
    • Category 1 
      • SubCategory 1.1
      • SubCategory 1.2
      • SubCategory 1.3
    • Category 2 
      • SubCategory 2.1
      • SubCategory 2.2
    • Category 3
      • SubCategory 3.1  

TFS Work Item Customization Part 1

In this Work Item Customization Part 1 video, we will discuss basics about customizing Team Foundation Server work Items. We will see how to Export Task, show from both Visual Studio Process Editor and Command line. How to edit the work item definition in VS Process Editor and also how to customize using Notepad++. We will see

  • How to change work item type Name, Add a Text Field and Text Box and Import using command line.
  • Open in VS Editor and Add a Field with allowed values, add control in UI and Import using Visual Studio Process Editor


 

TFS 2015 vNext Buildpart - 1

In this video we will discuss about Team Foundation Server TFS 2015 vNext Build feature. We will discuss how to create or modify vNext Build from web access.


TFS Kanban Board Part 1

In this video we will learn how to use VSTS/TFS Kanban Board to manage and track our backlog items. Topics covered in this first part are as below:

  • What is VSTS Kanban board How to add new cards in board 
  • How to Reorder cards in same column or other and which reflects in Backlog Page or Vice Versa About Swim-lanes and how to use Swim-lanes to categories the backlogs 
  • Search Item in Kanban Board 
  • Delete Card or Work Item 
  • Add task checklists i.e. how to Create child task for a backlog/card within Kanban Board view, view task list w.r.t Card and edit or mark as done for task.  

TFS Kanban Board Part 2

This part 2 is continuation of VSTS/TFS Kanban Board video series. In this video we will see advanced features of VSTS Kanban Board. Topics covered in this first part are as below:
  • Map the flow of how your team works
    • Add new Kanban columns
  • Work in Progress (WIP) limits
  • Show bugs on backlogs and boards
  • Definition of Done
  • Split columns (Doing and Done)
  • Add swim-lanes to expedite work
    • Add new swim-lanes 
    • Rename Kanban columns and swim-lanes inline
  • Query on Kanban columns

VSTS TeamProject Monitor

In this Blog we will discuss about a new VSTS extension "VSTS TeamProject Monitor (Project List)" developed by Canarys a Microsoft DevOps Consulting company. The extension allows you to view the total number of team projects created for an account, and option to delete one or more Team projects at one go.
Below are the feature of this VSTS extension:
  • Count of Active Team projects for logged in VSTS account
  • Lists all the active Team Projects
  • Display Process Templates used for creating the respective Team Project
  • Displays the Version Control type the Team Project uses
  • Total Work items count for the project
  • Option to delete one or multiple Team Projects by selecting the checkbox
  • Searching the team Projects by Title
  • And option to create a New Team Project from the same UI
To access the tool, browse to the VSTS Marketplace and search for the VSTS TeamProject Monitor or browse the below URL. You should see as shown below to get started.

https://marketplace.visualstudio.com/items?itemName=canarysautomationspvtltd.VSTS-TeamProject-Monitor


Click on Install and choose your VSTS Account to which this extension has to be installed. And click Continue.


Once the account and permissions are verified click on Confirm button.


Once the extension is installed, click on "proceed to the account" button.


In our VSTS account click on settings or Gear icon and you can see Project List as below. Click on it


This will display the list of projects with meta data information and also facility to select multiple Projects and delete at one go.


You would have created lot of projects, may be you are testing one of your extension, doing R&D, or you are trainer/consultant and create projects for demo purpose. This extension will help to clean your VSTS account with unwanted Projects with less effort and time. Just image if you had delete 100 Team Projects one by one how much frustrating it would be. "VSTS TeamProject Monitor (Project List)" is helpful in this scenario.

Thanks for your time reading this post.





Thursday, December 7, 2017

VSTS Copy Dashboard Tool

In this blog, I am going to talk about VSTS Copy Dashboard tool. This tool helps to replicate/copy the dashboards from one team to single or multiple teams in same VSTS account or another.
Assume we had setup nice Dashboards with widgets and charts using all custom work item queries, widgets on Build, Release Definitions, code, and sprint related charts etc. Setting up such kind of dashboards will take lot of time and effort and its little creative job 😊.
Now let’s say we have do it again for other Team Projects or Teams in same Project, huh it would be frustrating. VSTS Copy Dashboard comes to our rescue, this tool/app reads the dashboard(s) we have setup and replicates to multiple Teams & Projects in one go, isn’t it wonderful! Yes, Canarys a Microsoft DevOps Consulting company has developed this tool to help VSTS users to copy what they have done in one Project/Team to any other projects/teams provided it follows same process methodology and contains certain basic pre-requisites. And I remind you this feature has been asked multiple times in VSTS User Voice. So let us see how to use this.

To access the tool, browse to the VSTS Marketplace and search for the Copy Dashboard. You should see as shown below to get started.

Once you click on 'Get Started' button, you will get a login page as shown below:


Sign in with your VSTS Credentials i.e. Hotmail, outlook or your Organizational account.

Once you logged in with valid credentials, you will be redirected to account selection page where you can select VSTS Account and copy mode as shown below:


Currently the tool provides five modes of copying the dashboard as listed below:
  1. Multiple teams within same team project
At present, only 1st one is enabled for the users and for others you need to request to tool owner to get access to below modes of copying dashboard.
  1. Target multiple teams single team project within same VSTS account
  2. Target multiple teams single team project but different VSTS account
  3. Target multiple teams Different multiple team projects within same VSTS account
  4. Target multiple teams Different multiple team project but different VSTS account
Upon selecting any of the four other modes you get a pop-up, select check-boxes for all the copy options you want and click on "I'm interested" button as shown below:


Once you get confirmation mail for other copy options, log in again and select the account and copy modes. Or you can continue with first option “multiple teams within same team project” without waiting for registration confirmation mail.
After selecting Account and mode click on continue button. You will see Source Selection and Target Selection. Under Source select the team project and Team from which you want to copy/replicate dashboard to other teams. Then select the Teams you wish to have this customized dashboard configured to. Then click on "Copy dashboard" button below.


After the dashboards are copied to all the target Teams you get a success message, and a link to VSTS Account. Navigate to your Teams and Projects to see the copied Dashboard. You should see the new Dashboard with all your widgets, charts in your Teams and Projects.


Just imagine if we have to reconfigure the dashboard, queries, charts, widgets etc. to all the 10,20,30 or more Teams or Projects. We would have spent days on this. The tool does for us in few minutes and it takes hardly 5 minutes of our time to carry out the steps rest tool will handle. That’s beauty of Microsoft VSTS API’s. Thanks to the developers of Copy Dashboard for making life easy for VSTS users.

Thanks for your time reading this post.

Regards,
Nagaraj

SmartHotel360 Demo Apps and Architecture showcased in Microsoft Connect(); 2017

Hello All, If you are eagerly waiting to dirty your hands on the demo app showcased in Microsoft Connect() 2017 , Here you go.. Today M...