stephen kaufman delivery architect microsoft consulting services soa312

75

Upload: ethel-wade

Post on 02-Jan-2016

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312
Page 2: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Microsoft BizTalk: Application Lifecycle Management and Productivity Enhancements

Stephen KaufmanDelivery ArchitectMicrosoft Consulting ServicesSOA312

Page 3: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

How Life Used to Be

How did we do things with 2006 and R2Remember how we used to:

Test the mapperSubmit a test, modify and test againValidate, save xsl, add to solution, debug

Challenges

Page 4: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Agenda

ALM Experience (phases and then capabilities)Plan

Requirements ManagementProject Management

DevelopVisual Studio Environment for BizTalkImprovements in the BTS Project SystemTFS IntegrationTeam Test FunctionalityEnhanced Debugging SupportMSBuild

Operate/Monitor

Page 5: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Session Objectives and Takeaways

Describe the new developer and team productivity featuresDescribe the ALM experienceDemonstrate real world examples for debugging, MSBuild integration and unit testing.Questions as they occur…

Page 6: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

New Mobile RFID PlatformNew RFID device management and industry standards supportEnhanced Support for EDI and AS2 Protocols and Drummond certificationUpdated SWIFT Support and SWIFTReady Financial EAI Gold certification

New Application Lifecycle Management (ALM) support

Support for TFS - integrated source control, bug tracking, MSBuild automation

Enhanced Developer ProductivityVisual Studio project system updates

Support for .NET Framework 3.5 SP1 and Visual Studio 2008 SP1

Take advantages of the latest developer tools

Support for Windows Server 2008and SQL Server 2008

Hyper-V supportIncreased performance & scale

New UDDI v3 Web Services RegistryNew and enhanced LOB adapters (Oracle EBS, SQL)Enhanced host systems integration (MQ, CICS, IMS)Enhanced BAM supportESB Guidance 2.0 delivers updated prescriptive guidance

BizTalk Server 2009 ThemesUpdated Platform Support SOA and Web Services

Business to Business Integration Developer & Team Productivity

Page 7: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience

Page 8: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience

What is ALM?Benefits

Increases Business Value by enabling cross functional collaboration (Dev, Test, Project management)

FeaturesIntegrated Source ControlBug TrackingTask ManagementUnit Testing integrationBuild and Deployment

Page 9: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Supported Collaboration Focuses on Team Results and Delivering Value

BusinessAnalyst

DB Pro

ArchitectProjectManager

Tester

Designer

Developer

“We’re done”

“We’re done”

“We’re done”

“We’re done”

“We’re done”

Page 10: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experiencedemo

Page 11: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

1. Team Explorer

Page 12: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

2. Team Queries

Page 13: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

3. WorkItems Add Work Item

Page 14: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

4. Add New Task

Page 15: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

5. WorkItem View

Page 16: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

6. TFS Web Access

Page 17: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

7. View Task in TFS Web Access

Page 18: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

8. Update Task in TFS Web

Page 19: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

9. Review Task in Team Explorer

Page 20: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

10. Opening Project SharePoint Portal

Page 21: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

11. Project SharePoint Portal

Page 22: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

12. Portal - All Site Content

Page 23: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

13. TFS – Another Project View

Page 24: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

14. TFS Report Sample – Bug Rates

Page 25: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience

Plan

Page 26: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience - Plan

Requirements ManagementStandard TFS integration functionality

Work Item ManagementSharePoint portal for project, TFS Web Access

Partner integrationsProject Management

Project Server IntegrationCapture Project Schedule and Tasks from Project Server as Work Items in TFSProject Server – TFS Connector (CodePlex)

Page 27: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience

Develop

Page 28: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Visual Studio Enhancements

Compiler ChangesDesigner ChangesUpgrade WizardMSBuild and DeploymentProject System

Page 29: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Project System

BTS Project - Flavored version of baseline C# Project from Visual Studio 2008Core Features from Baseline project

Project and Item TemplatesIntegrated designer and debugging experienceCommand, Context, and toolbar optionsBuild and Validate Error NavigationSource Control and TFS IntegrationProject Assembly properties

Flavoring adds custom features to the baseline project

Page 30: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Project System Enhancements

Property Window IntegrationProject Properties displayed in VS Project DesignerSchema and Map Properties are displayed in a separate window

Add Web Reference available through Add Service Reference dialogRelease and Debug Build Types

Replace Development and Deployment build types from earlier versions

Page 31: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Project System Enhancements

Embedding Tracking and debugging information“Embed Tracking Information” and “Generate Debugging Information” output configuration properties

replaced by Define TRACE constant and Define DEBUG constant build options

BPEL Compliance configuration property replaced by BPEL Compliance project property

Page 32: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Project System Enhancements

Unit testing SupportMigration from previous versions

Use Conversion Wizard

Page 33: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Project Files

