- Getting Started
- Setting Up a Site in Dreamweaver
- Connecting to a Database
- Building a database driven page
Setting Up a Site in Dreamweaver
As you can see, there is a lot of set up you need to do before you even begin working with Dreamweaver. The next step is to create a new site to manage in Dreamweaver. This will allow you to set up a testing server and server language, and allow you to use templates and other tools.
To do this, open Dreamweaver MX 2004. Select Site→Manage Sites from the menu bar. This will open the Site Management tool. Choose the New Site button to open the site definition wizard. The first screen looks like Figure 3.
Name your site Northwind Site and then click the Next button.
The next screen, shown in Figure 4, will detect whether or not you have ColdFusion installed on your computer. You can also choose other server solutions here, too. From the drop-down list, choose ASP.NET VB.
Now you need to tell Dreamweaver where you're going to be testing your files. The default is to test your files on your local computer. You will also need to use the Folder Browser button to locate the folder you will be using for your files, as shown in Figure 5.
The Testing Files screen lets you choose the name of the web server you are pointing to. In this case, the default name for the server you are working on is the localhost folder by the directory name. Press the Test URL button to ensure the link works, as shown in Figure 6.
Finally, when you are done, you'll have a Summary screen (shown in Figure 7) that lists all of the changes you have made.
Select the Done button to be returned to the Site Manager window, and then choose Done again. Dreamweaver will now open into the site.
Before you can begin building solutions with Dreamweaver, you'll need to deploy some additional files for the ASP.NET functionality to be fully integrated with Dreamweaver and IIS. You will need to move the Support Files to a folder called bin off the root of your site. If you do not have a folder here, you will need to create one. Choose Site → Advanced → Deploy Supporting Files as shown in Figure 8.