CHAPTER 18 602 THE .NET REMOTING LAYER (Web site counters)
CHAPTER 18 602 THE .NET REMOTING LAYER 1. On your hard drive, create a new folder to hold your CarGeneralAsm.dll. Within this folder, create a subdirectory named Bin. Now, copy the CarGeneralAsm.dll to this subdirectory (e.g., C:IISCarServiceBin). 2. Open the Internet Information Services applet on the host machine (located under the Administrative Tools folder in your system s Control Panel). 3. Right-click the Default Web Site node and select New .Virtual Directory. 4. Create a virtual directory that maps to the root folder you just created (C:IISCarService). The remaining default settings presented by the New Virtual Directory Wizard are fine. 5. Finally, create a new configuration file named web.config to control how this virtual directory should register the remote type (see the following code). Make sure this file is saved under the root folder (in this example, C:IISCarService).
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.