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

Professional in C# and Visual Basic Part 116. 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 24 Debugging and Error Handling Section Description Request Details Includes the Session ID the character encoding of the request and response and the HTTP conversation s returned status code. Be aware of the request and response encoding especially if you re using any non-Latin character sets. If you re returning languages other than English you ll want your encoding to be UTF-8. Fortunately that is the default. Trace Information Includes all the methods called during the lifetime of the HTTP request and a great deal of information about timing. This is probably the most useful section for debugging. The timing information located here is valuable when profiling and searching for methods in your application that take too long to execute. Control Tree Presents an HTML representation of the Control Tree. Shows each control s unique ID runtime type the number of bytes it took to be rendered and the bytes it requires in ViewState and ControlState. Don t undervalue the usefulness of these two sections particularly of the three columns showing the weight of each control. The weight of the control indicates the number of bytes occupied in ViewState and or ControlState by that particular Control. Be aware of the number of bytes that each of your controls uses especially if you write your own custom controls as you want your controls to return as few bytes as possible to keep overall page weight down. Session State Lists all the keys for a particular user s session their types and their values. Shows only the current user s Session State. Application State Lists all the keys in the current application s Application object and their types and values. Request Cookies Lists all the cookies passed in during the page s request. Response Cookies Lists all the cookies that were passed back during the page s response. Headers Collection Shows all the headers that might be passed in during the request from the browser including Accept-Encoding .

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.