What is BTSG NoS Addin purpose?
The purpose of BTSG NoS addin is to help all BizTalk Developer, why not, all BizTalk Administrator too in a lot of different situations, by improving the developer experience and why not reduce the development time in new or existent BizTalk projects.
It will provide several functionalities like quick search inside artifact, fast register/unregister in GAC, find critical, internal or external dependencies… and many fore functionalities like JackHammering, which will compare your VS artifact with the artifact deployed in BizTalk environment, you can also extract the artifact (Orchestration, map, schema and so on) from BizTalk environment and put it in the VS solution or even test your pipeline in VS simply … several features that are usefully in our day by day work and a time saver in a lot of situations.
How to get start with the addin?
After you installing the addin, the first thing you need to do is to load the BTSG NoS addin to Visual Studio by:
- On the Tools menu, click Add-In Manager.
- In the Add-in Manager window, select the add-in from the list.
- You can select the option “Startup” so that the addin is available a soon you open your Visual Studio solution
- Check the box next to the add-in in the Available Add-Ins column, and then click OK.
(see my previous post for more details).
When you install the BTSG NoS addin, it will be defined 3 default setting for the internal use of the addin. You can check and configure this settings by:
- Right click in your solution name and select the “BTSG Settings” option
- BizTalk Server Name: Name of the SQL Server instance that hosts the BizTalk Management database, “.” (local) by default.
- BizTalk Configuration Database: Name of the BizTalk Management database for the group, “BizTalkMgmtDb” by default.
- Be verbose: By default this option is active. This option is good for debugging problems because it will display to the user more detailed messages in output window about what is happening.
To check the messages produce by the addin you just need to select BTSG in output window and you will see the messages:
Build and Scan the solution (the most important step)
Because the addin work with a lot of reflection in some functionalities, before you start using the addin in your BizTalk Solution and for the addin work with precision you need to build your solution and then “Scan solution” by:
- Right click in your solution name and select the “Scan Solution” option
Note: If you already have the solution build, i.e., you already have the correct DLL files generated in the respective solution folders, then you just need to “Scan solution”.
What is the Scan Solution?
This option will analyze you solution: all the files, folders, DLL and so that it can have a have a clear notion of what is composing your BizTalk solution: How many project exist in the solution, what type of artifacts the project have or and what are the dependencies between projects. These are some of the task that this option will analyze so it can work with consistency and with accuracy.
List of available features
In this section we will have an overview of all features available with this Visual Studio addin and how can you use them.
Expand and Collapse solution
Let’s start with the basic new functionalities that are available in the context of the solution:
- Expand Solution: This option will full expand all the projects in your current solution. This feature can be useful when we want an easy and simple way to have visualization of the entire structure of the solution.
- Collapse Solution: this is exactly the opposite of the previous feature. This option will collapse all the projects in your current solution in a simple and easy way.
You can access this features by:
- Right click in your solution name and select the “Expand Solution” or “Collapse Solution” options
I think the name explains the feature itself. This feature will perform a full text searches in all the artifacts of your entire solution, which means that for example, in schemas will search for elements, records and attributes but also properties of the map itself, in orchestrations will search for shape names, messages names, variable names and so on. The best way to explain the mode of how this operation works or to find an analogy is: inside the Visual Studio open the artifact (schema, map, orchestration and so on) with XML (text) Editor and make a search inside that artifact. Now think in this process, automatically, to all articles of your solution.
We can also call this as a “Search” –> “Selection” –> “Open it” operation.
Because all the artifact in your entire solution that meet the search requirement will be selected and you will have the option to open it all automatically after the search finished.
You can access this features by:
- Right click in your solution name and select the “Wild Search” option
This feature will create a report with a lot of useful information’s about your entire solution or for a particular project in our solution so that you can analyze:
- It will provide some statistics and metrics, for example
- Solution metrics: number of projects, artefacts, orchestrations, transformation, Schemas and Pipelines
- Artifact metrics: Information about the kb average used by the artifact in memory or some metrics to understand the complexity of the artefact (orchestration, map and so on),
- But also information about:
- What use this artifact or what doing this artifact (very useful with orchestration)
- Show all the information’s like:
- Artifact dependencies
- What ports are using this orchestration or schema or map?
- How many shapes exist in the orchestration or how many Transactions (Atomic, Long Running) exist, Compensation or Error handling?
- How many Construct messages or even how many transformations?
- How many Functoids or links exists inside a transformation?
- And so on.
This is basically an interactive report or documentation of your solution. Interactive because you can interact with the report and he will automatically open the artifact while you are reading it. You can open the directory, maps, orchestrations, schemas and so on directly from the report.
The reflector can be used in all levels of your solution, from simple artifact, from a single project or to produce a full report of your entire solution (this last means to have a report of all of the artifacts in the solution)
This will also can be used to produce a good documentation of your BizTalk Projects
You can access this features by:
- Right click in your solution/project or artifact name and select the “Reflector” option
BTSG NoS Addin will be available soon… you just need to be a little more patience… stay tuned to Nino personal blog!