An Intro to ALM Using TFS and Visual Studio for Source Control, Build Automation, Continuous Integration, Deployments, and Task Management.

Slides:



Advertisements
Similar presentations
Black marble the strategic IT asset for your organisation DEVELOPMENT LIFE CYCLE USING VISUAL STUDIO TEAM EDITION FOR DB PROFESSIONALS Richard Fennell.
Advertisements

Development Life Cycle using Visual Studio Team Edition for DB Professionals Richard Fennell Engineering Director SQLBits II Birmingham 1 st March 2008.
Black marble the strategic IT asset for your organisation MAKING THE SQL DEVELOPER ONE OF THE FAMILY WITH VISUAL STUDIO TEAM SYSTEM Richard Fennell Engineering.
Team Foundation Server 2010 Builds: Understand, Configure, and Customize Benjamin Day benday.com |
EXTENDING TESTING INTO THE LAB Richard Fennell Engineering Director, Black Marble
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
BizTalk Deployment using Visual Studio Release Management
Development and Production Environment Setup with Kentico CMS Karol Jarkovsky Consultant Kentico Software
Application Lifecycle Management in SharePoint 2010 Jeremy Thake.
Improving Software Quality with Continuous Integration
DNN LOVES JENKINS FOR CONTINUOUS INTEGRATION
Modern app development Continuous value delivery and rapid response to change.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
WEB329 ASP.NET: A Lap Around the New Enhancements for Web Developers in Microsoft Visual Studio 2005 Omar Khan Lead Program Manager Web Platform and Tools.
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.
@benday #vslive Automated Build, Test & Deploy with TFS, ASP.NET, and SQL Server Benjamin
Creating a Maintainable Software Ecosystem Jeremy D. Miller November 27th, 2007.
Intro to Entity Framework By Shahed Chowdhuri Don’t drown in database design during WakeUpAndCode.com.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
OLAP Cubes and Pivot Tables Leveraging the Power of a Microsoft EPM Solution EPM Customization Series Part 1 February 21 st, 2007 Brendan Giles, PMP, MCP.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day.
Managing the Database Lifecycle using Team Edition for Database Professionals Randy Pagels Developer Technology Specialist Microsoft Corporation.
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
Database Change Management One solution to an often complex problem Kevin Hurwitz Headspring Systems
Access 2013 Platform Overview Access Low up-front investment Easy to evolve and iterate Easy adoption One version of the truth Easy to collaborate.
Virtualisation of the Test Environment
Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework.
Top Ten Tips for Team Foundation Server Martin Woodward Teamprise.
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.
Isolated Database Environments Kevin Howell February 2014.
App always works on this person’s box Is fast, smart & loves to code… Gets a cool idea on Team Building App... May invite people to see the cool app.
Adxstudio Portals Training
Real World SQL Server Data Tools Benjamin
Configuring and Deploying Web Applications Lesson 7.
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Continuous Deployments using SSDT
Release Management for Visual Studio 2013 Ana Roje Ivančić Ognjen Bajić Ekobit.
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P SQL Saturday - Phoenix 2016.
DevOps with ASP.NET Core and Entity Framework Core
Build Fundamentals and Continuous Integration
Stress Free Deployments with Octopus Deploy
Agile Analytics: Automated Builds and Deployments
Continuous Deployments using SSDT
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Introduction to Team Foundation Server 2010
An Intro to ALM Using TFS and Visual Studio for Source Control, Build Automation, Continuous Integration and Deployments.
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
X in [Integration, Delivery, Deployment]
Visual Studio 2005 “Personalized productivity”
Continuous Deployments using SSDT
Team Foundation Server for everyone
Continuous Deployments using SSDT
APPLICATION LIFECYCLE MANAGEMENT(ALM) QUALITY CENTER(QC)
Continuous Deployments using SSDT
DAT381 Team Development with SQL Server 2005
Your code is not just…your code
Presented by : Chirag Dani & Dhaval Shah
SSDT and Database Project Basics
APPLICATION LIFECYCLE MANAGEMENT(ALM) QUALITY CENTER(QC)
From Development to Production: Optimizing for Continuous Delivery
From Development to Production: Optimizing for Continuous Delivery
HCL’s Viewpoint – DevOps on MS Cloud
Office 365 Development July 2014.
Introduction to ASP.NET Parts 1 & 2
Web Deployment with Visual Studio
Your code is not just…your code
Presentation transcript:

