Professional ASP.NET 3.5 in C# and Visual Basic Part 63

Professional in C# and Visual Basic Part 63. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 11 IIS7 Hierarchical Configuration The new IIS7 and integrated configuration system consists of a hierarchy of configuration files where lower-level configuration files inherit the configuration settings from higher level configuration files. The lower-level configuration files can override only those inherited configuration settings that are not locked in the higher level configuration files. In this section you ll learn how the IIS Manager takes the hierarchical nature of the IIS7 and integrated configuration system into account. Let s begin with the configuration settings. Launch the IIS Manager again select the node that represents the local Web server in the Connections pane and switch to the Features View tab in the workspace pane. The result should look like Figure 11-11. Now double-click the Session State icon in the workspace pane. You should see what is shown in Figure 11-12. Note that the workspace now displays the GUI that allows you to change the session state configuration settings. Go to the Session State Mode Settings section change the mode to Not enabled and click the Apply link in the Tasks pane to commit the changes. Now open the root file located in the following directory on your machine SystemRoot Framework versionNumber CONFIG Figure 11-12 577 Chapter 11 IIS7 You should see the highlighted portion shown in the following listing configuration sessionState mode off configuration As this example shows you can use IIS Manager to specify the configuration settings as you do for the IIS settings. The tool is smart enough to know that the machine-level configuration settings should be saved into the machine level file known as the root file instead of . The previous example changed the session state configuration settings at the machine level. Now let s change the session state configuration settings

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
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.