Restoring BizTalk ports and orchestrations after maintenance shutdown

Given a scenario where you have a maintenance window, and need to shut down one or more applications, you might find it challenging when you are going to start them up again.

If you are working with a large BizTalk solution, the Application Stop and Start functionality might not be useful. -If you had ports that where disabled, stopped or unenlisted before shutting the application down, these will also be started when starting up the application again. If these ports and orchestrations where disabled for a reason, this approach will not be acceptable.

If you have separated your BizTalk hosts into Receive-, Send- and Processing ones, you could solve the problem by stopping the host instances in the right order, rather than the Applications. But if you only want to stop and start some of the applications, you'd be required to have three host instances per application, which is highly unlikely.

I've seen customers work with WMI scripts to solve this problem, and even though this works, it takes for ever to execute these scripts.

-So, if you are looking for a tool where you'd be able to stop an Application or the entire BizTalk group, and bring it back up again (as it looked before you shut it down), this tool might be what you're looking for.

The console application has functionality to take a "snapshot" from what your BizTalk group looks like. The snapshot is stored in an xml file, which you can modify manually if you like. You can start or stop the entire BizTalk group or just one application at the time. When execution the [start] command, you'll be prompt to select the snapshot file to use.

Usage:

snapshot

The user will be prompt to type the name of the snapshot file, to which the state of all ports and orchestrations will be saved.

stop -[Application] or [* = all applications]

This command will stop every port and orchestration from specified application. The user can optionally make a snapshot before executing the command. Before committing the changes, the user is presented a view of what is going to happen.

start -[Application] or [* = all applications]

The user will be prompt to specify which snapshot file to use. Only the ports and orchestrations that where started/enabled before the snapshot where taken will be started. Before committing the changes, the user is presented a view of what is going to happen.

 

Binaries: BizTalkManagerConsole.zip

Announcing the Microsoft BizTalk Adapter Pack – Office Developer Program

As was already announced on this forum, the BizTalk Adapter Pack (BAP) was announced more than a month ago during the Office Developer Conference and became available starting March 1st. The BAP provides a robust and comprehensive out-of-the-box connectivity infrastructure to three major line-of-business (LOB) systems – SAP, Siebel, and Oracle Databases. The technology is based on the Windows Communication Foundation (WCF) LOB Adapter SDK and inherently relies on the core WCF concepts, principles, and classes implemented in the .NET Framework 3.5.


Along with the BAP, we also launched the BizTalk Adapter Pack – Office Developer Program, designed to validate the use of the BizTalk Adapter Pack as a connectivity solution in direct integration scenarios with Microsoft Office SharePoint Server (MOSS) 2007 and the Office Business Applications such as Microsoft Office Excel and Microsoft Office Word. The scope of the program is validation of six key scenarios, as depicted in the following diagram. 


Customer Participation



The BAP – Office Developer Program is now open for new customer nominations. Joining this program will provide you with access to conference calls with members of the BAP development team, access to private discussion forums, and the ability to discuss and report bugs and issues directly back to the team at Microsoft.

If you would like to work closely with the product team and implement and test any of the six scenarios in your solution, please fill out the short survey and be specific in answering the questions to help us accurately evaluate your application. We will contact you shortly thereafter. If you have any questions, you can contact us via e-mail by clicking here.

You can also get additional information about this program on the SharePoint Product Team blog site.



The BizTalk SOA Customer Programs Team

Announcing the Microsoft BizTalk Adapter Pack – Office Developer Program

As was already announced on this forum, the BizTalk Adapter Pack (BAP) was announced more than a month ago during the Office Developer Conference and became available starting March 1st. The BAP provides a robust and comprehensive out-of-the-box connectivity infrastructure to three major line-of-business (LOB) systems – SAP, Siebel, and Oracle Databases. The technology is based on the Windows Communication Foundation (WCF) LOB Adapter SDK and inherently relies on the core WCF concepts, principles, and classes implemented in the .NET Framework 3.5.


Along with the BAP, we also launched the BizTalk Adapter Pack – Office Developer Program, designed to validate the use of the BizTalk Adapter Pack as a connectivity solution in direct integration scenarios with Microsoft Office SharePoint Server (MOSS) 2007 and the Office Business Applications such as Microsoft Office Excel and Microsoft Office Word. The scope of the program is validation of six key scenarios, as depicted in the following diagram. 


Customer Participation



The BAP – Office Developer Program is now open for new customer nominations. Joining this program will provide you with access to conference calls with members of the BAP development team, access to private discussion forums, and the ability to discuss and report bugs and issues directly back to the team at Microsoft.

