ASP. NET provides three main forms of cache: page-level output cache, user control-level output cache (or segment cache), and cache API. The advantage of output cache and fragment cache is that it is very easy to implement. In most cases, it is
Debug Javascript in Asp.net
CodeThe main methods are as follows:
1. Add a debugger before the JavaScript code to be debugged, which is equivalent to a breakpoint
Note: In this method, you must disable the script debugging (Internet Explorer) and
1. the ASP. NET configuration file adopts an inheritance relationship, which is: machine. config --> Web. config --> folder web. config.
2. For node nodes, When configuring permissions, we use web. config to restrict access to folders or files
[Transferred from: http://blog.csdn.net/w809038518/article/details/6754157]
Directory (?)[-]
Overview
Data-level verification
Business logic verification
Summary
Overview
In the previous section, we learned how to transfer
When ASP. NET 3 RC was released this month, I was still studying MVC application frameworks such as struts on the Java platform.ProgramFor developers, do not write large volumes of pagesCodeReally comfortable. If I hold her again and say something
Basic part of ASP. NET interview questions
1. What is packing and unpacking?
2. What is overload?
3. What is the difference between the value type and the reference type?
4. How to understand delegation?
5. UnderstandProgramIs the set
ASP. NET provides three main methods for capturing and responding to errors when an error occurs: page_error event, application_error event, and ApplicationProgramConfiguration file (Web. config ).
If you do not call server. clearerror or capture
(1). Overview
Hyperlink does not have a click event by default. A hyperlink custom control is rewritten.
Implementation principle:
By default, hyperlink jumps to the page of the click request. The custom control of this hyperlink is finally
ArticleDirectory
SQL Doc
Management table description
Custom table
As the project progresses, more and more database tables and fields are frequently changed. How to document these changes is both convenient and maintainability.
(1) There are multiple forms on the Asp.net page. One primary form is runat = "server", while others are client form with action,(2) The server control must be placed in . The server form is only for sending back. This function is generally not
**************************************** ***************************
'Get the IP address
'*************************************** ****************************
Function userip ()
Dim getclientip
'If the client uses a proxy server, use the
If response. write (""); click "OK", which may cause "dislocation" of the page ";
Encapsulate the code into a class (called pagehelper. CS), which can be conveniently called on other pages;
For example, you can call page. Alert (this, "") on other
QuerystringUsing querysting to pass values between pages is already a very old mechanism. The main advantage of this method is that it is very simple to implement, however, its disadvantage is that the passed value is displayed on the address bar of
Use IFRAME to create a fixed framework, which is convenient for pages such as background websites
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1
2
3 background
4
5
6
7
8
9
10
// Response. the filter is actually a stream type and can be written. therefore, we can perform some processing before the page is finally presented to the client, such as removing invalid characters in the page, simplified and traditional
Today, when I open a previous project and view the page display in the browser, ----- I cannot open it !!!!
Browser error:
Exception details: system. Web. httprequestvalidationexception: a potentially dangerous request.Cookie value was detected
Recently, vs2008 was installed in the notebook, and its SQL server2005 was used for learning. NET database operations, but the notebook has not been used for a long time, the keyboard has been broken, several keys did not respond, so yesterday ran
When a. Net website project references a class library, sometimes the file such as XML needs to be called in the class library, and the file path is difficult to find at this time. After studying this, we have come up with the following
After converting a PDF file into an image, we can now position each image in a rectangle, that is, to locate all the news in each image.
A rectangle has four coordinate points. In the future, we need to use VML to sketch it out, and then use
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.