What is BTSG NoS Addin purpose and what features are available? (Part 5)

Posted: April 6, 2014 in BizTalk
Tags: , , , , ,

In my last posts I’m being describing some of the features of BTSG NoS Addin. This is the final post about the overview of all features available with this Visual Studio addin and how can you use them.

Test Pipeline

There are many ways to test BizTalk pipelines: by using Biztalk Pipeline Framework to create unit testing, using the Pipeline.exe tool or by create and use them by implementing "for real" in BizTalk messaging scenarios. But there isn’t for real an easy build support feature in Visual Studio to test our custom pipelines.

Once again BizTalk NoS addin will provide that for you. This operation will test our custom pipeline pipelines directly from Visual STudio by simple right click and “Test Pipeline”:

BTSG-NoS-Addin-Test-Pipeline

  • Visual Studio will prompt a window for to select and instance of the message that you want to try against the pipeline.

BTSG-NoS-Addin-Test-Pipeline-open-file

  • and will show the result for the pipeline directly in VS IE

BTSG-NoS-Addin-Test-Pipeline-result

Test Pipeline Component

As the previous one testing or debugging a custom pipeline component can be a challenger and most of the times you will need to create and testing them by implementing and configuring a BizTalk messaging scenarios and then attach the BizTalk process in Visual Studio to debug the components.

You now will be able to debug your pipeline component attaching an external process from VS without care about BizTalk environment by:

  • Right click on the pipeline that contains the custom pipeline component that you want to try and select the option “Test Pipeline Component”:

BTSG-NoS-Addin-Test-Pipeline-Component

  • A window will be show that will describe all the steeps necessary for you to configure you testing scenario and debug the custom pipeline component

BTSG-NoS-Addin-Test-Pipeline-Component-2

  • The first thing you need to do is select an instance of a message that you want to try against the custom pipeline component, by clicking in the add wheel in the left:

BTSG-NoS-Addin-Test-Pipeline-Component-3

    • A window will prompt for to select and instance of the message

BTSG-NoS-Addin-Test-Pipeline-Component-open-file

  • The second step is to set a breakpoint in you custom pipeline component and attach the BTSG TestPipeline process with the Visual Studio Debugger by:
    • On the Visual Studio “Debug” menu, select “Attach to Process”

BTSG-NoS-Addin-Test-Pipeline-Component-attach-process

    • Select the BTSG.TestPipeline.exe process (the title will also contains the name of our pipeline) and click “Attach”

BTSG-NoS-Addin-Test-Pipeline-Component-attach-process-select

  • For the third and final step, you will need to go to the BTSG window to configure you testing scenario and debug the custom pipeline component, to submit the select message instance to debug it against the custom pipeline component, by clicking in the submit wheel in the right side:

BTSG-NoS-Addin-Test-Pipeline-Component-4

And you be able to start debug your custom pipeline component code.

Heuristics

Heuristics are basically the same of the above dependencies features (internal and external) but more useful during refactoring or before to do an update in an artifact. For example you need to modify an artifact and you want to know what will be the artifact update impact in the entire solution.

Other extreme situation could be, I want to know where this property schema or schema could be used, and this is not so simple to know because a property schema or schema could be used in lot of different way using his root nodes.

Heuristic Internal Propagation

This feature is basically the same as the “Internal Dependencies” but with the difference that we will also go ahead and will also the sub-levels of dependencies, i.e., the sub-artifacts.

BTSG-NoS-Addin-Heuristic-Internal-Propagation

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic Internal Propagation” option

BTSG-NoS-Addin-Heuristic-Internal-Propagation-option

Heuristic External Propagation

This feature is basically the same as the “External Dependencies” but with the difference that we will also go ahead and will also the sub-levels of dependencies, i.e., the sub-artifacts.

BTSG-NoS-Addin-Heuristic-External-Propagation

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic External Propagation” option

BTSG-NoS-Addin-Heuristic-External-Propagation-option

Heuristic Circular Propagation

This feature is basically the combination of both above heuristic operation (internal and external propagation) in a single operation.

BTSG-NoS-Addin-Heuristic-Circular-Propagation

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic Circular Propagation” option

BTSG-NoS-Addin-Heuristic-Circular-Propagation-option

Heuristic Anchoring Dependencies

Looking in all files in the solution for all artifact that could be associated with the artifact selected.

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic Anchoring Dependencies” option

BTSG-NoS-Addin-Heuristic-Anchoring-Dependencies-option

Heuristic Similarity Dependencies

Looking in all files in the solution for all artifact that could be associated (same solution domain, for example are using the same namespace) in any possible option, with the artifact selected.

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic Similarity Dependencies” option

BTSG-NoS-Addin-Heuristic-Similarity-Dependencies-option

Heuristic Contagion Dependencies

Looking in all files in the solution for all artifact that could be associated with the artifact selected, in all of possible combinations, type name, fields used, root name and more…

You can access this features by:

  • Right click in your resource (file) name and select the “Heuristic Contagion Dependencies” option

BTSG-NoS-Addin-Heuristic-Contagion-Dependencies-option

Finally all the features are documented… And we only need to wait the release announcement!!!!

Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s