Real World SQL Server Data Tools Benjamin

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.
Software Testing with Visual Studio 2013 & Team Foundation Server 2013 Benjamin Day.
Real World Scrum with TFS2013 Benjamin Day. Brookline, MA Consultant, Coach, & Trainer Microsoft MVP for Visual Studio ALM Team Foundation Server, Software.
How to be a C# ninja in 10 easy steps. Benjamin Day.
Real World Scrum with Team Foundation Server 2013 Benjamin
Team Foundation Server 2010 Builds: Understand, Configure, and Customize Benjamin Day benday.com |
(code name: Data Dude) Josh Robinson Aculix.
Developer Tools Deployment Planning Services Expand Your Business With DTDPS.
By John Boal  Continuous Integration [CI] ◦ Automating the build process ◦ Build the entire system each time any new.
Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces Benjamin Day.
10 Ways to Get Your Project Started Right Benjamin Day.
Coaching Skills for Scrum Masters & The Self-Organizing Team
@benday #vslive Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
@benday #vslive Automated Build, Test & Deploy with TFS, ASP.NET, and SQL Server Benjamin
Modern app development Continuous value delivery and rapid response to change.
Top 10 Ways to Go from Good to Great Scrum Master Benjamin Day.
Team Foundation Server 2012 Builds: Understand, Configure, and Customize Benjamin Day.
How to be a C# ninja in 10 easy steps Benjamin Day.
ICINETIC Experts in.NET technologies and architectures.
Zero to Hero: Untested to Tested with Visual Studio Fakes Benjamin
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.
Microsoft Ignite /25/ :39 PM SSDT for Visual Studio Bet you can’t tell what your database looked like 6 months ago Hannah Gray, Development.
Coaching Skills for Scrum Masters & The Self- Organizing Team.
Database Projects in Visual Studio Improving Reliability & Productivity.
To Git or Not to Git for Enterprise Development Benjamin Edward Thomson
Visual Studio 2012: A Complete IDE (Debugging & Source Control) Kevin Howell.
Headspring Certified Training.Net Boot Camp: From Journeyman to Master Series Presented by Jeffrey Palermo CTO, Headspring Systems Microsoft MVP, MCSD.Net.
Developer Operations with Visual Studio ALM 2013 Matteo Emili –
Continuous Deployments using SSDT
Developing SQL/Server database in Visual Studio Introducing SQL /Server Data Tools Peter Lu.Net Practices Director Principle Architect Nexient March 19.
Benjamin Day Get Good at DevOps: Feature Flag Deployments with ASP.NET, WebAPI, & JavaScript.
Benjamin Unit Testing & Test-Driven Development for Mere Mortals.
Avoiding the Pitfalls of Database Change Automation Cindy Bean Sr. Software Consultant DBmaestro SQLSaturday #514 – Houston, May 14, 2016.
Benjamin Day Role-based Security Stinks: Better Authorization in ASP.NET.
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
DevOps in the cloud Peter’s personal journey on how I found out, I need Dev skills to optimize my ‘Azure’ work… and so do you!!
Benjamin Day Real World Scrum with TFS 2015 & VSTS.
DevOps with ASP.NET Core and Entity Framework Core
Visual Studio 2010 Database Projects
Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
Agile Analytics: Automated Builds and Deployments
SQL Server deployments
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Continuous Deployments using SSDT
Entity Framework Core for Enterprise Applications
An Intro to ALM Using TFS and Visual Studio for Source Control, Build Automation, Continuous Integration and Deployments.
Unit Testing & Test-Driven Development for Mere Mortals
Unit Testing & Test-Driven Development for Mere Mortals
Continuous Integration For Databases
Get Good at DevOps: Feature Flag Deployments with ASP
Populating a Data Warehouse
Continuous Deployments using SSDT
Continuous Deployments using SSDT
Continuous Deployments using SSDT
DAT381 Team Development with SQL Server 2005
Zero to Hero: Untested to Tested with Visual Studio Fakes
Unit Testing & Test-Driven Development for Mere Mortals
Real World Scrum with TFS & VSTS / Azure DevOps
Your code is not just…your code
SSDT and Database Project Basics
What about the Data Dude?
Introduction to VSTS Database Professional
Entity Framework Core for Enterprise Applications
Implementing Security in ASP.NET Core: Claims, Patterns, and Policies
HCL’s Viewpoint – DevOps on MS Cloud
Keeping your SQL Code safe
Your code is not just…your code
Samir Behara, Senior Developer, EBSCO
Presentation transcript:

Real World SQL Server Data Tools Benjamin

Benjamin Day Brookline, MA Consultant, Coach, & Trainer Microsoft MVP for Visual Studio ALM Scrum, Team Foundation Server, Software Testing, Software Architecture Scrum.org Classes Professional Scrum Master (PSM) Professional Scrum Developer (PSD) Professional Scrum Foundations (PSF)

Got ?

Fresh! Just released in August! Got ?

SQL Server Data Tools = SSDT

SSDT = Version Control for SQL Server Schemas

Demo: Import & Build a Database; What’s under the hood?; Put it under version control;

Why is this interesting? DevOps Stability Reliability Repeatability Release-ability Sanity Starts breaking the tyranny of the shared dev database

Shared Development Databases are Pure Evil Fuzzy version control Encourages terrible and/or wobbly testing practices Devs are on top of each other Permissions problems HIPAA? Customer data? Privacy?

Application Code is Half the Battle C#, VB.NET, ASP.NET, XAML, JavaScript, etc. You’d never develop these without source control Almost every application writes into a database In most companies, the database isn’t under source control

The Application Breaks with the Wrong Version of the Database Wrong tables Wrong columns Wrong data types Wrong stored procedures Wrong stored procedure parameters Wrong views Wrong functions Wrong permissions Wrong lookup data Etc etc etc

You can’t release the application without the database.

You can’t say that you’ve tested the application without the database.

A good testing strategy requires knowing what you’re actually testing.

So how do you know what you’re testing?

Part 1: Version Control Version your app code and database code together Part 2: Automated Build Integrates your code Packages your code Provides a build number for your code Part 2 requires Part 1

You need SSDT to get your database under source control. Track it. Build it. Release it.

DevOps?

DevOps How are you developing, delivering, deploying, & monitoring? (How much time are you wasting?) “What is the process of getting a developer’s changeset from check-in to production? How long does that take?” If you want to go fast, start automating Automation removes tedious stuff Automation provides reliability Automation helps you do more and go faster

Got a database? Then SSDT is essential to your DevOps “story”.

SSDT & TFS Build TFS Build compiles your code App code Database code TFS Build runs tests & verifies TFS Build can deploy your stuff SSDT gives you a way to do incremental deploys

SqlPackage.exe SSDT command line tool C:\Program Files (x86)\Microsoft Visual Studio 14.0\ Common7\IDE\Extensions\Microsoft\SQLDB\DAC\120 Actions: Extract, DeployReport, DriftReport, Publish, Script, Export, Import, Pipe Publish = deploy your database

sqlpackage /action:Publish /sourceFile:"$dacpacPath" /targetconnectionstring:"$connectionString"

Demo: Deploy to production; Insert some data; Make a change in the db schema; Do an incremental deploy;

Demo: Create a TFS build; Deploy the database as part of the build;

What about schema comparisons?

What about lookup data?

What about database references?

What about build variables?

What about cleaning up nasty old databases?

Demo

Any last questions?

Thanks. |