ASP. NET 2.0 provides a more convenient class for accessing configuration files. For details, see the system. Configuration namespace. This article provides a method that is commonly used in the development process to obtain database strings. For
I have been developing an Asp.net website for some time. I have always thought Javascript is a good thing. Many special effects make me think that JavaScript is a wonderful thing. So I always want to learn JavaScript well, recently, the project has
Security cannot be added to existing applicationsProgramOr introduced later in the development stage. Security was born to be associated with the functions of the application, and should be planned as one of the earliest features at the early stage
1: Configure httpruntime
Apprequestqueuelimit = "100" type = "codeph" text = "/codeph"/>
Set the timeout time and the size of the uploaded attachment. Otherwise, it is easy to report that the timeout time has reached. The timeout has expired or
1. Response2. Request3. Server4. Application5. Session6. cooki
The request object mainly allows the server to obtain some data from the client browser, including parameters, cookies, and user authentication transmitted from the HTML form using
Client browser: Client IP address: Physical path of the current file server:
Language used by the userages client host
Userhostname the DNS name of the client host
IP address of the userhostarrress client host
Useragent client browser
ABS(Number)
Returns the absolute value.
Array(Arglist)
Create an array.
ASC(String)
Returns the ANSI code of the first character of the string.
ATN(Number)
Returns the arcsin value.
Cbool(Expression)
Convert to a boolean data type
Original article: http://huerreson.cn/post/aspdotnet-multi-languages-solution.aspx
App_globalresources in Asp.net 2.0 can be used to solve the localization problem,ProgramThe localization interface is automatically displayed based on the
1. After submitting the page, keep the position of the scroll barYou can add the maintainscrollpositiononpostback command to the page command.
Reference content is as follows:
2. After loading the page, move the focus to
Identify bottlenecks
Multiple technologies can identify high CPU usageCode:
Focus on frequently executed code. Special attention should be paid to loops, especially nested loops. If the class inherited from icomparable is used for sorting,
When an image is displayed in ASP. NET, if a fixed-size container such as is specified, how can the image size be scaled proportionally according to the container size. The following is a simple function. It is calculated based on the image width
I. querystring
Querystring is a simple value transfer method. Its disadvantage is that it displays the value to be transferred in the address bar of the browser and cannot pass objects in this method. If you want to pass a security that is not so
To prevent SQL injection, modifying files one by one is not only troublesome but also dangerous. Next I will explain how to prevent injection from the entire system.
Follow these three steps:ProgramIt will be safer and the maintenance of the
Question 1:A page: The pagea. aspx webpage contains a textbox ID textbox1 and a button ID button1;A user control: the webpage of UCA. ascx has a label ID label1. This UCA. ascx is pulled into pagea. aspx.Enter a value in textbox1 and press button1.
Document directory
Transport Security
Message Security
Mixed Mode
Selecting the Security Mode
Choosing the Client Credentials
The XMLHttpRequest Object
The Ajax Same Origin Policy
The Microsoft ASP. NET Ajax Framework
Using ASP. NET Trust
"Program" position in Control Panel
Enable or disable Windows on the leftTo install IIS7, select
Function moduleInstall iisopen iismanager click iisstart.html to get the following interface. IIS is not complete here, because if you configure the asp.
The topics in this article are as follows:
Problem description
Importance of details
Problem description
First, describe the background of the story: (hope you can read the story patiently)
On the website, the page control in the webpage
First Post:
In the template page, select the page above and the background of the current page is displayed in blue.
Template page content:
CSSCSS
Code highlighting produced by Actipro CodeHighlighter
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