# Personal Site Starter Kit

Welcome to your new Personal Site sample application. The key features are:

- Photos. Share photos and group them in albums.
- Resume and Links. Display your professional qualifications and your favorite links.

This site is ready to run! No changes are needed. Press CTRL+F5 to run the site.

## Site Members and Roles

Your Starter Kit Web site allows visitors to register as members and then log in. Members have specific privileges defined by roles such as administrator or guest. Each Starter Kit Web site defines site-specific roles. The following table describes what features are available to visitors in different roles.

Visitor | Privileges
--- | ---
Not logged in | May view only photos belonging to albums marked as public.
Logged in | No additional privileges.
Logged in as Friends | May additionally view photos belonging to albums not marked public.
Logged in as Administrators | May additionally edit all album and photo data.

Important: Run the site before proceeding to automatically generate the site's predefined roles.

Be sure to create a user name for yourself and assign yourself to a role (such as administrator) that can manage the site.

Visitors can register by clicking the Register link. New members are not activated automatically—and accounts must be manually activated. You can manage users (for example, assign them to a role) using the ASP.NET Web Site Administration tool. For details, see Appendix A.

## Photos and Albums

The photo album enables you to:

- Create albums that act as collections of photos.
- Upload photos individually into an album.
- Bulk upload a collection of photos into an album. This feature is useful for creating an album from a collection of photos, such as your vacation pictures.

### To create an album and add photos

1. Log in to the site as an administrator (member in the role Administrators).
2. In the menu, click Manage.
3. Under Add New Album, type a name.
4. If you want everyone to be able to see your photos, select Make this album public. If you leave this check box unselected, only users who are registered as friends can view the album.
5. Click Add to create the album.
6. Under Your Albums, click the blank photo for the new album.
7. Under Add Photos, type or select the photo file name, type a caption, and click Insert.
8. Repeat Step 7 for each photo you want to add to the album.

### To bulk upload photos into an album

1. Copy your photos to the Upload folder in the Web site.
2. In the menu, click Manage.
3. In the album list, click the photo of the album to use. (Create a new album first, if necessary.)
4. Click Import. All the photos in the Upload folder are added to the album.

## Appendix A - Manually Managing Members and Roles

Your Starter Kit Web site allows visitors to register as members. Members have specific privileges defined by a role you assign to them. A special administrative role has rights to perform all functions in the site.

Note: After creating your Starter Kit Web site, create an administrative user for yourself so you can manage the site.

To create a user (member) manually:

1. In the Website menu, click ASP.NET Configuration.
2. Click the Security tab.
3. Click Create user.
4. In the Create User box, type a user name, password, and e-mail address for the member. You must also provide a security question and answer that is used to help users recover their passwords, if necessary.
5. In the Roles box, sselect the check boxes corresponding to the roles you wish to assign to the new user.
6. Click Create User.
7. Close the Web Site Administration Tool.

To modify an existing member's role:

1. In the Website menu, click ASP.NET Configuration.
2. Click the Security tab.
3. Under Users, click Manage users.
4. In the user list, click Edit roles for the member. (If you do not see the member's name, use the search box.)
5. Under Roles, select the role to assign to the selected member.
6. Close the Web Site Administration Tool.

## Appendix B - Publishing Your Site

When you are ready to share the Web site with others, you can copy it to your Web server. You need to know the File Transfer Protocol (FTP) address of your server, and if required, the user name and password assigned to you.

1. In the Website menu, click Copy Web Site. The Copy Web Site tool displays the files from your Web site under Source Web Site.
2. In the Connections list, select Connect to....
3. In the Open Web Site dialog box, click the FTP Site tab.
4. Type the FTP address of your server, and if required, the user name and password that your hosting site has provided. The FTP URL usually has a format like this:

       ftp://ftp.servername/foldername

5. Click Open. The files on the Web server are displayed under Remote Web Site.

   Note: If you have trouble connecting to the server, contact the server administrator.

6. In the Source Web site box, select all the files.
7. Click the Copy selected files from source to remote web site button.

The files from your site are copied to the server.