Step 2: Creating the Fabrikam LOBWebApplication
In this step, you create the LOB application that Fabrikam uses to submit a 3A2 PIP request to Contoso. The LOBWebApplication project is installed in the BizTalk Accelerator for RosettaNet (BTARN) SDK. To run the Web application, you have to create a Microsoft Internet Information Services (IIS) virtual directory and build the LOBWebApplication project.
Note
If you completed the DoubleAction tutorial, you do not need to perform this step.
To create the LOBWebApplication virtual directory
Click Start, point to Administrative Tools, and then click Internet Information Services Manager.
Note
If you have already done the Double Action tutorial, you will already have created the LOBWebApplication virtual directory for that tutorial. If so, you do not have to perform these steps. You will, however, have to change the permissions for the virtual directory from Run scripts to Read.
In Internet Information Services Manager, expand <computer_name> (local computer), and then expand Web Sites.
Right-click Default Web Site, point to New, and then click Virtual Directory.
On the Welcometo the Virtual Directory Creation Wizard page, click Next.
On the Virtual Directory Alias page, in the Alias box, type LOBWebApplication, and then click Next.
On the Web Site Content Directory page, click Browse, select the <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\SDK\LOBWebApplication folder, and then click OK. Click Next.
On the Virtual Directory Access Permissions page, click Next.
Click Finish to create the virtual directory.
Excluding LOBWebApplication from SharePoint
Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
Note
If you have already done the Double Action tutorial, you will already have excluded the LOBWebApplication virtual directory from SharePoint for that tutorial. If so, you do not have to perform these steps.
On the Central Administration page, in the Virtual Server Configuration section, select Extend or upgrade virtual server.
If you do not see the URL configured on the computer, click Complete list.
Select Default Web Site.
In the Virtual Server Management section, click Define managed paths.
In the Add New Path section, in the Path box, type "/LOBWebApplication". For Type, select Excluded Path, and then click OK.
To build the LOBWebApplication project
Start Microsoft Visual Studio 2012.
From the File menu, point to Open, and then click Project\Solution.
In the Open Project dialog box, in Look In, move to <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\ SDK\LOBWebApplication, select the LOBWebApplication.sln solution, and then click Open.
In Solution Explorer, right-click the top node (http://localhost/LOBWebApplication), and then click Add Reference.
In the Add Reference dialog box, click Browse and move to <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\bin.
Select the Microsoft.Solutions.BTARN.ConfigurationManager.dll and Microsoft.Solutions.BTARN.Shared.dll assemblies and then click OK.
On the Build menu, click Build Web Site.
To run the LOBWebApplication project
In Solution Explorer, right-click default.aspx, and then select Set As Start Page.
On the Debug menu, click Start Without Debugging.