Represents the BizTalk Project Factory Represents the C#

Project System

Page 34: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Project Files

BizTalk MSBuild tasks are implemented in the Microsoft.VisualStudio.BizTalkProject.BuildTasks assembly, which you'll find in the 'Microsoft BizTalk Server 2009\Developer Tools' folder.

Page 35: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Project Properties

<File Path="E:\Projects\BizTalk\PipelineTesting\SampleSchemas\Map1.btm">   <ValidateTestMapInput>True</ValidateTestMapInput>   <ValidateTestMapOutput>True</ValidateTestMapOutput>   <TestMapInputInstanceFilename></TestMapInputInstanceFilename>   <TestMapOutputInstanceFilename></TestMapOutputInstanceFilename>   <TestMapSourceType>0</TestMapSourceType>   <TestMapTargetType>0</TestMapTargetType>   <EditorOutputInstanceFilename></EditorOutputInstanceFilename>   <EditorInputInstanceFilename></EditorInputInstanceFilename>   <GenerateInstanceOutputType>0</GenerateInstanceOutputType>   <ValidateInstanceInputType>0</ValidateInstanceInputType>   <PropertySchemaFileName>PropertySchema.xsd</PropertySchemaFileName>   <AutoRefreshSchema>0</AutoRefreshSchema></File><File Path="E:\Projects\BizTalk\PipelineTesting\SampleSchemas\Sample.xsd">   <ValidateTestMapInput>True</ValidateTestMapInput>   <ValidateTestMapOutput>True</ValidateTestMapOutput>   <TestMapInputInstanceFilename></TestMapInputInstanceFilename>   <TestMapOutputInstanceFilename></TestMapOutputInstanceFilename>   <TestMapSourceType>0</TestMapSourceType>   <TestMapTargetType>0</TestMapTargetType>   <EditorOutputInstanceFilename></EditorOutputInstanceFilename>   <EditorInputInstanceFilename></EditorInputInstanceFilename>   <GenerateInstanceOutputType>0</GenerateInstanceOutputType>   <ValidateInstanceInputType>0</ValidateInstanceInputType>   <PropertySchemaFileName>PropertySchema.xsd</PropertySchemaFileName>   <AutoRefreshSchema>0</AutoRefreshSchema></File>

These items specific properties are visible when you select a file in Solution Explorer and open the Properties window

Page 36: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Visual Studio Environmentdemo

Page 37: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Team Test Functionality

Create unit tests for Maps, Schemas, PipelinesEnable Unit testing by setting property on Deployment tab for a BizTalk project

Page 38: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizTalk Unit Testing Fundamentals

Framework provides base classes for testabilityAdd reference to assembly Microsoft.BizTalk.TestTools to your projectArtifacts are automatically derived from

TestableSchemaBaseTestableMapBaseTestablePipelineBase

Page 39: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Team Test Scenario Enablement

Use attributes as in a normal Test ProjectWorkItem attributeApply custom attributes for enhanced logging, diagnostics

Test results can be published to TFS Data Warehouse and Work Item Store

Page 40: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Debugging Support

Debug Map Feature – XSLTInline XSLT Debugger

Debugging Orchestrations and PipelinesBizTalk Trace Functionality – private variables are now visible in the traceWe can now capture trace for off-line debugging – you can tell between engine code and custom codeWe can now enable tracing at every level

Page 41: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Debugging Support

Health and Activity Tracking tool (HAT)HAT is removedFeatures integrated within MMC

New queries, tracked message, tracked services

Page 42: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Team Test Functionality and Debugging Support

demo

Page 43: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Automation

Automate your BizTalk builds… including scheduled or on demandRefined control over your process

Moving assembliesBuilding ApplicationsGenerating .msi files

OptionsMSBuildPowerShellScripts (.vbs, .bat) and other options (Nant)

Page 44: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

MSBuild and DeploymentCustom tasks defined in BizTalkC.Targets and BizTalkCommon.TargetsEvery BizTalk project imports

Microsoft.Csharp.Targets and BizTalkC.TargetsSupport for incremental builds2 Pass Build process

Built in two passes, first pass builds: schemas, maps, pipelines; second pass builds orchestrations

VSDEPLOY output shown in Deploy windowDeployment properties stored in btproj.user fileNo custom task for Deployment

Standalone MSBuild Feature during Setup

Page 45: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

MSBuild and Deployment

BTProj files follow MSBuild formatSpecific tasks to compile individual artifacts

XLangTaskSchemaCompilerMapperCompilerPipelineCompilerTask

Tasks contained in assembly Microsoft.VisualStudio.BizTalkProject.BuildTasks.dllVSDEPLOY output shown in Deploy window

Deployment properties are stored in btproj.user file

Page 46: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

New MSBuild Tasks

Pipelines:

