Get started with a Visual Studio project
Important
Microsoft Azure BizTalk Services (MABS) is being retired, and replaced with Azure Logic Apps. If you currently use MABS, then Move from BizTalk Services to Logic Appsprovides some guidance on moving your integration solutions to Logic Apps.
If you're brand new to Logic Apps, then we suggest getting started here:
-
Create your first logic app, or quickly get started using a pre-built template
-
View all the available connectors you can use in your logic apps
The Bridge Configuration design area is a visual designer where you create an end-to-end message flow, originating from a message source, processed by a bridge, and then sent to a destination. It is a canvas that you can drag components onto from the Toolbox, and then use them to configure the flow.
When you install BizTalk Services, the installation adds the BizTalk Services category under the Templates area in the Visual Studio New Project dialog. The BizTalk Services category contains the following templates:
Project Template |
Description |
---|---|
BizTalk Service |
Use this template to create a new BizTalk Service project for creating BizTalk Services applications consisting of message sources, bridges, and message destinations. This project type is also used to create artifacts like schemas and transforms that are used by the BizTalk Services application. |
BizTalk Service Artifacts |
Use this template to create a project that contains only the artifacts, namely Transforms and Schemas. You can use this project to create a Transform or a schema that you want to upload to the BizTalk Services Portal for creating your agreements. |
In this topic:
Create a BizTalk Services Project
Add Components to a BizTalk Services Project
Add Schemas and Transforms to your Project
Create a BizTalk Services Project
To create rich messaging endpoints, you need to start by creating a BizTalk Service project:
Open Visual Studio as an administrator. On the File menu, select New, and then select Project.
In New Project, in the Installed Templates area, select BizTalk Services.
From the right-hand pane, select the BizTalk Service or BizTalk Service Artifacts template.
Enter the project name, location, and the name of the solution this project is a part of. If you want this solution to have a separate folder in Windows Explorer, select Create directory for solution.
Select OK.
Warning
When you create a BizTalk Service project, it adds a MessageFlowitinerary.bcs file to the project. You should never delete the .bcs file from a BizTalk Service project because you can’t add a standalone .bcs file to an existing project. If you delete the .bcs file, create a new BizTalk Service project, and copy over the artifacts (schemas and Transforms) from the old project to the new one.
To add a BizTalk Service project to an existing solution
Open Visual Studio as an administrator. Open an existing solution in Visual Studio, right-click the solution name, select Add, and then select New Project.
In Add New Project, in the Installed Templates area, select BizTalk Services.
From the right-hand pane, select the BizTalk Service or BizTalk Service Artifacts template.
Enter the name and location of the project.
Select OK.
Add Components to a BizTalk Services Project
BizTalk Service project designer provides several components that you can place on the design area as visual representations of the message sources, message processing bridges, or message destinations. These components can help you to efficiently design and implement a message flow.
To add a component to the BizTalk Service project, drag the component from the toolbox to the design area. To remove a component, right-click the component, and select Delete.
The following table lists the available components, along with a brief description of the function of each shape:
Name |
Purpose |
More Information |
---|---|---|
Connector |
Connects two components in a BizTalk Service project and routes the messages from one component to another. |
Routing Messages from Bridges to Destinations in the BizTalk Service Project |
BRIDGES
XML One-Way Bridge |
A one-way XML bridge that processes a request message from a client that does not expect a response. |
|
XML Request-Reply Bridge |
A two-way, request-reply XML bridge that processes a request message from a client that expects a response. |
|
Pass-Through Bridge |
A pass-through bridge that passes the input message to the destination entity, as-is. |
DESTINATIONS
Azure Blob Destination |
Routes a message to an Azure Blob. |
|
FTP Destination |
Routes a message to a folder on an FTP Server. |
|
One-Way External Service Endpoint |
Routes a message to a one-way external service that takes a request but does not return anything in response. |
|
One-Way Relay Endpoint |
Routes a message to a one-way relay endpoint (on Service Bus) that takes a request but does not return anything in response. |
|
Service Bus Queue Destination |
Routes a message to a Service Bus queue. |
|
SFTP Destination |
Routes a message to a folder on an SFTP Server. |
|
Service Bus Topic Destination |
Routes a message to a Service Bus topic. |
|
Two-Way External Service Endpoint |
Routes a message to a two-way external service that takes a request and gives back a response. |
|
Two-Way Relay Endpoint |
Routes a message to a two-way relay endpoint (on Service Bus) that takes a request and gives back a response. |
SOURCES
FTP Source |
Receives a message from a folder on an FTP Server. |
|
Service Bus Queue Source |
Receives a message from a Service Bus Queue. |
|
SFTP Source |
Receives a message from a folder on an SFTP Server. |
|
Service Bus Subscription Source |
Receives messages from a Service Bus Topic subscription. |
Add Schemas and Transforms to your Project
A schema is the definition of the structure for a document or message. It contains property information as it pertains to the records and fields within the structure. If appropriate, a schema can contain multiple subschemas. In a BizTalk Service project, you can add either an XML schema or a flat-file schema.
A Transform is an XML file that defines the correspondence between the records and fields in one schema and the records and fields in another schema. You create Transforms based on industry standards, non-industry standards (such as internal standards or legacy issues), or existing files. You create Transforms when you want to map data that you receive or send from one format to another. You can use the Transform project item to create maps that you include in a BizTalk Service project. All Transforms that you save have a .trfm file extension. For more information about Transforms, see Create a Transform or Map.
To add a new schema or transform to a BizTalk Service project
In a BizTalk Service project, right-click the project name, select Add, and then select New Item.
In the Add New Item dialog box, select Schema, Flat File Schema, or Map.
Note
You can also create a flat-file schema from scratch or create a flat-file schema using a flat-file instance message. Select Generate Flat File Schema to open the Flat File Schema Wizard. To use the wizard, see How to Use the Flat File Schema Wizard.
Enter a name and then select OK.