ArticleDirectory
Preface
Tools
Others
Preface
How can we make Asp.net websites fly faster and have better performance? -- This is a problem that many developers often think about. I sometimes perform a lot of tests or ask someone
If you see an error similar to the following:
A potentially dangerous request. form value is detected from the client (xxxxxxxxxxxxxxx).]
Check whether the validaterequest attribute is added to your *. ASPX page. This attribute is mentioned in the
I have read this article ASP. NET 2.0 internal changes, due to time reasons, I did not pay attention to it at that time. I read it again today and thought it was very good. Many people scored 9 points in the original English version.
In ASP. NET 2.0
1. Add in the header of the ASP page
Reference content is as follows:Response. Buffer = trueResponse. expiresabsolute = now ()-1Response. expires = 0Response. cachecontrol = "no-Cache"Response. addheader "Pragma", "No-Cache"
2. Add
Asp.net form verification controls use collection
Verify the price (only integers or decimals are allowed ):
Verify email format: faron@163.com
Format of the verified phone number: 0571-88888888,13088888888
The maximum length of input characters
This Code reads records from the database and uses multiple layers to generate xml and generate files.
Clientdao. mtvxmldao Dao = new mtvxmldao ();// Place user code here to initialize the pageDatatable dtagent = Dao. mtvxmlagent ("agent_list").
I have been in touch with MVC for some time (2.0). I also saw many people studying in the garden and reading blogs written by my predecessors in the garden, which has benefited a lot. This article is based on the basics. It is only intended for
Solution:
In the system. Web Section of Web. config, add
-->
.
Other solutions on the Internet include:
1. Add to the system. Web node.
Or add system. Web. Extensions references to the project.
2. Check the system time.
Extraction from zero programming
1. database access performance optimization
A. Minimize database connections and make full use of each database connection: It is overhead to create, open, and close a connection. You can use connection pool B to
ASP. net mvc started off with the premise of being a very 'able gable' framework and we can see it almost everywhere. You can plug in any IOC container, testing framework even view engines! There are two view engines provided by default-The webforms
Although Microsoft says that Asp.net can match various mobile phone devices, there are many mobile phone models, and the mobile phone information collected by Microsoft is limited. As a result, Asp.net may not match many mobile phones. In fact, HTML
It's a waste of time in the morning to solve this problem. A small problem is really not worth it! If you are still helpless, congratulations! Here is your answer !!
I don't have to talk about it anymore!
1. Set the width and height of the
Asp.net Architecture
Processing of Asp.net requests-------------------What must be mastered by httpmoduleWhat httphandler must master is very usefulThe above two instances---------------------Asp.net event model Mechanism
-----------------------IThe
Httphandler implements functions similar to ISAPI extention. It processes request information and sends response ). The httphandler function is implemented through the ihttphandler interface. Httpmodule implements functions similar to ISAPI filter.
The functions are as follows:
Log on to SQL Server with the administrator privilege of ms SQL Server
Create a new database
Create a new user and specify users and permissions for the new database
Execute the SQL script file
Install.zip
With
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