Dr Greg Low Senior Consultant – Readify Pty Ltd DAT302.

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.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Neil Kidd Developer & Platform Group Microsoft Ltd UKVSTS UKVSTS.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Co- location Mass Market Managed Hosting ISV Hosting.
2 DAT320 Testing and Refactoring Your Database with Visual Studio Team Edition for Database Professionals.
MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09: :15 (Roger Boesch, Microsoft Schweiz) Einbindung.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
René Balzano Technology Solution Professional Data Platform Microsoft Switzerland Database Development with SQL Server Data Tools (SSDT)
What are Access Web App What are “Apps for Office” Microsoft Access Access “Apps for Office” Value of “Apps for Office” Apps for Office How it all works.
Software Development using SCRUM for Visual Team System Sascha P. Corti Developer Evangelist Microsoft Switzerland GmbH
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
 Gert E.R. Drapers Group Engineering Manager Microsoft Corporation TL45.
DAT312 Managing and Deploying your SQL Server schemas with Visual Studio Team Edition for Database Professionals Richard Waymire PM Architect Microsoft.
SQL Server Developer Tools, Codename “Juneau” Database Services Sanjay Nagamangalam Principal Program Manager SQL Server Manageability.
 Pablo Castro Software Architect Microsoft Corporation TL08.
Introducing Microsoft® Visual Studio® 2005 Team Edition for Database Professionals Andy Cheung ISV Developer Evangelist Microsoft Hong Kong.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Created by the Community for the Community BizTalk & Build.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
NEXT: Overview – Sharing skills & code.
Managing the Database Lifecycle using Team Edition for Database Professionals Randy Pagels Developer Technology Specialist Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Tejasvi Kumar Developer Technology Specialist | Microsoft India

Under New Management Andrew Fryer Microsoft UK Andrew Fryer Microsoft UK.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Advanced SQL Azure Database Name Title Microsoft Corporation.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
DEV311 Delving into Visual Studio 2005 Team Edition for Software Testers Ed Glas Group Manager, Web and Load Testing Microsoft Corporation.
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
Step-by-Step Migration and Adoption Mark Michaelis Architect, Author, and Trainer Eric Lee Microsoft Product Manager Visual Studio 2005 Team Foundation.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Microsoft Corporation. Announcement Visual Studio® Team System 2008 Enables you to Build Quality Code Be More Productive Collaborate at the Next Level.

Introducing Application and Multi-Server Management.
Connect with life Tejasvi Kumar Developer Technology Specialist | Microsoft India
Dive into Application Lifecycle Management with Visual Studio 2010
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Возможности Excel 2010, о которых следует знать
Title of Presentation 12/2/2018 3:48 PM
Team Foundation Server for everyone
Visual Studio 2010 SharePoint Development Tools Overview
Introduction to VSTS Database Professional
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Andrew Fryer Microsoft UK
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Шитманов Дархан Қаражанұлы Тарих пәнінің
Office 365 Development July 2014.
Web Deployment with Visual Studio
Welcome to Architect Insight 2010
02 | Release Management Architecture
Presentation transcript:

Dr Greg Low Senior Consultant – Readify Pty Ltd DAT302

Senior Consultant Readify Host of SQL Down Under Podcast Microsoft MSDN Regional Director Microsoft MVP for SQL Server Co-organizer of CodeCampOz Organizer of SQL Down Under CodeCamp Author with Rational Press

Introduction to Visual Studio Team Edition for Database Professionals (aka DataDude) The Project System Unit Tests Building and Deploying What’s Coming Next?

Disconnected Project Model Visual Studio based Team Collaboration via TFS Work Item Tracking Process Integration

Comparison Tools Schema Data Source/Version Control Refactoring Limited as yet Rename Object Power Tools add more

VSTS Test Project Infrastructure Data Generation Auto-generation Histogram-based Understands foreign key relationships Extensible Data Generators Test Assertions

MSBuild Integration Create New DB Update an Existing Schema

Introduction to Visual Studio Team Edition for Database Professionals (aka DataDude) The Project System Unit Tests Building and Deploying What’s Coming Next?

DatabaseProjectDatabaseProject Import database schema Reverse engineer existing.SQL script files Create New Project SQLScript DatabaseProjectTemplate SQL Server Database Collection of.SQL file containing T- SQL DDL fragments

Parsing = SqlCodeDom based on Abstract Syntax Trees Interpretation of Schema Model Symbol list Object References (hard and soft dependencies).SQL Source Parse SqlCode Dom Interpret Schema Model

Database Project Database Project Edit Compare Test Build Data Generation Deploy Refactor Compare

Database Project Database Project Import database schema Reverse engineer existing.SQL script files Create New Project SQLScript DatabaseProjectTemplate SQL Server Database Deploy SQL Script SQL Server Database Build project Deploy project

