tailieunhanh - Beginning Visual Basic 2005 phần 8

Thời gian thực hiện là một trong những lợi ích mà nổi bật trên phần còn lại. Khi một trang là yêu cầu lần đầu tiên, một bản sao biên soạn được đặt vào bộ nhớ trên máy chủ cho các yêu cầu tiếp theo. Điều này cung cấp hiệu suất lợi nhuận lớn trong ngôn ngữ thông dịch. | Chapter 17 Execution time is one benefit in which stands out above the rest. When an page is requested the first time a compiled copy is placed into memory on the server for the next request. This provides for great performance gains over interpreted languages. Using Visual Studio 2005 to design your applications also makes a big difference in productivity. The .NET Framework supplies thousands of namespaces objects and controls for use developing Web Forms applications. Also also supports all .NET-compatible languages. By default Visual C and are all available in Visual Studio 2005. Special Web Site Files When you work with you will see many special files. These files are very important and each could have an entire chapter written about it. The two files you will learn about next are files that you can change to make sitewide changes from one location. There is much more to learn about these and you can do research at http . This file allows you to add code to certain application-level events. The most common events are Application_Start Application_End Session_Start Session_End and Application_Error. Application start and end events fire when the actual Web application inside of IIS changes state. This event will fire with the first request to a Web site after the server or IIS is restarted. The session events fire on a per user browser session on the Web server. When you save data to the user s session you must be careful. This data will be saved for every user browser that is browsing the application. This can create an extra load on the server. The final event is Application_Error. You can use this to log all unhandled events in one common place. Make sure to redirect users to a friendly error page after logging the error. is exactly what it appears to be a configuration file for the Web application it is an XML document. You can update

TỪ KHÓA LIÊN QUAN