TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 148

Professional in C# and Visual Basic Part 148. 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 31 Configuration validateRequest Specifies whether should validate all the incoming requests that are potentially dangerous like the cross-site script attack and the script injection attack. This feature provides out-of-the-box protection against cross-site scripting and script injection attacks by automatically checking all parameters in the request ensuring that their content does not include HTML elements. For more information about this setting visit http faq . namespaces Optionally you can import a collection of assemblies that can be included in the precompilation process. compilationMode Specifies how should compile the current Web application. Supported values are Never Always and Auto. When you set compilationMode Never this means that the pages should never be compiled. A part error occurs if the page has constructs that require compilation. When you set compilationMode Always this means that the pages are always compiled. When you set compilationMode Auto does not compile the pages if that is possible. Include Files Unlike and and support include files in both the and the files. When configuration content is to be included in multiple places or inside the location elements an include file is an excellent way to encapsulate the content. Any section in a configuration file can include content from a different file using the configSource attribute in the pages section. The value of the attribute indicates a virtual relative filename to the include file. Listing 31-27 is an example of such a directive. Listing 31-27 Adding additional content to the file configuration pages configSource configuration The configuration include files can contain information that applies to a single section and a single include file cannot contain more than one configuration section or a portion of a .

TỪ KHÓA LIÊN QUAN
Đã 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.