Creating a Simple ASP.NET Web Application Using VS .NET

Creating a Simple Web Application Using VS .NET In this section, you'll see how to create a simple Web application that contains a text box and a button using VS .NET. | Creating a Simple Web Application Using VS .NET In this section you ll see how to create a simple Web application that contains a text box and a button using VS .NET. When you press the button a string of text will appear in your text box. You ll learn how to deploy this application to Microsoft s Internet Information Server IIS . You ll also see how to run the example Web application from Internet Explorer. Note IIS is software that allows you to run Web applications and display HTML pages. To deploy the applications shown in this chapter you ll need access to a computer that runs IIS along with the FrontPage Server Extensions. These extensions allow you to deploy an Web application from Visual Studio .NET. You can find full information on installing IIS and the FrontPage Server Extensions in the Windows online help documentation to access this documentation select Start Help. Perform the following steps 1. Start Visual Studio .NET VS .NET and select File New Project. Select Visual C Projects from the Project Types area on the left of the New Project dialog box and select ASP .NET Web Application from the Templates area on the right. Enter http localhost MyWeb-Application in the Location field as shown in Figure . Figure Creating an Web application in Visual Studio .NET Note The name localhost represents your local computer on which you are developing your Web application. If you re using IIS that is running on a computer other than your local computer you should replace localhost with the name of the remote computer. 2. Click the OK button to continue. VS .NET will create a new directory named MyWebApplication in the wwwroot directory this is the directory where IIS stores published Web pages and applications. After you click the OK button you ll see the new application being sent to IIS. Once your application has been deployed to IIS VS .NET will display a blank Web form. You can think of the Web form as .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
5    176    1
5    255    1
5    106    0
5    121    1
6    103    1
6    107    1
6    121    1
6    103    0
6    140    0
6    98    0
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.