<ItemGroup>   <Pipeline Include="CSV_FF_RecvPipeline.btp">      <Namespace>Samples</Namespace>      <TypeName>CSV_FF_RecvPipeline</TypeName>   </Pipeline></ItemGroup>

Schemas:

<ItemGroup>   <Schema Include="Schema1.xsd">      <Namespace>Sampls</Namespace>      <TypeName>Schema1</TypeName>   </Schema></ItemGroup>

Maps:

<ItemGroup>   <Map Include="Map1.btm">      <TypeName>Map1</TypeName>      <Namespace>Samples</Namespace>      <SubType>Task</SubType>   </Map>

</ItemGroup>

Orchestrations:

<ItemGroup>   <XLang Include="BizTalk Orchestration.odx">      <TypeName>BizTalk_Orchestration</TypeName>      <Namespace>Samples</Namespace>      <SubType>Task</SubType>   </XLang>

</ItemGroup>

Page 47: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

MSBuildDoes what we have seen so far cover everything required?

SDC Taskshttp://www.codeplex.com/sdctasks

MS Build Extensionshttp://www.codeplex.com/MSBuildExtensionPack

MSBuildTaskshttp://msbuildtasks.tigris.org/

MSBuild Rules Taskshttp://www.codeplex.com/BtsRulesEngine

Visualizershttp://www.codeplex.com/msbuildstudiohttp://www.codeplex.com/BizTalkMsBuildTool

Page 48: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Team Build Integration

Page 49: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Team Build – Build Definition

Page 50: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition - Workspace

Page 51: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition - Project File

Page 52: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition – Project File Creation

Page 53: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition – Project File Creation Wizard

Page 54: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Wizard - Build Options

Page 55: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition – Project File

Page 56: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition – Retention Policy

Page 57: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Definition – Agent - Location

Page 58: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build Agent Properties

Page 59: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Build - Triggers

Page 60: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

MSBuild and Deploymentdemo

Page 61: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

BizUnit

Usable with MSTest and NunitFlexible and extensible declarative test framework for distributed systemsGeneric reusable test stepsTest cases defined in XML

Auto generation of test cases possibleTarget multiple test environments

Page 62: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

ALM Experience

Operate/Monitor

Page 63: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Operate/Monitor

BAMSupport for SQL Server 2008 and Excel

BAM WhitepaperILL SessionsHands On Labs

System Center Operations ManagerBizTalk Management PackReporting under the Group Hub in the Admin ConsoleAdministrators can log Items back into TFS to provide full circle lifecycle

Page 64: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Announcing the BizTalk ESB Toolkit

Name change From “ESB Guidance” to “BizTalk ESB Toolkit”

General Availability Mid June 09

Packaging & Distribution

Signed binaries and samples code (MSDN -> Download Center)Documentation (MSDN)Private Fixes (Microsoft Connect site)

License free for BizTalk Customers

Support & Bug Reporting

Managed MSDN forums with Microsoft Customer Support Services* in the loop to fix issues as required

Online Community Managed MSDN forums

* Ramping up through the summer

Page 65: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Summary

BizTalk Server 2009 provides an integrated development platform within Visual StudioDeep integration is enabled by flavoring existing C# project system and additional customizationsNew ALM experience includes Source Control, TFS integration, Unit Testing, MSBuild and DeploymentMore Productive and Efficient BizTalk developer experience

Page 66: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Call To Action

Here is what you should do when you get back to the office

Page 67: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

question & answer

Page 68: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

www.microsoft.com/teched

Sessions On-Demand & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learningMicrosoft Certification and Training Resources

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Page 70: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

appendix

Page 71: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

TFS Integration

Source Code ControlCode Organization Strategies

Use a Consistent Folder Structure for Solutions and ProjectsKeep Source Control and File System Structures IdenticalDefine and Use a Common Root FolderCreate a Master Solution That Will Hold All ProjectsStore All BizTalk Projects Under the Master SolutionSeparate Pipeline Projects into Distinct ProjectsKeep Deployment and Test Scripts with Their ProjectsUse Unique Strong Name Keys When Appropriate

BizTalk File Types and merging

Page 72: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

TFS Integration

Version ControlWhen to check-in BizTalk Server ProjectsChecking in intermediate versionsAssembly version Vs File VersionImplications of changing version numbersMap Function Version NumberingVersioning non-BizTalk Server Project files

Page 73: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

VSTS & TFS IntegrationApplication lifecycle for BTS projects

Support for team developmentMS Project Server integrationConsistent automated buildIntegrated source controlBug tracking system

BusinessAnalyst Project

Manager

Dev Team

Test

Operations

ChangeRequests

Use Case

Non FunctionalRequirements

Bugs

Tasks

ProductionErrors

Page 74: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

Complete an evaluation on CommNet and enter to win!

Page 75: Stephen Kaufman Delivery Architect Microsoft Consulting Services SOA312

© 2009 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.