Instructions for installing TricksAndPitfalls demo

  1. Donwload the demos/2005-10-18-CS330-TricksAndPitfalls.zip. 
  2. Same instructions as below for other demos.

Instructions for installing WebServicesDemos

  1. Download the demo.
  2. Unzip the demo and copy the WebServicesDemos directory into C:\inetpub\wwwroot\
  3. Register the WebServicesDemos virtual directory with IIS (see Step 3 below in instructions for FobsUnlimited Demo).
  4. Run the fobs.sql script to populate the database (if you haven't already installed the FobsUnlimited demo)
  5. Open the project in Visual Studio and give it a try.
  6. Note: the GoogleSearch.wsdl file is in the directory but not part of the project. To view it you'll have use Open File in Visual Studio.

Instructions for installing Lecture4Demos

  1. Download the demo.
  2. Unzip the demo and copy the Lecture4Demos directory into C:\inetpub\wwwroot\
  3. Register the Lecture4Demos virtual directory with IIS (see Step 3 below in instructions for FobsUnlimited Demo).
  4. Open the project in Visual Studio and give it a try.

Instructions for installing and running the FobsUnlimited demo

  1. Download the updated FobsUnlimited demo.
  2. Unzip the demo and copy the FobsUnlimited directory into C:\inetpub\wwwroot\
  3. Register the FobsUnlimited application with IIS:
    1. Open IIS configuration tool, Start -> Control Panel -> Administrative Tools -> Internet Information Services
    2. Browse down to “Default Web Site” in left pane
    3. Right click on FobsUnlimited and select Properties
    4. It should open to the Directory tab. Towards the bottom, you’ll see Application settings, and a button labeled “Create”. Click “Create” and then OK.
  4. Populate the database
    1. In the FobsUnlimited directory, you’ll see a file called FobsUnlimited which is a C# Project File. Double-click to open in Visual Studio. (Alternately, select File -> Open Project in Visual Studio, then select this file).
    2. Open fobs.sql and edit as the comments indicate, replacing ‘SHELDON4124UP’ with your computer name, and save the file.
    3. Run the script: osql -E -i c:\inetpub\wwwroot\FobsUnlimited\fobs.sql
  5. Run the demo
    1. In Visual studio, right click any .aspx page from the Solution Explorer, and select View in Browser.
    2. From a browser, navigate to http://localhost/FobsUnlimited/shop.aspx or any of the other aspx pages.

Details

Besides the IIS configuration, there were two changes from the original demo
  1. The FobsUnlimited.csproj.webinfo file has a path in it that must match the location where you’ve unzipped it. The original version was in a demos-10-12 subdirectory. I’ve updated it to look like this. You could make this change manually if you want.
    <VisualStudioUNCWeb>
        <Web URLPath = "http://localhost/FobsUnlimited/FobsUnlimited.csproj" />
    </VisualStudioUNCWeb>
    
  2. I changed the fobs.sql file to automatically create the database login and grant the appropriate privileges. You may want to look at this for use in your project.