stephen kaufman delivery architect microsoft consulting services soa312
TRANSCRIPT
Microsoft BizTalk: Application Lifecycle Management and Productivity Enhancements
Stephen KaufmanDelivery ArchitectMicrosoft Consulting ServicesSOA312
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
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
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…
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
ALM Experience
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
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”
ALM Experiencedemo
1. Team Explorer
2. Team Queries
3. WorkItems Add Work Item
4. Add New Task
5. WorkItem View
6. TFS Web Access
7. View Task in TFS Web Access
8. Update Task in TFS Web
9. Review Task in Team Explorer
10. Opening Project SharePoint Portal
11. Project SharePoint Portal
12. Portal - All Site Content
13. TFS – Another Project View
14. TFS Report Sample – Bug Rates
ALM Experience
Plan
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)
ALM Experience
Develop
Visual Studio Enhancements
Compiler ChangesDesigner ChangesUpgrade WizardMSBuild and DeploymentProject System
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
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
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
BizTalk Project System Enhancements
Unit testing SupportMigration from previous versions
Use Conversion Wizard
Project Files
Represents the BizTalk Project Factory Represents the C#
Project System
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.
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
Visual Studio Environmentdemo
BizTalk Team Test Functionality
Create unit tests for Maps, Schemas, PipelinesEnable Unit testing by setting property on Deployment tab for a BizTalk project
BizTalk Unit Testing Fundamentals
Framework provides base classes for testabilityAdd reference to assembly Microsoft.BizTalk.TestTools to your projectArtifacts are automatically derived from
TestableSchemaBaseTestableMapBaseTestablePipelineBase
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
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
Debugging Support
Health and Activity Tracking tool (HAT)HAT is removedFeatures integrated within MMC
New queries, tracked message, tracked services
Team Test Functionality and Debugging Support
demo
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)
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
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
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>
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
Team Build Integration
Team Build – Build Definition
Build Definition - Workspace
Build Definition - Project File
Build Definition – Project File Creation
Build Definition – Project File Creation Wizard
Wizard - Build Options
Build Definition – Project File
Build Definition – Retention Policy
Build Definition – Agent - Location
Build Agent Properties
Build - Triggers
MSBuild and Deploymentdemo
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
ALM Experience
Operate/Monitor
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
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
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
Call To Action
Here is what you should do when you get back to the office
question & answer
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
Track ResourcesSOA
www.microsoft.com/soa
msdn.microsoft.com/biztalkwww.microsoft.com/biztalk
“Dublin”www.microsoft.com/net/dublin
“Oslo”msdn.microsoft.com/oslowww.microsoft.com/net/oslo.aspx
msdn.microsoft.com/wcfmsdn.microsoft.com/wfwww.microsoft.com/net
msdn.microsoft.com/azure/netserviceswww.microsoft.com/azure/netservicestwitter.com/dotnetservices
appendix
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
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
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
Complete an evaluation on CommNet and enter to win!
© 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.