Asp.net|dreamweaver
In the development of Web sites, especially the development of network databases, first of all, we should carefully build the Dreamweaver MX 2004+asp.net development environment. This example will show readers how to build a development environment under the Windows XP operating system.
Operation Steps
(1) Click "Start" → "Control Panel".
(2) In the Pop-up Control Panel window, double-click the Add or Remove Programs button icon, in the pop-up Add or Remove Programs dialog box, select Install IIS server.
(3) After installing the IIS server, click Administrative Tools in the Control Panel window, and then click Internet Information Services in the Administrative Tools window that pops up to set the default site properties.
(4) Install the. NET Framework. The. NET Framework is an environment for creating, deploying, and running WEB services and other applications. It consists of three main sections: the common language runtime, the framework class, and the asp.net. Installing the. NET Framework is actually building the asp.net development environment.
The. NET Framework SDK can be downloaded from Microsoft's Web site, such as the. NET Framework 2.0 and the corresponding version of the SDK Toolkit download installation URLs are as follows:
① . NET Framework 2.0 framework (. NET Framework, version 2.0, beta-Release component package test version 2 x86);
② . NET Framework 2.0 SDK Kit (. NET Framework 2.0 SDK Beta 2 x86);
(above two download address, can copy "CD" directly | "Source File" | "Instance 1" | "1.1.txt" in the content obtained)
③.net Framework 2.0 Chinese Language pack is attached to the "source file" on the CD-ROM | In "Instance 1".
(5) test environment. After installation, open IE browser, enter "Localhost/text.aspx" on the address bar, assuming that the text.aspx document does not exist, then the IE browser will return the error message. If the error message appears as shown in Figure 1-4, the asp.net's operating environment is basically built.
(6) Build the asp.net running environment in the Windows 2003 operating system.
The steps and methods for building a asp.net running environment in Windows 2000 or XP operating systems are described above. By the way, here are two ways to build a asp.net running environment in the Windows 2003 operating system.
First, use the Configure Your Server Wizard to install IIS 6.0 and ASP.net, as follows:
① into the Windows 2003 system installation disk, click Manage Your server on the Start menu;
② under Manage Your server role, click Add or remove roles;
③ read the preliminary steps in the Configure Your Server Wizard, and then click Next.
④ under Server roles, click Application Server (IIS, asp.net), and then click Next.
⑤ Select the Enable asp.net check box in the Application Server Options dialog box, click Next, and then click Next.
⑥ read the profile and click Next.
⑦ finally click the Finish button to complete the installation.
The second is to use the Control Panel to install IIS 6.0 and ASP.net, and the steps are as follows:
① into the Windows 2003 system installation disk, click Control Panel on the Start menu to open the Control Panel window;
② Double click the Add or Remove Programs icon;
③ Click Add/Remove Windows components in the Add or Remove Programs dialog box that pops up.
④ Click Application Server in the Components list box in the Pop-up Windows Components Wizard dialog box;
⑤ then click "Details";
⑥ Click Internet Information Services Manager;
⑦ Click Details to view a list of IIS optional components;
⑧ Select all optional components to be installed;
⑨ Click OK until you return to the Windows Components Wizard dialog box;
⑩ Click Next to exit the Windows Components Wizard dialog box.
(7) The steps to enable ASP.net directly in IIS Manager in the Windows 2003 server are as follows:
① on the Start menu, click Run to open the Run dialog box;
② type inetmgr in the Open box in the Run dialog box, and then click OK;
③ Expand the local computer in IIS Manager, and then click Web Service Extensions;
④ in the right pane, right-click ASP.net, and then click Allow, and the ASP.net status changes to allow.
Following the steps above, the Dreamweaver MX 2004+asp.net development environment is set up, where you can create database connections, develop network databases, and network applications. This example completes the operation.