Dynamic Web Development Technology Learning 2:vs 2010 made as the first simple example Web site

Source: Internet
Author: User
Tags ftp protocol

To create a simple sample site:

First, launch the VS 2010 development environment, select "File" in the menu, select "New" in it, and then select "Web Site", the "New Web Site" dialog box will appear.


Second, in the New Web Site dialog box, in installed templates, select Visual C #, select ASP on the right. NET Web site option, click New Network

"File System", "File System", "http", "FTP" in the drop-down menu, respectively, refers to the site in the local file system, the HTTP protocol and

FTP protocol in the remote system, here we select "File System". Click the browse button to bring up the Select Location dialog box.


Three, in the "Choose Location dialog", this we depend on the situation. Here we choose "E:\Web\ Book on the source code \chapter01\ch1-1",

Click the Open button, go back to the New Web Site dialog box, click OK to complete the new Web site.


Four, click the "Source" button in the open page, modify the code, delete the contents of the label "

Site, delete the contents of both groups of labels <p></p>.


Five, click the Design button, type the TextBox control I dragged:, then drag the TextBox control from the Toolbox and enter the button I dragged

Control:, and then drag the button control from the Toolbox.


Six, choose "Start Debugging" in the Menu "Debug" or press the F5 key, or press the application to run on the toolbar. The first time you run the Web site, the "not enabled tune

Try the dialog box.


Seven, in the Debug not enabled dialog box, click the OK button to add the Webconfig file to the Web site system.


Eight, the result of the last run in the default browser is:


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Dynamic Web Development Technology Learning 2:vs 2010 made as the first simple example Web site

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.