Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud

The other day I asked one of the guys on our team to review some of the BizTalk maps in a migrated BizTalk project.  I wanted him to take a look through some complicated maps and identify any inline scripting functoids which we may want to refactor.

My issue with the use of some inline scripting functoids is that often they pose a risk because developers sometimes put quite complex logic in them and then do not sufficiently test the map.  My preferred approach in such situations is to call an external assembly where the logic can be tested with unit tests in the normal C# way using NUnit or MsTest.  It is also much easier to ensure the code is fully covered.

Anyway Glen set about this task but actually came up with a tool to make this a much easier thing to do.

He has published the tool on CodePlex at the following link:

http://www.codeplex.com/BiztalkScrptFuncExpl

Basically this tool will allow you to point at a directory and then search recursively for all scripting functoids within any maps inside that directory.  It will give you a list of what types of scripting have been used.

If you have inline script you can double click on the view in his application to get a quick view of the script.

This tool is very useful when you want to review the maps in a project or evaluate some maps you have inherited.

 

Posted on Sunday, March 2, 2008 6:44 PM BizTalk | Back to top


Comments on this post: Tool for reviewing Scripting Functoid use in maps

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net