After nearly a month of hard work, I have finally had some time to write something. You can also make a summative statement on this project.
Today, my mood is relaxed. At night, I finally went to an elective course. The teacher gave us the internal
1. querystring []
Advantage: it is easy to use and highly efficient to transmit numbers and text values when security requirements are not high.
Disadvantage: the security is not high, the parameter value is directly exposed in the URL, the
In ASP. NET applications, there are multiple ways to navigate between Web forms: Using Hyperlink, using Response. Redirect, using Server. Transfer, or using Server. Execute.
1. hyperlink
WebForm4.aspx
When the user clicks this hyperlink,
(1) double quotation marks must be added to both sides of the string to indicate that this is a string. The double quotation marks on both sides of "abc", "def", and "gh" indicate that this is a string.
String a = "abc" + "abc ";
A = "abcabc ";
(
Using System; using System. collections. generic; using System. linq; using System. web; using System. web. UI; using System. web. UI. webControls; public partial class Default4: System. web. UI. page {// /// obtain the Cache object Value of the
Add a hidden control and use Style = "display: none;" to hide it. Write the method in the Click Event of the control and call onclick of the Control Using JS.
The procedure is as follows:
Front-end:Code
Code highlighting produced by Actipro
Typically, applications can store frequently accessed data and data that requires a large amount of processing time to be created in the memory, thus improving performance. For example, if an application uses complex logic to process a large amount
ASP. NET 2.0 retains all the caching functions of ASP. NET 1.1. It also adds new functions and enhances existing functions. The new features include cache configuration files, custom cache dependencies, SQL cache dependencies, and creating dynamic
We encountered one or more problems when uploading large files. Setting a large value of maxRequestLength does not completely solve the problem, because ASP. NET blocks the entire file until it is loaded into the memory and then processes it. In
The following table shows events that can be intercepted using ASP. NET during request processing. All events are listed in the order of occurrence.
The first list displays the events generated before processing the request.
Beginrequest. This event
1. Configure the Security Authentication Mode
In the Web. config file, you can configure the Security authentication mode used by ASP. NET in the section to identify the passed-in user.
...
sectionModeIs a required attribute. Specifies the
Context: Generally, the system has different user roles, such as system administrator admin, Super User manager, and general user worker.Previously, a session was used to reserve a value, for example, session ["userType.Features: convenient, but
When using the ASP: FileUpload control in the asp. NET control, you sometimes need to upload large files. By default, the maximum size of uploaded files is 4 MB. How to implement it?
You only need to change the two default settings in the
Summary
1. Some interesting posts and tools
Basic
1: getting started with Internet protocols
2: HTTP protocol
3: HTTP status code details
4: Protocol Forest
5: restful (network is software)
Technical Articles
1: ASP. NET controls HTTP Cache
2:
Many database operations require transactions. There are roughly three levels of transactions under Asp.net:
(1) transactions at the stored procedure level
(2) Ado. Net transactions
(3) Asp. Net page-level transactions
The following are
There are two request methods: Post and Get.
If they explore their differences in principle and involve the details of the Http transmission protocol, then Cheng Hua will do something for others. If you have time, please consult Huawei experts, I
Preface
In the previous article, we implemented the first ASP. net mvc page. For those who have never touched this framework, they may be confused in some places. So in this article, I will introduce some ASP from a global perspective through the
I mentioned earlier in MVC process analysis that I prefer to use Velocity instead of WebForm. This is not to say that WebForm itself is poor, not to mention the reason for "performance. In actual development, the pages we face are often very complex,
Recently, I just finished a B2C e-commerce WEB site. Now let's make a summary of the project. The first thing to talk about is the performance of ASP. NET.
1. When it comes to ASP. NET performance, you can't leave ViewState alone. I don't need to
Original http://blog.csdn.net/summer_dream_journey/article/details/8998338
The project is used, so it is fully written for reference.
[Csharp]View plaincopyprint?
DateTime dt = DateTime. Now;
Int weeknow = Convert. ToInt32 (DateTime. Now.
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