1-877-WEBUCATE
(1-877-932-8228)
info@webucator.com
 
Microsoft Training
Java Training
XML Training
Database & SQL Training
PHP, Perl, ASP, Groovy, Grails, Ruby on Rails Training
HTML, JavaScript, Ajax & CSS Training
Adobe Training
◊ PRIVATE TEAM SYSTEM TRAINING

Need a private class for your team delivered at your site or a location near you?
For private groups of three or more, Webucator offers completely customizable and cost-effective Team System classes delivered at your offices or a location near you.

To have someone contact you about these classes, please fill out the form below.

* (Required)
* (Required)
* (Required)
* (Required)
* (Required)
(The number of people requiring training)
(For Federal Government Pricing)
* (Required)

Agile Database Techniques using Visual Studio Team System 2008 (3 days)


This Team System class is delivered for private groups onsite at your offices or a location of your choice. It can also be delivered via the Internet for geographically distributed staff.

Agile Database Techniques using Visual Studio Team System 2008 Course Overview

This Visual Studio Team System training class provides students with the knowledge and skills to properly manage the SQL Server database development lifecycle in an agile environment. The student will learn how to manage changes to the database structure, ensuring quality through T-SQL unit testing, and how to automate the building and deploying of SQL Server databases. Intended for developers and administrators already comfortable with the concepts of designing, programming, testing, and deploying SQL Server databases, this course focuses on using Visual Studio Team System 2008 Database Edition to maximize productivity while minimizing mistakes.

This VSTS course is intended for SQL Server database developers and administrators. Application developers who are involved with writing and testing T-SQL code and working with test data, will also gain value from this course.

Agile Database Techniques using Visual Studio Team System 2008 Course Goals

  • Understand the capabilities of the VSTS Database Edition
  • Understand the areas of integration with Team Foundation Server
  • Understand how VSTS supports an agile database development life cycle
  • Work offline so changes don't impact actual servers
  • Create and configure database projects
  • Import existing schemas and scripts
  • Place database projects under Team Foundation Version Control
  • Compare schemas from two SQL Server instances for differences
  • Compare data from two SQL Server instances for differences
  • Generate scripts to reconcile differences in schemas and data
  • Understand and create effective T-SQL unit tests
  • Understand and use database refactoring correctly
  • Automatically generate test data in various scenarios
  • Integrate test data generation with T-SQL unit testing
  • Automate the building and deploying of database changes
  • Use MSBuild and Team Build to manage build and deployment
  • Extend VSTS by building your own test data generators
  • Extend VSTS by building your own unit test assertions

Agile Database Techniques using Visual Studio Team System 2008 Course Prerequisites

Experience in the following areas is required:

  • SQL Server development and administration

Experience in the following areas would be beneficial.

  • Team-based software development project work
  • Familiar with your organization's Software Development Life Cycle

