Today, the website is upgraded to ASP. net4 Based on. NET framework4 (webform ). Some minor problems encountered in the middle. Record them here. In case of any brother, it will benefit the society...
If you first open the solution with vs2010, it
Microsoft IIS Fax file name: x.asp;x.jpg/x.php;x.jpg when the file name is x.asp;x.jpg, Microsoft IIS automatically parses the file in ASP format. When the file name is x.php0000x.jpg, Microsoft IIS will automatically parse it in PHP format.
Common detection for ASP Web pagesCodeIs very practical!
Current server time:
Server CPU model:
Current Resolution:
Display color:
Server address:
Server language:
Visitor IP:
Visitor browser version and system:
Files accepted by
ASP. net2.0 provides a powerful Treeview control, but it seems to have a flaw: it does not seem to be able to track the last Node Selected by the user. If you scroll to 50th nodes and expand the node, after you click the link page to send back, you
I have read some records of Microsoft courses.
Cache Usage: to cache data that is frequently accessed and has little change. Cache the entire applicationProgram(But these settings and objects must not change during their lifetime)
Two
By default, the control that is provided in a DataGrid's edit mode is the Textbox Control, unless of course you are using edititemplates, which is left for another discussion. in edit mode, the textbox is pretty wide. what if you want to make it
Scott Guthrie presented ASP. net mvc framework at the alt. Net Conference, whose CTP version will be released by the end of this year.
This framework supports the following features:
Provide native TDD model support for Controller
Support
Record some processes for individuals to learn Asp.net MVC:
Asp.net MVC (11) custom view Engine
MVC has not been updated for a long timeArticleBut this article is very useful in actual projects. For example, we can specify two different view
This article describes how ASP. NET calls multiple endpoint and multiple contract WCF services, including the following implementation:
ASP. NET calls the WCF Service
WCF Service library, on the IIS HOST
Multi-endpoint and
This issue is mainly about permissions.
1: Install the Excel software for office on the server.2: Enter dcomcnfg.exe in "start"-> "run" to start "Component Service"3: Double-click "component service"> "computer"> "my computer"> "DCOM configuration"4
Use in MVC see http://www.cnblogs.com/feelboy/archive/2011/07/02/2096146.html
Use dataannotations verification in Asp.net projects see http://www.cnblogs.com/hjf1223/archive/2010/11/07/independent-dataannotation-validation.html
In my library
Add the following directives in the web. config file of the Web application between the tag and the tag:
Clear out the wss asp. NET handler and specify the default ASP. NET handler for all pages. --> Httphandlers > Clear />
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/codeshark/archive/2008/05/23/2473664.aspx
Method 1: Download transmitfile. Write the specified file directly into the HTTP Response output stream, instead
1. SQL cache: by configuring the database connection pool, the cache changes only when the database data is changed:Register the connection pool command: C: \ dir aspnet_regsql.exe the dedicated connection pool registration tool changes in the SQL
This is a collection written in Asp.net.Program. The problems we encounter are gradually accumulated here. When we encounter these problems in the future, we will have an impression that we can come here to find a solution. Directory
A. Why can't I
Httpresponse. filter attribute, similar to httprequest. filter, but one is the exit, the other is the entrance (imagine the parking lot). The data between the two points is processed by the server, and the data beyond these two points is processed
C # Code
string insertqxlb = " " ;
foreach (treenode T in treeview1.checkednodes)
{
Insertqxlb + = T. Text +",";
}
In this way, all the selected node values are obtained. Note that this is Treeview has
'================================================ =====
'Return IP information Disp_IPAddressData (IP, 0)
'================================================ =====
Function Look_Ip (IP)
Dim Wry, IPType, QQWryVersion, IpCounter
'Set the Class
In asp.net 2.0, you can hide an item in listbox, such
ListItem item = new ListItem (text, value, enabled );
Of course, you can also use
Item. Enabled = false;
Although hidden in the Page, you can still use code to access the hidden options. The
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