If you would like to work closely with the product team and implement and test any of the six scenarios in your solution, please fill out the short survey and be specific in answering the questions to help us accurately evaluate your application. We will contact you shortly thereafter. If you have any questions, you can contact us via e-mail by clicking here.

You can also get additional information about this program on the SharePoint Product Team blog site.



The BizTalk SOA Customer Programs Team

March 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight, .NET

Here is the latest in my link-listing series.  Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I’ve done myself in the past.

ASP.NET

  • Three New ASP.NET Security Tutorials Now Available: Scott Mitchell continues his great ASP.NET security tutorials. These three new ones cover creating and managing roles, assigning roles to users, and implementing role based authorization.  You can also find more security articles by reading posts on my blog tagged with security.

ASP.NET AJAX

  • Real-Time Progress Bar with ASP.NET AJAX: SingingEels shows a technique for displaying real-time progress notifications using AJAX as a long-lived activity runs on the server.

  • Using JQuery to Consume ASP.NET AJAX JSON Web Services: Dave Ward has a nice post that describes how to use the JQuery AJAX library on the client to call an ASP.NET Web Service on the server that is JSON enabled (using ASP.NET AJAX on the server). 

ASP.NET MVC

  • Kigg – Building a Digg Clone with ASP.NET MVC: Kazi Manzur Rashid published an excellent Digg-clone sample built with ASP.NET MVC last February.  He recently updated the code to work with ASP.NET MVC Preview 2 (full details here).  You can download the latest version of his source code here.

  • ASP.NET MVC Action Filters – Caching and Compression: Kazi Manzur Rashid has another great post that shows how to use the new ActionFilterAttribute support in ASP.NET MVC to implement output caching and compression attributes. Read this quickstart article to learn more about how Action Filters work, or watch Scott Hanselman’s video that covers them.

  • Testing with the ASP.NET MVC Framework: Simone Chiaretta has a great article that discusses how to test controllers using ASP.NET MVC Preview 2.  Note: the next ASP.NET MVC preview release will include a number of refactorings that will simplify controller testing considerably (and avoid the need to mock anything for common scenarios).

Visual Studio

  • VS 2008 Web Deployment Hot-Fix Roll-Up Now Available for non-English Languages: Last month we shipped a hot-fix release that fixes a number of bugs, adds a few features, and improves performance for web development scenarios in VS 2008 and Visual Web Developer 2008 Express.  Last month’s release only worked with the English-language VS 2008 products.  Yesterday we shipped an update that now works for all VS 2008 languages except Portuguese and Russian (which are still to come in the future). 

  • Hotfix Available for VB Performance Issue in VS 2008: The Visual Basic team recently released a hotfix as well that addresses a performance issue with large files that contain XML documentation.  Read this post to learn more about how to download it if you are running into this issue.

Silverlight

  • Using Silverlight 2’s DataGrid with WCF + LINQ to SQL: This 15 minute video blog demonstrates how to build a LINQ to SQL object model on the server and publish it using WCF.  It then demonstrates how to build a Silverlight client that uses the new Silverlight DataGrid control, and which calls the WCF service to retrieve the LINQ to SQL data to populate it with.

  • Simple Editing of Web Service Data in a DataGrid: Mike Taulty has a nice blog post that shows how to create a WCF service on the server, and then use it from a Silverlight 2 client to retrieve data, bind it to a DataGrid, allow users to update rows, add/delete rows, and then save it back to the server using Silverlight 2 Beta1.

  • Sorting with Silverlight 2’s DataGrid Control: The DataGrid control in Silverlight 2 Beta1 doesn’t yet have built-in column sorting support (it is coming in Beta2).  That hasn’t stopped Matt Berseth though!  In this post he shows how to implement sorting using a custom header column approach.  Also check out Matt’s post here, which provides a DataGrid test page that shows off a number of the current DataGrid features.

  • Open Source Silverlight Charts with VisiFire: Silverlight doesn’t yet have built-in charting controls.  The good news is that the folks at Webyog just released a really cool set of open source Silverlight charting controls (complete with animation support) that enable you to easily build great looking charts.  Their model makes it super easy to use the chart components within existing HTML or AJAX applications.

.NET

  • FormatWith and DateTime Extension Methods: James Newton-King and Fredrik Kalseth have some nice posts and samples that demonstrate how to use the new extension method feature in the VB and C# languages in VS 2008 to create some useful convenience libraries. 

  • Dependency Injection Explained: James Kovacs has a nice MSDN article that explains how to build more loosely coupled applications and enabled dependency injection.  Also read Scott Hanselman’s that list of .NET Dependency Injector Containers (IOC) post.  Matthew Podwysocki also covers the new Unity IOC in his posts here and here.

