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
original link
Code Download: Http://files.cnblogs.com/n-pei/mvcfileupload.zip
Recently because teamvideo need to use video and picture upload function, so try to Google a lot of information, and share with you.
1. The most basic file upload.
The
///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,
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
Search the Internet for a 籮 basket of C # problem, now sorted, put here, I hope to be able to help you reader
1. Briefly describe the access rights of private, protected, public, and internal modifiers.
For. Private: Privately owned members that
As the saying goes, often walk along the river where there is no wet shoes. The system was reinstalled a few days ago, and recently the. NET program needs to be published with IIS. I have always been very relieved that IIS unexpectedly threw out a
These days, the SQL injection hole really hurt God, online code a lot of not very esoteric is trouble
Finally found a universal anti-note code, sharing, hehe
Simple to operate, as long as the inclusion or put into the conn.asp, to fix
Finally, it is
By the way, I sorted it out for your reference:
(1). Asp.net Repeater control
1. Example Image
2. UsageCodeDownload
Http://www.cnitblog.com/Files/ChengKing/Reapter.rar
(2). Asp.net datalist Control
2. Download the usage code
Http:/
In learning. in the process of net, we often encounter some commonly used terms and abbreviations, some may be very familiar with, some may only know their "sound" and do not know their "meaning ", in order to let everyone better understand their
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.
Asp.net MVC officially released version March in 1.0. Here is a brief introduction.
Http://www.cnblogs.com/QLeelulu/archive/2008/10/05/1303997.html
Lulu studio has written a lot of articles about MVC, which is worth reading.
If English is good
/// /// 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
The basic data types of. NET are defined under the system namespace, and their classes are defined as integer variables.
Sbyte-system. sbyte range:-128 to 127 byte-system. byte range: 0 to 256
Short-system. int16 range:-32768 to 32767 ushort-system.
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
Parameter transfer for dynamic calling of unmanaged DLL in Asp.net
Author: proud catSource: http://blog.csdn.net/shardowm
Recently, due to work reasons, I encountered the problem of calling the unmanaged DLL parameter transfer in Asp.net. It took me
Your homepage or website you manage has various passwords that need to be protected. There are many security risks when you directly store passwords in databases or files. Therefore, encrypted password storage is the most common practice. Encryption
The processing cycle of ASP. NET pages is as follows:
1. the user requests a page through the client browser and the page runs for the first time.
2. ASP. NET on the Web server processes the requested page and translates it into HTML and JavaScript.
In Asp.net, we strongly recommend that you use parameters to implement SQL statements instead of SQL concatenation, because even if you filter hundreds of passwordsFor example:
Sqlconnection conn = new sqlconnection (system. configuration.
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