An Intro to ALM Using TFS and Visual Studio for Source Control, Build Automation, Continuous Integration, Deployments, and Task Management

What is ALM? Application Lifecycle Management Another great Buzz Acronym for resumes Process and tools for design, development, testing, deployment and management of software projects. Creating software is more than just writing code Many of the concepts and implementations in this demo are easy and straightforward. Putting it all together in a complex environment is not.

Our Setup TFS On Premise. Running on my laptop. We’ll use TFS for: Task Tracking Source Control CI – Continuous Integration Automated Deployments Not included: Automated Testing QA Integration Dev Ops More

Why is this important Task Tracking Source Control Continuous Integration Automation

Don’t Wait This may be the most important slide in this section. Don’t allow ALM to be an after thought… you’ll never have time later.

Set Up TFS Customize TFS to meet your needs Iterations Areas Teams Create your own Work Item Types (Enhancement, Deliverable) Edit WIT add fields, defaults, lists, rules, etc. Tasks – Organize by feature, not by file

The Plan Create a new project Set up a CI Build Then add a database and add that to the CI Build Setup a “Deploy” Build Creates a Deployment Package Deploys to QA Every build is a release candidate. No touch. Setup a process to deploy same package to Production (or UAT, etc)

Create a new Web Project Here we go…

CI Build This build will “check our work”, compile, deploy to Integration Server Set Source Control Folder Build Defaults Copy to: \\asuslt\BuildOutput Agent Settings Create Work Item on Failure: False Don’t forget an original name for the builds - ANDY

Set up IIS (This is done already) Install Web Deploy Create Site EndToEndIntegration (port 71) Create Site EndToEndQA (port 72) Create Site EndToEndProd (port 73)

Integration Publish Profile Server: localhost SiteName: EndToEndIntegration DestinationUrl: localhost:71 Update Build with: /p:DeployOnBuild=true;PublishProfile=Integration

Set Up Publish Profiles and Transforms SysTest.pubxml QA.pubxml <appSettings> <add xdt:Transform="Replace" value="Integration" key="Environment" xdt:Locator="Match(key)"/> </appSettings> Web.Integration.config Web.QA.config

DacPac Create Project (Databases already exist on server, for ease of demo) Create Dev Publish Profile Dev.publish.xml Publish Manually Create Integration Profile Integration.publish.xml /p:DeployOnBuild=true;PublishProfile=Integration;CreatePackageOnPublish=t rue /t:build /t:publish /p:SqlPublishProfilePath=Integration.publish.xml

Connection String Add Connection string for Dev: <add name="EndToEnd" connectionString="Server=AsusLT;Database=EndToEndDev;User ID=ElmahManager;Password=elmah;Integrated Security=false;Trusted_Connection=false;" providerName="System.Data.SqlClient" /> Update Web.config Transform for Integration <connectionStrings> <add name="EndToEnd" connectionString="Server=AsusLT;Database=EndToEndIntegration;User ID=ElmahManager;Password=elmah;Integrated Security=false;Trusted_Connection=false;" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> </connectionStrings>

Deploy Build Trigger: Manual /p:DeployOnBuild=true;PublishProfile=QA;CreatePackageOnPublish=t rue /t:build /t:publish /p:SqlPublishProfilePath=QA.publish.xml

Getting to UAT and Prod I don’t have access to UAT and Prod Servers. Only Network Admins have access. parameters.xml setparameters.xml .bat file deployment Dacpac: can be scripted or run in SQL Management Studio

parameters.Xml <parameters> <parameter name= "Environment" description="Please provide an environment name" defaultValue="params default" tags=""> <parameterEntry kind="XmlFile" scope="web\.config$" match="/configuration/appSettings/add[@key='Environment']/@value " /> </parameter> </parameters>

Set Up Builds CI /p:DeployOnBuild=true;PublishProfile=Integration;CreatePackageOnPublish=true /t:build /t:publish /p:SqlPublishProfilePath=Integration.publish.xml Deploy /p:DeployOnBuild=true;PublishProfile=QA;CreatePackageOnPublish=true /t:build /t:publish /p:SqlPublishProfilePath=QA.publish.xml