Module 4: Deploying and Managing BizTalk Applications Overview Lesson 1: Deploying a BizTalk Application Lesson 2: Managing a BizTalk Application Lesson 1: Deploying a BizTalk Application How Deployment Works What Is a BizTalk Application? Application Deployment Steps How BizTalk Uses Strong Names Configuring BizTalk Deployment Properties BizTalk Application Deployment Tools Demo: Deploying the Adventure Works Application How Deployment Works Non-BizTalk Assemblies Global Assembly Cache Install BizTalk Server BizTalk Assemblies Maps Schemas Orchestrations Pipelines Register Configuration Database What Is a BizTalk Application? BizTalk Application BizTalk Artifacts Schemas Maps Pipelines Orchestrations Messaging Components Receive ports Receive locations Send ports Adapters BizTalk Administration Console Application Deployment Steps 1 Configure each assembly with strong name 2 Set application deployment properties 3 Build the application 4 Deploy the application 5 Create physical send ports and receive locations 6 Enable ports and enlist the orchestration How BizTalk Uses Strong Names Strong Name Assigns digital signature Provides integrity check Guarantees uniqueness Prevents version override Configuring BizTalk Deployment Properties Deployment Properties SQL Server Configuration database Application name Redeploy (true or false) Install to GAC (true or false) BizTalk Application Deployment Tools Method Visual Studio Usage Developer tool (testing) Use the redeploy option to override same version Administrator tool (production) Command-Line Deployment Deploy assemblies Import and export bindings Deploy multiple assemblies to multiple servers BizTalk Administration Console Developer and IT Pro tool Import and export bindings Export applications as Windows Installer (MSI) packages Demo: Deploying the Adventure Works Application In this demonstration, you will see how to: Assign a strong name to a project Configure the Application Deployment Property Build a BizTalk Server Solution Deploy a BizTalk Server Solution View the application in the BizTalk Administration Console Lesson 2: Managing BizTalk Applications Managing Apps with the BizTalk Administration Console Exporting and Importing a Binding File Migrating Applications using MSI Packages Managing Applications from a Command Prompt Managing Assembly Versioning Demo: Managing the Adventure Works Application BizTalk Hosts and Host Instances Managing Apps with the BizTalk Administration Console Exporting and Importing a Binding File Binding Files BizTalk Server Useful for moving configuration information from one physical environment to another Contains port configuration settings Can contain logical-tophysical port binding information when using orchestrations Binding File Migrating Applications Using MSI Packages Production Development BizTalk Server Existing Configuration MSI Package Install Install Install Import Managing Applications from a Command Prompt BTSTask Features List artifacts and applications Add and remove artifacts and applications Export and import MSI packages Export and import binding information C:\> BTSTask RemoveResource /ApplicationName:LabA /Server:BTS10-PLATFORM Managing Assembly Versioning Guidelines Use separate assembles for artifacts that are subject to change Group artifacts together that must be versioned together For schemas, change target namespace when using multiple versions Considerations Verify existing deployed version numbers Confirm the version used in a binding file Un-enlist any dependent orchestrations Demo: Managing the Adventure Works Application In this demonstration, you will see how to: Import a binding file using the BizTalk Administration Console Start the Application Export the application to an MSI package Remove the application by using a command prompt BizTalk Hosts and Host Instances BizTalk Group Instance A Instance B Instance B Instance B Instance A Host A Shipping Orchestration Billing Orchestration POP3 Receive Instance C Host B Order Orchestration SharePoint Receive WCF-BasicHttp Send Host C Billing Orchestration FTP Receive SMTP Send BizTalk Hosts and Host Instances Lab: Deploying and Managing BizTalk Applications Exercise 1: Assign a Strong Name Key to an Assembly Exercise 2: Configure the Application Deployment Property Exercise 3: Build and Deploy a BizTalk Application Exercise 4: Manage Ports by using Binding Files Exercise 5: Manage Applications by with MSI Packages Exercise 6: Move Resources and Ports between Applications Exercise 7: Manage Applications with BTSTask