Database project = “truth” with regards to schema versioning Can be placed under source control.SQL script file is the canonical format used Changes are tracked at object level Indexes, constraints, triggers tracked independently of base table Provides high granularity for change tracking

Introduction to Visual Studio Team Edition for Database Professionals (aka DataDude) The Project System Unit Tests Building and Deploying What’s Coming Next?

Where does test data come from? Production data? Scrubbed production data? Typed in manually? Auto-generated?

Have been hard to do with databases SQL 2k5 Database Snapshots helpful Leverage VSTS Unit Test Infrastructure Extensible test assertions

Introduction to Visual Studio Team Edition for Database Professionals (aka DataDude) The Project System Unit Tests Building and Deploying What’s Coming Next?

DBA DBDev Production Database Staging Database SCM Daily Build Test Get Latest Test Database Daily Build Output Can also be used in a “Continuous” build environment Trust Boundary

DBA Sync from Label DBDev Production Database Staging Database SCM SQL Deploy Script Build Deploy Refine deploy script Verify Trust Boundary DatabaseProjectDatabaseProject

Managed, project oriented evolution of database schema Application and database schema are managed together Work in “isolation”, deploying only when changes verified Leverage VSTS work item tracking and process guidance increases team collaboration and unity

Database Project Database Project Target Database SQLScript Deploy Build Difference based build script Project State “What you want” Current State “How it is right now” Execute Incremental Update Script

All steps are implemented as MSBuild tasks SqlBuildTask SqlDeployTask DataGeneratorTask More tasks coming in Power Tools All project properties can be overwritten at the command line

Using the project settings: msbuild NorthwindOnline.dbproj /t:build Overwriting project settings msbuild NorthwindOnline.dbproj /t:build /p:TargetConnectionString="Data Source=(local)\sql80;Integrated Security=True;Pooling=False;" /p:TargetDatabase="NorthwindOnlineTestDB"

Using the project settings: msbuild NorthwindOnline.dbproj /t:deploy Overwriting project settings: msbuild NorthwindOnline.dbproj /t:deploy /p:TargetConnectionString="Data Source=(local)\sql80;Integrated Security=True;Pooling=False;" /p:TargetDatabase="NorthWind"

How can I deploy to multiple targets? The Database Project only understand a single target server/database at the time for each server+database combination in list { SqlBuildTask SqlDeployTask }

Build Server infrastructure Fully integrates with Team Foundation Server Extensible Based on MSBuild Fully extensible XML-based scripting Rich Command-line support Remote and Desktop build support Have to install Team Build separately Not installed as part of Team Foundation Server

TF Client Team Build Client Team Build Store Build Server Source Control Build Configuration files - MSBuild Scripts MSBuild Scripts and targets Build sources and scripts Build Events Build events Build request and Reports Team Build Service Team Build logger Build and Test data Build start/stop Work item Tracking Open and Update bugs Build Drop site TFS Data Tier TF Warehouse Static Analysis & Testing TFS

Introduction to Visual Studio Team Edition for Database Professionals (aka DataDude) The Project System Unit Tests Building and Deploying What’s Coming Next?

Now downloadable

New Refactorings Move schema Disambiguate (fully aliases references) Wild-card expansion (*) Generated schema deployment scripts based on refactoring logs (separates sp_name and TRANSFER SCHEMA) Strongly-typed dataset refactoring (if in same solution file)

New MSBuild Tasks Schema compare Data Compare Data Generator Regular expression string and data bound generators Regex editor has generator for check constraints Stream-based data-bound generator (pulls one row at a time)

Dependency Tree Viewer T-SQL Static Code Analysis (ala FxCop) API Access to Schema View Leveraged by CA Erwin R7.2 SQL Script Pre-Processor Expands variables and include files

Excellent addition to VSTS Allows database schemas and versioning to be managed along with application code Extensible

MSDN Forum: Visual Studio Team System - Database Professionals ID=1 White papers What Microsoft Visual Studio 2005 Team Edition for Database Professionals Can Do for You A Security Overview of Microsoft Visual Studio 2005 Team Edition for Database Professionals Database Unit Testing with Team Edition for Database Professionals Samples Trial Edition 893d-4142-a b69d482ad&displaylang=en Gert’s Blog

Biggest SQL Server community event in Australia 14 SQL Server sessions over two days Special guest presentation from Kevin Kline President of PASS, Director of Technology – Quest Software When? Weekend of the 13 th and 14 th of October Where? Charles Sturt University, Wagga Wagga What does it cost? This event is FREE

Best place to learn about SQL Server for FREE User Groups in most capital cities Great networking opportunity

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.