With the development of Internet applications, the application model of the three-tier architecture is also favored by more people. This article introduces three-tier structure applicationProgramAnd introduces how to establish a three-layer ASP
1. Page InitializationAfter a page is requested, the first stage is to initialize the Page Object of the page. During the initialization process, the server generates a page_init event. developers can use this event to control the page, orProgramTo
This is what I found in the garden,ArticleThe analysis is very careful and helpful!ASP. NET 2.0 "ins" (reproduced)Aspnetdb database relationship diagram, tables, and views (1) Basic Tables and independent tables (reproduced)Aspnetdb tables and views
Cookies are often used to identify users. Cookie is a small file that the server stays on the user's computer. Each time a computer requests a page through a browser, the computer sends a cookie.
Cookies are not stored on the server, but
1. Understand the Web. config file The Web. config file is an XML text file used to store ASP. NET web applications. Program Configuration information (for example, the most common setting of ASP. NET web application authentication method), it can
In fact, the so-called pseudo-static page refers to URL rewriting, which is very simple to implement in ASP. NET. The following is a simple process that experts do not need to read.
First, you need to reference two DLL files in your project:
1. response. redirect the method used to jump to the page is not fast, because it takes two rounds (two PostBack times), but he can jump to any page without Site Page restrictions (that is, he can jump from Yahoo to Sina ), logon protection
Response. Write (array. indexof (ABC, "3", 1); // search for "3" in the ABC array, starting from ABC [1] Response. Write (array. lastindexof (ABC, "3"); // search for "3" in the ABC array. -----------------------------------------------------------
VBScript Functions
Function Description
Example
ABS (numerical value)
Absolute value. The absolute value of a number is its positive value. The absolute value of a null string. Uninitialized variable, which is absolutely 0
Output files directly to the client
// Download transmitfileProtected void button#click (Object sender, eventargs E){/*Microsoft provides a new transmitfile method for the response object to solve the problem of using response. binarywriteWhen a
The first solution to Asp.net page garbled: Requestencoding = "gb2312"Responseencoding = "gb2312"/> Asp.net page garbled second solution: Third solution to Asp.net page garbled: Specify the file name when downloading the file, The Chinese file name
1. Press enter to not submit data.
If (window. event. keycode = 13)
{
Event. returnvalue = false;
Event. Cancel = true;
}
2. Press the Enter key in the file box to trigger the submission event.
Textbox1 . Attributes. add ("onkeydown", "If (event.
When using commands, although the standard practice is to include commands at the beginning of a file, they can be located anywhere in the. aspx or. ascx file. Each instruction can contain one or more attributes specific to the instruction (in pairs
Generate high-performance, scalable Web Applications Program One of the most important factors is the ability to store these items in the memory during the first request, whether they are data objects, pages or some parts of pages. These items can
Using system; Using system. collections. generic; using system. LINQ; using system. web; using system. web. security; using system. web. ui; using system. web. UI. htmlcontrols; using system. web. UI. webcontrols; using system. data; using system.
Document directory
Store compressed files in the output Cache
If the client does not accept the compressed memory
Compression negotiation
How does the server know that the browser can receive compressed content? How does the browser know that
Building a high-performance ASP. NET Site Chapter 5-Performance Tuning Overview (Part 1)
This article describes how to use some simple tools to analyze some data related to site performance. In the previous article, we discussed the general process
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service