(translate) understand asp.net architecture from the bottom
ObjectiveAs for the underlying working mechanism of ASP.net, the garden has recently been hotly debated. I'm sure a lot of people have seen a classic of Mr. Rick Strahl: A low-level
Do Web development or novice me, in order to get the value in the GridView, it was to save the data in the GridView to the server via the server-side control, then bind to a server-side hidden field, then read the values in the hidden fields through
1. IIS7 Management page, find the website to manage, click "Authentication" to enter, will anonymous authentication set as disabled, the Windows authentication set to Enabled, If there is no Windows Authentication entry, go to the Control Panel to
This series of articles will introduce the use of ObjectDataSource, in order to complete the content, so although simple, but still sent to the home page, do not know can notThis series of articles mainly refer to msdn,asp. NET QuickStart and
Picture path
String OldPath = Server.MapPath ("/111.jpg");
New picture Path
String NewPath = System.IO.Path.GetExtension (OldPath);
Set the coordinates and size of the interception
int x =, y = 0, Width =, height = 500;
Calculates the new file
Application of stored procedures in ASP.net ***************Background code:Using System;Using System.Collections;Using System.ComponentModel;Using System.Data;Using System.Drawing;Using System.Web;Using System.Web.SessionState;Using
Postdemo.aspx page Code post method Demo &L
t;/html>////////////////////////////////////////xm.aspx page background code using System;
Using System.Data;
Using System.Configuration;
Using System.Collections;
Using
asp.net dynamically add multiple attachments to upload. Recently asked about dynamic multiple file upload, want to do similar to the effect of mailbox add attachment, this function is actually relatively simple, is to add a file element to the form.
Many times, we may dynamically modify the configuration file in the ASP.net, we can complete the configuration file using the classes involved in the following code, the following code is an example of modifying
1, the application pool adopts Classic mode, framework4.0. There may be a permissions problem, workaround: The identity of the advanced setting is set to LocalSystem.
General MVC uses integrated mode, why should I choose Classic mode? Because you
Http://hi.baidu.com/aspxdiyer/blog/item/5515a69943232f146e068c15.html
Locate the following files in the machine where ASP.net mvc is installed (32 system is C:\Program Files\Microsoft ASP.) NET directory, copy them to the bin directory of the
The company's Web site is being transformed recently, mainly because the 2.0 website model often causes incomprehensible compilation errors and system crashes; According to colleagues, a DotNetNuke project that they are developing faces the same
#region empty all control contents on the specified page, the public static void Clearallcontent ()//////clears all control contents on the specified page, including Textbox,checkbox,checkboxlist,ra
Diobutton,radiobuttonlist. But not clear///in
These days always see csdn someone asked the TreeView and database binding problem, just these days also made a this thing. There is also a TreeView-speaking article on the internet, but the search is on that one, and it is associated with
Several points to improve the performance of ASP.net
Http://blog.csdn.net/metababy
Apply SQL Data Reader
The SQL data reader class retrieves data only once during the entire run, so applying the SqlDataReader class to replace the DataSet, DataTable,
With C # asp.net MVC implementation websocket, for WebSocket must have been very understanding, not much to say.
Things do very rough only to achieve basic chat function, but the basic communication is realized, then the expansion of the sequence
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