Creating Web Applications with ASP.NET

Tạo ứng dụng Web với ứng dụng A Web có sử dụng thường bao gồm một hoặc nhiều trang Web hình thức, các tập tin mã, và các file cấu hình. | Creating Web Applications with A Web application that uses typically consists of one or more pages or Web forms code files and configuration files. A Web form is held in an .aspx file which is essentially an HTML file with some Microsoft .NET-specific tags. An .aspx file defines the layout and appearance of a page. Each .aspx file often has an associated code file containing the application logic for the components in the .aspx file such as event handlers and utility methods. A tag or directive at the start of each .aspx file specifies the name and location of the corresponding code file. also supports application-level events which are defined in files. Each Web application can also have a configuration file called . This file which is in XML format contains information regarding security cache management page compilation and so on. Building an Application In the following exercise you will build a simple application that uses Server controls to gather input from the user about the details of the employees of a fictitious software company. The application will show you the structure of a typical Web application. NOTE You do not need to have IIS running on your computer in order to develop Web applications. Visual Studio 2005 includes its own Development Web server. When you build and run a Web application by default Visual Studio 2005 will run the application using this server. However you should still use IIS for hosting production Web applications after you have finished developing and testing them. Create the Web application 1. Start Microsoft Visual Studio 2005 if it is not already running. 2. On the File menu point to New and then click Web Site. The New Web Site dialog box appears. 3. Click the Web Site template. Select File System in the Location dropdown list box and type C Documents and Settings YourName My Documents Microsoft Press Visual CSharp Step by Step Chapter 25 .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
2    535    1    05-07-2024
2    121    2    05-07-2024
Đã 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.