Find the kit
If not, go to my resource space to download first
http://download.csdn.net/source/1860028It contains 3 kinds of files.(1) Ashx(2) Swf(3) Swfuoload.js(4) Xpbuttonnotext_160x22.png PicturesCopy him to the project, specifically, you can
Recently, when deploying a asp.net application to IIS7, I have encountered some problems and now summarize the problems and deployment steps encountered in the deployment, this article only involves the basic deployment of asp.net.
One, Deployment
A preface
The log4net configuration found on the Internet is mostly for Web application projects and WinForm projects, too little or no description of Web site projects. The difference between Web application project and Web site project please
The use of role-based identity forms validation in asp.net is roughly divided into four steps
1. Configure System files Web.config
timeout= "path="/"/>
The name in the label specifies the HTTP Cookie to use for authentication. By default, the value
///get Chinese pinyin////// Character strings
/// Chinese character string Pinyin public string Getspell (String x) {int[] IA = new int[] {-20319,-20317,-20304,-20295,-20292 ,-20283,-20265,-20257,-20242,-20230,-20051,-20036,-20032,-20026,
This is one of the issues that I have recently solved, the ado.net entity Validation model added in MVC3. Of course this is a customer request, do not like this thing, each mapping database will generate a lot of code. However, the function is still
Dbcon the connection class of the database, you can invoke the static function creation///
public class Dbcon{Public Dbcon (){}
public static SqlConnection CreateConnection (){
The following string is the initial value and is replaced after reading
The source of Poplar under the Banyan Tree: Blog time: 2010-08-24 read: 3,629 times original link [favorites] Summary: ASP.net developers know that the session is very unstable in use, or not as good as cookies, this article will tell us How to use
Update Local Database
Update-database-force-connectionstring "Data source=localhost;initial catalog= database name; integrated Security=True; Max Pool size=512; Min Pool size=5; Connection lifetime=15;connect timeout = "-connectionprovidername"
Clscache public attributes
Reference content:
Valid: whether the returned value is valid. True indicates valid; false indicates invalid. Read-only.Obtain the version information of the class. Read-only.Value Returns the cached
This article is very simple, just a note of the basic code. So those who already know the method can go out.
Everyone on Earth knows why we need to upload files to the database.
Preparations:In terms of databases, we need a field of the image type
This problem occurs because the Asp.net runtime user lacks permissions. Follow these steps to modify the permissions.
Step 1:
1. Open "Control Panel", "Management Tools", and "component service"
2. Expand in sequence, "computer", "my computer",
The content of this article is only for ASP. NET 2.0 or later is applicable, and the content is very simple. It should not be stored on the homepage, but it is found that there are many developers who do not know it. It is necessary to remind you.
There is a page number control on the ASP page.
total page number of data entries: "> / "> 15 entries per page '> homepage '> previous page '> next page '> last page to the '/> page
Total number of data items: This.
1. Use querystring, such ....? Id = 1; response. Redirect ()....
2. Use session Variables3. Use server. Transfer4. Application5. 6. Database
Querystring
Using querysting to pass values between pages is already a very old mechanism. The main
/// /// Provide some verification logic that is frequently used. For example, whether the email address is valid/// Public class validator{/// /// Check whether a string can be converted to a date. It is generally used to verify the validity of the
Iii. Problems faced by servers that support ASP free homepage space and virtual host services
1. ASP code on the server may be illegally obtained by others with ASP permissions.
For example, in the asp1.0 routine provided by Microsoft, A. asp file
On the Internet, many people are asking how to implement URL transmission (Form submission) parameter encryption in the web system. For example, if you want to edit a user account and pass the user ID, the URL is as follows: http: //
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