When you install the sample, you put its files in the correct locations on your Web server. In this discussion, we assume that you have direct access to your Web server and that you develop and browse your site from the server.
Before you install the C# QuickStart sample, make sure that Microsoft Internet Information Services (IIS), the .NET Framework 2.0, and ASP.NET are installed on your server. For IIS, make sure that:
-
A default Web site exists
-
The home directory of the default site is C:\Inetpub\wwwroot
To install the sample
-
Run the C# sample installation file (webauth-cs-1.2.msi).
-
Copy the C:\Program Files\Windows Live ID\WebAuth directory to C:\Inetpub\wwwroot.
-
Create a directory named App_Code under C:\Inetpub\wwwroot, if it does not already exist.
-
Move C:\Inetpub\wwwroot\WebAuth\App_Code\WindowsLiveLogin.cs to the default App_Code directory at C:\Inetpub\wwwroot\App_Code\.
The C# QuickStart sample is installed.