BizTalk Server 2010 Cookbook-a review

It is hard to not point out the fact that this is a cookbook, and there already is a book about BizTalk recipes. It is also hard not to point out the fact that I love cooking but hate using cookbooks

This is a cookbook I really, really like though.

I imagine that you, like me, have a collection of really good BizTalk blog post links in you browser of choice. When you use BizTalk, and when you read up on what others have written, then you bookmark certain posts for safe-keeping. You just know that “this is a good thing to remember for another day”.

This book is like the best collection of links you could possibly have! A really good blog in book-form, or a blog-oriented book. First of all: buy this book. It is a given in any BizTalk developer team. The 25 spent on the book will be paid for over and over again as you save time during development and testing.

BizTalk Server 2010 Cookbook uses a very practical approach to problem solving. This is the only downside to the book. Sometimes it it too focused on how to solve something and not enough is spent on understanding it. Then again the author points you to further reading at the end of each recipe. So if you want to know more about something, you can find it easily. Personally I would like it to have been part of the book but I guess that is not up to me to decide.

The practical approach splits each recipe into different parts. First an introduction to present the challenges or the problem. Then follows a “How to” section, a “how it works” and the aforementioned “There is more”.

Do not be fooled by the subtitle of the book “Quick answers to common problems” as the word “problem” might be associated with “bug” or “issue” and this is not the case. It is rather a case of “How to quickly, understand and perform common tasks” but that is a really bad strapline I agree.

The publisher has a complete listing of the books content and I encourage you read it but I would like to point out some of my personal favorites: BizTalk Server Automation: Patterns, Monitoring using Log4Net and Securing Message Exchange. The last one is in my opinion the best text on the subject I have seen. After reading it I feel that the usage of certificates in BizTalk is no longer hard, and I can understand it. Something I must admit to being part of my ignorance up until now.

So once again: Buy this book. It is smart, practical, well written and really useful.

Blog Post by: Mikael Sand

Stockholm, Friday 27th April: Hybrid Applications with Clemens Vasters + Win a Hot Air Balloon Ride!

The Sweden Windows Azure Group (SWAG) will hold a session on “Hybrid Applications – Building Solutions that span On-Premises Assets and the Cloud” with Clemens Vasters, principle technical lead for the Windows Azure Service Bus. It should be a great session with a lot of inside information from the guy behind the technology.

Microsoft Sweden has been kind enough to give us three “Windows Azure Hot Air Balloon” ride tickets, which we were tempted to use ourselves, but will raffle to three lucky attendees at the meeting. A great way to “move to the cloud”.

Date: Friday 27th April, 17:30 – 20:30
Location: knowit Stockholm: Klarabergsgatan 60 4tr

Register here: http://swag10.eventbrite.com/

See you there.

Call pipelines from an orchestration

Calling a pipeline from an orchestration is quite easy.

First of all you need to add a reference to the Microsoft.XLANGs.Pipeline.dll and Microsoft.BizTalk.Pipeline.dll assemblies. When this is done you’ll be able to execute a receive pipeline as follows:


ReceivePipelineOutput = Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline
(typeof(ShemasAndPipelines.ReceiveCustOrdres), OrdersInputInterchange);

To get all messages coming out the pipeline, you’ll have to loop over the batch and get all messages like this:


ReceivePipelineOutput.GetCurrent(OrdersInputMsg);

For the execution of a send pipeline you’ll need to create a variable of type Microsoft.XLANGs.Pipeline.SendPipelineInputMessages. then call the method add on this variable which adds message of type Microsoft.XLANGs.BaseType.XLANGMessage.


SendPipelineInputMessages.Add(OrderSummary);

To execute the send pipeline, you’ll have call the ExecuteSendPipeline method with the just created SendPipelineInputMessages and the output message as follows:


Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof
(ShemasAndPipelines.SendCustOrdersPipeline), SendPipelineInput, OrdersOutputInterchange);

This way of executing pipelines will execute the pipelines using the default settings for all pipeline properties. How to execute pipelines from an orchestration with custom settings for the pipeline properties will be explained in my next blogs.

a more detailed explanation can be found here

Weekly Cloud Newsround 2012-16

Filtering the informative, insightful and quirky from the fire hose of cloud-based hype.

The announcement of the Windows Azure hosted media platform has been leading the Azure news stories this week with articles my Mary-Jo, streamingmedia.com and V3. I’m keen to get into testing the preview of this, it would be a great technology to use for the webcasts on my CloudCasts site.

Hovhannes Avoyan continues his Windows Azure Overview series with part 4 looking at Security. The links to the four articles are:

Windows Azure Overview

Windows Azure Overview Part 2: Pros and Cons

Windows Azure Overview Part 3: All About Azure Pricing

Windows Azure Overview Part 4: Security

HPC Wire has an interesting article “Cycle Computing Creates 50,000-Core Supercomputer Through Amazon”, the ability to provision massive compute power for short periods of time is a great use of cloud computing.

Cloud Times has an interesting article on “The Rising Value of Cloud Computing”, whilst Greenpeace question the environmental friendliness of the cloud, naming Apple and Amazon as the main offenders. Apple defend their green credentials in the Guardian, with a nice video of a there new data center, hoping to provide 10% of their energy through solar power.

If you are “not ready to move to the cloud”, you could consider moving to the beach to take a look at Crab Computing. Seems interesting, but I have reservations about high availability when there is a spring tide

Artigo “BizTalk Server – Transformar arquivos de texto (Flat Files) em XML” na Revista “Programar”

Artigo “BizTalk Server – Transformar arquivos de texto (Flat Files) em XML” na Revista “Programar”

For the BizTalk Portuguese Community, I publish an article call “BizTalk Server – How to transform flat files into XML” on the Magazine “Programar” and soon I will translate to English. J%u00e1 est%u00e1 dispon%u00edvel a 34%u00aa edi%u00e7%u00e3o da Revista PROGRAMAR, uma publica%u00e7%u00e3o digital gratuita com diversos artigos relacionados com desenvolvimento de software. Esta edi%u00e7%u00e3o cont%u00e9m […]
Blog Post by: Sandro Pereira

Cannot access a disposed object. Object name: ’TransactionScope’.

Cannot access a disposed object. Object name: ’TransactionScope’.

The adapter “WCF-SQL” raised an error message. Details “System.ObjectDisposedException: Cannot access a disposed object. Object name: ‘TransactionScope’. at System.Transactions.TransactionScope.Complete() at System.ServiceModel.Dispatcher.TransactionRpcFacet.ThreadLeave() at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage7(MessageRpc& rpc)”.   When using WCF-SQL adapter you can obtain this error by requesting a SQL server which doesn’t have MSDTC active.   To clear this issue configure MSDTC like your BizTalk server
Blog Post by: Jeremy Ronk