Hope this helps,

Scott

March 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight, .NET

Here is the latest in my link-listing series.  Also check out my ASP.NET Tips, Tricks and Tutorials page for links to popular articles I’ve done myself in the past.

ASP.NET

  • Three New ASP.NET Security Tutorials Now Available: Scott Mitchell continues his great ASP.NET security tutorials. These three new ones cover creating and managing roles, assigning roles to users, and implementing role based authorization.  You can also find more security articles by reading posts on my blog tagged with security.

ASP.NET AJAX

  • Real-Time Progress Bar with ASP.NET AJAX: SingingEels shows a technique for displaying real-time progress notifications using AJAX as a long-lived activity runs on the server.

  • Using JQuery to Consume ASP.NET AJAX JSON Web Services: Dave Ward has a nice post that describes how to use the JQuery AJAX library on the client to call an ASP.NET Web Service on the server that is JSON enabled (using ASP.NET AJAX on the server). 

ASP.NET MVC

  • Kigg – Building a Digg Clone with ASP.NET MVC: Kazi Manzur Rashid published an excellent Digg-clone sample built with ASP.NET MVC last February.  He recently updated the code to work with ASP.NET MVC Preview 2 (full details here).  You can download the latest version of his source code here.

  • ASP.NET MVC Action Filters – Caching and Compression: Kazi Manzur Rashid has another great post that shows how to use the new ActionFilterAttribute support in ASP.NET MVC to implement output caching and compression attributes. Read this quickstart article to learn more about how Action Filters work, or watch Scott Hanselman’s video that covers them.

  • Testing with the ASP.NET MVC Framework: Simone Chiaretta has a great article that discusses how to test controllers using ASP.NET MVC Preview 2.  Note: the next ASP.NET MVC preview release will include a number of refactorings that will simplify controller testing considerably (and avoid the need to mock anything for common scenarios).

Visual Studio

  • VS 2008 Web Deployment Hot-Fix Roll-Up Now Available for non-English Languages: Last month we shipped a hot-fix release that fixes a number of bugs, adds a few features, and improves performance for web development scenarios in VS 2008 and Visual Web Developer 2008 Express.  Last month’s release only worked with the English-language VS 2008 products.  Yesterday we shipped an update that now works for all VS 2008 languages except Portuguese and Russian (which are still to come in the future). 

  • Hotfix Available for VB Performance Issue in VS 2008: The Visual Basic team recently released a hotfix as well that addresses a performance issue with large files that contain XML documentation.  Read this post to learn more about how to download it if you are running into this issue.

Silverlight

  • Using Silverlight 2’s DataGrid with WCF + LINQ to SQL: This 15 minute video blog demonstrates how to build a LINQ to SQL object model on the server and publish it using WCF.  It then demonstrates how to build a Silverlight client that uses the new Silverlight DataGrid control, and which calls the WCF service to retrieve the LINQ to SQL data to populate it with.

  • Simple Editing of Web Service Data in a DataGrid: Mike Taulty has a nice blog post that shows how to create a WCF service on the server, and then use it from a Silverlight 2 client to retrieve data, bind it to a DataGrid, allow users to update rows, add/delete rows, and then save it back to the server using Silverlight 2 Beta1.

  • Sorting with Silverlight 2’s DataGrid Control: The DataGrid control in Silverlight 2 Beta1 doesn’t yet have built-in column sorting support (it is coming in Beta2).  That hasn’t stopped Matt Berseth though!  In this post he shows how to implement sorting using a custom header column approach.  Also check out Matt’s post here, which provides a DataGrid test page that shows off a number of the current DataGrid features.

  • Open Source Silverlight Charts with VisiFire: Silverlight doesn’t yet have built-in charting controls.  The good news is that the folks at Webyog just released a really cool set of open source Silverlight charting controls (complete with animation support) that enable you to easily build great looking charts.  Their model makes it super easy to use the chart components within existing HTML or AJAX applications.

.NET

  • FormatWith and DateTime Extension Methods: James Newton-King and Fredrik Kalseth have some nice posts and samples that demonstrate how to use the new extension method feature in the VB and C# languages in VS 2008 to create some useful convenience libraries. 

  • Dependency Injection Explained: James Kovacs has a nice MSDN article that explains how to build more loosely coupled applications and enabled dependency injection.  Also read Scott Hanselman’s that list of .NET Dependency Injector Containers (IOC) post.  Matthew Podwysocki also covers the new Unity IOC in his posts here and here.

Hope this helps,

Scott