Agile Database Techniques using Visual Studio Team System 2008 Course Outline

  1. Module 1: Agile Database Development
    • This module reminds us of the reality of developing and maintaining SQL Server databases in an agile environment. Topics include understanding agile database development and techniques, especially those found in the Visual Studio Team System Database Edition.
    1. Agile database development
    2. Agile database techniques
    3. Visual Studio 2008 Team System Database Edition
    4. Sample scenario
    5. Resources
    6. Lab: Meet the virtual team
    7. Lab: Review the environment
    8. Lab: Deploy the AdventureWorks database
  2. Module 2: Database Projects
    • This module introduces database projects and how they support an offline, disconnected mode of development and testing, which is important in an agile environment. Topics include a discussion of the integration with Visual Studio 2008 and support for importing schema and scripts into these database projects.
    1. Architecture of a database project
    2. Creating and managing database projects
    3. Visual Studio integration
    4. Importing database schema
    5. Importing SQL scripts
    6. Parsing and Warnings
    7. Lab: Explore Visual Studio integration
    8. Lab: Create a new database project
    9. Lab: Modify the database project
    10. Lab: Import a database schema
    11. Lab: Import a SQL script
    12. Lab: Explore the design-time validation database (optional)
  3. Module 3: Change Management
    • This module discusses how database projects integrate with Team Foundation Server's change management features. Topics include an introduction to Team Foundation Server, working with Team Projects, version control, work item integration, as well as the intrinsic schema and data change management tools in the Database Edition.
    1. Introduction to Team Foundation Server
    2. Working with team projects
    3. Methodologies and work items
    4. Using Team Foundation Version Control
    5. Placing database projects under version control
    6. Comparing two database schemas for differences
    7. Comparing data from two databases for differences
    8. Generating change scripts to merge differences
    9. Lab: Create a team project and work items
    10. Lab: Configure version control
    11. Lab: Place a database project under version control
    12. Lab: Explore Visual Studio 2008 version control integration
    13. Lab: Use version control features
    14. Lab: Compare schemas from two SQL Server instances for differences
    15. Lab: Compare data from two SQL Server tables for differences
    16. Lab: Generate scripts to reconcile differences in schemas and data
    17. Lab: Explore the MSSCCI provider from SQL Server Management Studio (optional)
  4. Module 4: Unit Testing
    • This module introduces the need for unit testing and related support within the Database Edition. Topics include test projects, writing good unit tests, and the integration of T-SQL unit tests with your existing .NET unit tests.
    1. Unit testing
    2. Creating database unit tests
    3. SQL assertions and test conditions
    4. Executing unit tests and managing test results
    5. Lab: Create and execute database unit tests
    6. Lab: Use pre-test and post-test actions
    7. Lab: Use an ordered list to run tests
    8. Lab: Export and import test results
    9. Lab: Create unit tests automatically from the Schema View window
  5. Module 5: Refactoring
    • This module introduces the concept of refactoring and its support in the Database Edition.
    1. Introduction to refactoring
    2. Refactoring support in Visual Studio 2008
    3. Code refactoring
    4. Database refactoring
    5. Rename refactoring
    6. Regression testing
    7. Resources
    8. Lab: Rename schema objects using various methods
    9. Lab: Use the rename refactor method
    10. Lab: Preview changes
    11. Lab: Undo refactoring using global undo
    12. Lab: Review the refactoring log
  6. Module 6: Data Generation
    • This module discusses the issues surrounding test data, from security risks to the loss of functionality when working with meaningless data. Topics include the data generation architecture and how data generation plans can be used to generate meaningful, deterministic data for any number of reasons.
    1. Issues with test data and potential solutions
    2. Data generation plans
    3. Data generators
    4. Regular expression generator
    5. Data bound generator
    6. Creating and running a data generation plan
    7. Integrating with unit testing
    8. Lab: Review the existing schema and database unit tests
    9. Lab: Create a data generation plan
    10. Lab: Use a regular express generator
    11. Lab: Use a data bound generator
    12. Lab: Configure generation for related table and set ratios
    13. Lab: Generate data automatically prior to running unit tests
  7. Module 7: Build and Deploy
    • This module wraps up the life cycle with the discussion of building and deploying any schema changes to a target SQL Server instance. Topics include the build and deployment architecture, Team Foundation Build and MSBuild integration, deployment options and scripts, and how to automate the entire process.
    1. The need for automated build and deployment
    2. Building
    3. Deploying
    4. Integration with MSBuild
    5. Integration with Team Build
    6. Lab: Build the database project
    7. Lab: Deploy database schema changes
    8. Lab: Use custom deployment scripts
    9. Lab: Use MSBuild directly
    10. Lab: Automate using Team Foundation Build
  8. Module 8: Extensibility
    • This module describes the various extensibility points found within the Visual Studio Team System 2008 Database Edition, including templates, data generators, unit test conditions, and check-in policies.
    1. Customization vs. extensibility
    2. Areas of extensibility
    3. Visual Studio templates
    4. Custom test conditions
    5. Custom data generators
    6. Custom check-in policies
    7. Lab: Edit database object templates
    8. Lab: Create a custom data generator
    9. Lab: Create a custom unit test assertion
    10. Lab: Create a custom check-in policy (optional)
    11. Lab: Debug a custom check-in policy (optional)

Agile Database Techniques using Visual Studio Team System 2008 Course Materials

In addition to a comprehensive set of materials, including course notes and all the programming examples, each student will also receive a one-year subscription to Webucator's online reference library, which contains hundreds of the most current electronic technology books - a $149.95 per student value.

Agile Database Techniques using Visual Studio Team System 2008 Course Technical Requirements and Setup Instructions

Click here for technical requirements and setup instructions

This VSTS course was designed by Richard Hundhausen of Accentient, Inc. Richard is a Visual Studio Team System MVP as well as an experienced developer and trainer.

home - onsite classes - instructor-led online courses - self-paced online courses - why webucator - partners - contact - sitemap
© 2009 Webucator. All rights reserved. info@webucator.com | Toll Free: 877-WEBUCATE (877-932-8228) | From Outside the USA: 315-849-2724 | Fax: 315-410-5320
Phoenix, AZ | Santa Clara, CA | Santa Clara, CA | Los Angeles, CA | Sacramento, CA | Washington, DC | Atlanta, GA | Chicago, IL | Indianapolis, IN | Muncie, IN
New Orleans, LA Boston, MA | Cambridge, MA | Charlestown, MA | Framingham, MA | Ipswich, MA | Lincoln, MA | Wellesley, MA | Worcester, MA | Bangor, ME | Detroit, MI
Raleigh, NC Winston-Salem, NC | Lincoln, NE | East Hanover, NJ | Eatontown, NJ | Madison, NJ | Parsippany, NJ | Trenton, NJ | Albany, NY | Buffalo, NY | Rochester, NY
New York City, NY | Syracuse, NY | West Babylon, NY | Dayton, OH | Bethlehem, PA | Philadelphia, PA | Pittsburgh, PA | Pittsburgh, PA | State College, PA
Middletown, RI | Rapid City, SD | Austin, TX | Dallas, TX | Houston, TX | Arlington, VA | McLean, VA | Seattle, WA | Toronto, Canada | Ottawa, Canada | Calgary, CA