VS2010 make the first simple website _ Practical Skills

Source: Internet
Author: User
Tags ftp protocol

To make a simple example Web site:

Start the VS 2010 Development environment, select "File" from the menu, select "New" in It, and select "Web Site", pop-up the "New Web Site" dialog box.


Second, in the New Web Site dialog box, select Visual C # in installed templates, and select ASP on the right. NET Web site option, click File System in new Web site, the dropdown menu has "file system", "http", "FTP", respectively refers to the site in the local file system, the HTTP protocol and the FTP protocol in the remote system, where we choose "File system." Click the browse button to eject the Select Location dialog box.


Third, in the "Choose a location dialog", this we will depend on the situation. Here we choose "E:\Web\ Book example source code \chapter01\ch1-1", click the Open button, go back to the New Web Site dialog box, click OK, complete the new Web site.


Click the "Source" button on the open page, modify the code, delete the contents of the label "

Web site, and delete the contents of both sets of labels <p></p>.


Click the Design button, type the TextBox control I dragged:, drag the TextBox control from the Toolbox, and then type the button I dragged

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


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

Try "dialog box.


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


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


By VS2010 how to make their own first simple Web site, have you learned? Quickly follow the pace of the small series to practice it.

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.