Request and response of six objects in Asp.net
The six objects in ASP. NET are essentially only attributes in context, not objects strictly.
1. Request --> Read the value sent by the client during the Web Request
2. Response -->
Asp.net server processing page Process
The browser sends a request -----> server software IIS ------> can process (for example, static page) -----> directly reads data and returns it to the browser -----> the Browser executes and displays
|
| -
In the Web 2.0 era, many websites adopt Ajax technology. The cost of a better user experience is that the content search engine obtained by JavaScript cannot be crawled. Google is also studying this technology. This article discusses ASP.
In ASP, a special statement is used to detect the resolution. You can enable the server to automatically select the page version to be sent based on the resolution.
ProgramAs follows:
To determine the screen resolution of the client,
From a person called
IvonyIt seems that it is on csdn.
First, IIS receives the request and sends itASP. NET.ASP. NETThe first thing to do is to create an httpcontext object.Then, httpapplication starts to take over.The first is to trigger the
ASP class usage
ASP class
Strictly speaking, ASP is not a programming language, so there is no such concept. Here we say that ASP class refers to the class used by VBScript in ASP.
ASP class is relatively simple, it does not have the inheritance,
Effect:In the application_start method of Global. asax of the websiteAdd a timer to regularly call WebServiceA method of this WebService is responsibleAdd data to a table in the database
Steps:1. Create a website through2. Join global. asax3. Add
> 1. Determine whether injection exists.
; And 1 = 1
; And 1 = 2
2. Determine whether it is MSSQL.; And user> 0
3. The injection parameter is a character.And [query condition] And ''='
4. parameters are not filtered during search.'And [query
The Caching cache is used to save and reuse some frequently-used data that generates a relatively high cost. Generally, data is stored in the memory, because reading data from the memory is faster than reading data from a database or other
During the development process, I was always confused by the problem: if there are several logical forms on the page, it would be okay if you click the corresponding buttons. However, if you press enter directly after entering the form content, the
MVC is an excellent design mode. In MVC design mode, m represents model, c Represents controller, V represents viewer, and is also a model layer, control layer, and view layer.Model is the place where business logic is implemented. controller
URL ing is a new feature in ASP. NET 2.0. The URL ing technology helps us map a specific URL to another URL. For better understanding, we assume that you have a page named homepage. aspx on the website to access the Home Page. All users also use
There may be a lot of criticism, but I think this is really good. I have read about 20 refresh dynamic drop-down lists, and they are a mess under Firefox. for this I spent almost two days, that is, how to keep the value of the second list box
Create a Windows application and add two textbox text boxes and one button;
2. Add a class MD5 and introduce the namespace: using system. Security. cryptography. The class MD5 code is as follows:
Using system;Using system. Collections.
Aspx:
test
Aspx. VB:
Partial class _ defaultInherits system. Web. UI. PageImplements system. Web. UI. icallbackeventhandlerDim _ callbackresult as string = nothingProtected sub page_load (byval sender as object, byval e as system. eventargs)
Learning every language is essential to learning controls. Controls in the development environment of each language are similar. The Asp.net control is very simple. You can set the properties of the control to directly use the control. In CS, if the
ASP is a Microsoft technology. It is a server-side scripting technology that enables scripts embedded in web pages to be executed by Internet servers.
Active Server Pages (Dynamic Server Page), programs running in IIS.
Learning ASP. net Video, first
What is a three-tier architecture?
Let's talk about the three-tier structure in the hotel.
Waiter: hospitality/submit menu
Chef: raw materials, cooking, and food delivery
Purchasers: Procurement
Layer-3 Structure Analysis
(1)
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