Installation and use
Requirements
AlbumOnNet requires .Net FrameWork 1.1 SP1 or .Net 2.0
Visual Studio 2003, 2005 and WebMatrix is supported.
.Net 1.1 installation: Use the AlbumOnNet.dll file found in the folder Install\NET11
.Net 2.0 installation: Use the AlbumOnNet.dll file found in the folder Install\NET20
Follow instructions below.
Adding the WebControls to the Toolbox in Visual Studio.Net 2003/2005
-
Open a WebForm in Design Mode in Visual Studio.Net.
-
Right click the Visual Studio Toolbox and select Add Tab
-
Name the new Tab "AlbumOnNet"
-
Select the new Tab
-
Right click inside the new Tab and select Add/Remove Items.../Choose Items...
-
Select Browse... and locate the AlbumOnNet.dll file.
-
Click OK. The WebControls should now be visible in the ToolBox.
-
You can now drag and drop AlbumOnNet WebControls from the Toolbox in Visual Studio onto your
page, just like any other WebControl.
Adding the WebControls to the Toolbox in Microsoft ASP.NET Web Matrix
-
Adding the AlbumOnNet WebControls to the Toolbox in Web Matrix.
-
Select the "Custom Controls" tab.
-
Right-Click in the Toolbox and select "Add Local Toolbox Items..."
-
Click "Browse..." and locate the AlbumOnNet.dll file.
-
When WebMatrix ask if you want to add the control to the GAC, answer No.
-
The WebControls should now be visible and available in the Toolbox.
-
You can now drag and drop AlbumOnNet WebControls from the Toolbox in Visual Studio onto your
page, just like any other WebControl.
-
Always create a proper web application when using AlbumOnNet (E.g. using Internet Service Manager)
-
Place the AlbumOnNet.dll in the applications bin directory. (Create the directory manually if it does not exist)
Enhancing the IDE Design mode experience (Visual Studio, WebMatrix)
-
Completing this step will enhance the Design Mode in IDE's.
Normally when viewing a SlideShow or Album inside the IDE, it will not display any images.
AlbumOnNet supplies a standard preview image file that can be used for IDE design work.
-
Unzip the AlbumOnNet.zip file to C:\AlbumOnNet on the local machine.
You should then have the directory C:\AlbumOnNet\Install\skins on your machine and you can
skip part 3.
-
If you choose another installation directory than C:\AlbumOnNet, edit the content of the AlbumOnNet.reg file
found in the Install subdirectory to point the location you chose.
DoubleClick on the AlbumOnNet.reg file.
-
These steps will ensure that the image files Install\skins\designslide.jpg and Install\skins\designthumb.jpg
is used when working with the Album and SlideShow control in design mode in Visual Studio and Web Matrix.
Enable AlbumOnNet in your ASP.NET application
-
Copy the AlbumOnNet.dll file to the bin directory of your application. (Visual Studio does this automatically if you drag and
drop the control from the ToolBox into the design surface.)
-
Make sure to add a reference to AlbumOnNet.dll in your project. ((Visual Studio does this automatically if you drag and
drop the control from the ToolBox into the design surface.)
-
Read at least the first page of the Help file!
-
IMPORTANT NOTE. PLEASE DO READ.
AlbumOnNet creates thumbnail files and XML files in the folders where images are stored.
If this is supposed to work, you will need to grant file access rights to the anonymous ASP.NET user.
Granting full file access right to the directory where your images are stored:
Grant it to the computer's anonymous ASP.NET user (normally the user named ASPNET).
You can do this by right clicking the folder in the File Manager, Selecting Properties->Security->Add, selecting and adding the
ASPNET user and grant full rights.
-
Study the Demo pages if needed.
-
For licensed versions, copy the AlbumOnNet.lic file to bin directory of the application.
Get the Demo Pages up and running
-
Copy the AlbumOnNetDemo folder to your web server, or to the root of the web on your local machine (typically c:\Inetpub\wwwroot).
-
Create a virtual directory for AlbumOnNetDemo folder.
This can be done using Internet Service Manager, or by right clicking the folder in the File Manager,
selecting Sharing->WebSharing->Share this folder.
-
IMPORTANT NOTE. PLEASE DO READ.
AlbumOnNet creates thumbnail files and XML files in the folders where images are stored.
If this is supposed to work, you will need to grant file access rights to the anonymous ASP.NET user.
Granting full file access right to the album sub directory:
Grant it to the computer's anonymous ASP.NET user (normally the user named ASPNET).
You can do this by right clicking the folder in the File Manager, Selecting Properties->Security->Add, selecting and adding the
ASPNET user and grant full rights.
-
Point your browser to the newly created virtual directory (e.g. http://localhost/AlbumOnNetDemo)
Get the Demo Gallery Application up and running
-
Follow the instructions found in the AlbumOnNetApps/readme.txt file.
|