Sometimes you can buy a virtual space for up to N sites. Generally, you only need to bind the corresponding domain names of each site to the IP address of the virtual space, and then use the followingCodeSpace sharing and site independence
Take ASP
1. Special attributes in ASP. NET:Get server computer name: page. server. manchinenameGet user information: page. UserObtain the client computer name: page. Request. userhostnameObtain the Client IP Address: page. Request. userhostaddress
2.
Because there is a simple form check function, if the input data is invalid, it is not allowed to submit
At first, I used the following method.
This. button1.attributes. Add ("onclick", "Fun ();");
Function fun (){Balabala ......Return false;}
1. in your Asp.net project, right-click> select "add web reference", find the corresponding WebService on the pop-up page, or directly enter the corresponding WebService address. OK, the proxy class is automatically generated, and then WebService is
Prerequisites: some pages involved in Web programming can be accessed only after logon. Therefore, I wrote a base class (Adminbasepage) Is used to determine, for exampleSession, cookiesWhether the page exists to control whether access is allowed.
I. cache classification in ASP. NET, three types in total Page output cache, page fragment cache, and page data cache Ii. Page output Cache You can use the page output cache to improve the performance of the web site. YesIt caches page output
I made an experiment by myself and left it as a memo. This example includes the following files:
1. mymoviecontroller. CS
2. Index. aspx
3. viewusercontrol1.ascx
4. Movie class
Here, mymoviecontroller. CS does not need to be
Properties and properties pane In the previous articleArticleAnd discussed the relationship between attributes and HTML style labels and text in the aspx file. Two points are missing: 1. Differences between encodedinnerdefadefaproperty and
When readonly = "true" is set for Textbox, if a value is added to the control on the foreground, the background cannot be obtained and the value is "null"
I have no idea about the principle, but I cannot tell you why Microsoft considers it,
The recent upsurge in Asynchronous JavaScript and XML (Ajax) is entirely due to Google's use of Google suggest and Google Maps. For ASP. NET, AJAX can be processed on the server without returning data, so that the client (browser) has rich server
Complex ASP. net server controls, a lot of time is being compiled, waiting for JIT, modification, compilation, JIT... in such a loop, two compilations are often time-consuming. In particular, when the control has been integrated into the page, it
1. sqldataread and dataset Selection
Sqldataread advantages: fast data reading. If you do not need to process the returned data in large quantities, we recommend that you use sqldatareader. Its performance is much better than that of datset.
Links: http://www.cnblogs.com/n-pei/archive/2010/10/11/1848089.html
After the National Day holiday, I just caught up with Asp.net MVC 3 beta release and shared my experience with you.
The first step is to change the selection interface when
From: http://www.asp.net/cssadapters/WalkThru/WalkThrough.aspx
Use CSS friendly control adapters to convert the ASP. Net Control to HTML page CSS style sheet that complies with web standards.For example, menus, Treeview, and other controls all
The following uses the dropdownlist control as an example to describe the data binding technology of Asp.net. It is suitable for beginners to read data without reading data.
System. Data. sqlclient. sqlconnection sqlconn = New System. Data.
The most basic element of a control is the property, which has many types. In this section, I will first introduce the following simple attributes. Let's take a Textbox, the most familiar control, text (string), enabled (bool), and columns (INT) are
If you want to reprint it, Please retain your copyright:/** Description: ASP. NET custom server control internal details series tutorial* Auther: chongchong-innocent haoban* MSN: chongchong2008@msn.com* Dates: 2007-05-20* Copyright: chongchong2008
The theme feature is added in ASP. NET 2.0, which makes it easier for websites to skin over.
Theme implementation includes: CSS, skin, and masterpage.
CSSIs used to control the appearance of all HTML tags.
SkinIs used to control the appearance
My sister started learning ASP. Yesterday I asked my question about the difference between ASP and Asp.net. I didn't answer the question... it's too embarrassing...
Asp (Active Server Pages) is a web application Program developed by microsfot
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