DreamwaverMX and ASP.NET(1)
Author:Eve Cole
Update Time:2009-05-31 21:06:39
Since Microsoft proposed the .NET strategy, programming enthusiasts have flocked to it. However, .NET is indeed surprising, with a new language C#, a new web service----web service, and of course the next generation of ASP------ASP, which is the favorite of most web editing enthusiasts. net. However, ASP.NET has not become popular simply because there is no good editor. People have experienced handwriting tablets, VisualStudio.NET and other editors, and it was not until the emergence of Dreamwaver MX that they truly reached the point where they no longer need to write code by hand.
DreamweaverMX perfectly combines databases and web pages, and supports new web page programming. It supports ASP.NET (C#), ASP.NET (VB), ColdFusion, JSP, ASP, XML, PHP, and HTML. , simply omnipotent. The following is the editor’s experience in trying out Dreamwaver MX for everyone to study.
Machine software requirements
Operating system: Windows 2000 or Windows XP professional (it’s time to phase out 98^_^)
Required software: .NET Framework Redistributable (Download address: http://asp.net/download.aspx) Dreamwaver MX (Download address: http://www.macromedia.com/software/trial_download/)
After installation, let us start our ASP.NET journey.
1. Build an ASP.NET site
STEP 1 Preparation:
To run ASP.net pages, the computer must have a server program (IIS) installed to provide support for ASP.net. So we must install IIS, which can be installed by adding windows components in Add and Remove Programs.
Use Internet Manager (Control Panel │ Administrative Tools │ Internet Manager) to create a new web site pointing to the folder where you want to place the generated pages.
[Figure 1-1 Internet Manager settings]
Copy all the files under SampleGettingStartedTutorial and SamplesDatabase in the Dreamwaver MX installation directory to the folder you just set.
[Figure 1-2 Page content]
This example is a taxi service center, part of which needs to publish the contact numbers, FAX and other information of taxi companies in various regions on the web page. The following work is completed using Dreamwaver MX.
STEP 2 Create web site:
Open Dreamwaver MX, click Site, and select New Site.
[Figure 1-3 New site]
Dreamwaver MX supports two new site modes:
(1)Basic: Use wizard to create, convenient and simple, first choice.
(2)Advanced: It is more troublesome but has many setting options. The editor recommends using Basic mode to create it first, and then using Advanced mode to modify it.
Let's use Basic mode to create a new site:
In the first step, fill in the site name and click next
[Figure 1-4 Create a new site basic step1]
The second step is to select the site type. Determine whether to use server-side technology. Since this example uses ASP.NET, select the second option and select ASP.NET in the drop-down box.
[Figure 1-5 Choose whether to use server-side technology]
The third step is to set the properties of the test site. Select the test method and the directory where the files should be placed, and click next.
[Figure 1-6 Test site attribute settings]
Step 4: Set the URL of the site and click next.
[Figure 1-7 Site URL settings]
The fifth step is to set the shared file. Since this instance is debugging at this level, select the second item and click next.
[Figure 1-8 Shared file settings]
All that's left is the site summary, click Done.
[Figure 1-9 Site summary]