Step 7: Building and Deploying the LOBWebApplication SDK Sample
In this step, you create the line-of-business (LOB) application that Fabrikam uses to submit Partner Interface Process (PIP) requests to Contoso. You can find the LOBWebApplication project in the Microsoft® BizTalk Accelerator for RosettaNet (BTARN) SDK folder. To run the Web application, you have to create a Microsoft Internet Information Services (IIS) virtual directory, and then build the LOBWebApplication project.
To create the LOBWebApplication virtual directory
Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
In the Internet Information Services Manager window, 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. In the Browse For Folder dialog box, move to <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\SDK\LOBWebApplication, and then click OK. Click Next.
On the Virtual Directory Access Permissions page, deselect Read, select Run scripts (such as ASP), and then click Next.
On the You have successfully completed the Virtual Directory Creation Wizard page, click Finish to create the virtual directory.
To exclude the LOBWebApplication Web site from the SharePoint configuration
Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
On the Central Administration Web 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.
On the Virtual Server List page, 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
Click Start, point to All Programs, point to Microsoft Visual Studio 2008, and then click Microsoft Visual Studio 2008.
On the File menu, point to Open, and then click Project/Solution.
In the Open Project dialog box, move to <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\SDK\LOBWebApplication, select the LOBWebApplication.sln solution file, and then click Open.
In Solution Explorer, right-click http://localhost/LOBWebApplication, and then click Add Reference.
In the Add Reference dialog box, click Browse. In the Add Reference dialog box, move to <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for RosettaNet\Bin folder.
From the Bin folder, select the Microsoft.Solutions.BTARN.ConfigurationManager.dll and Microsoft.Solutions.BTARN.Shared.dll assemblies, and then click Open.
Click OK to close the Add Reference dialog box.
In Solution Explorer, right-click Solution 'LOBWebApplication' and then click Build Solution.
Right-click default.aspx, and then click Set as Start Page.