The trend of Web Development Learning Web Standards should be in order to better understand ASP. NET but learning OOP, however, learning this knowledge does not mean that you are a qualified ASP. NET programmers, because you are still bound by ASP ideas, I will tell you how to solve these limitations.
First, we need to see how ASP. NET "ensures" that you are continuously banned from ASP. If I compare ASP to a laundry board and ASP. NET to a washing machine, ASP. NET is a little too "versatile", because you can choose:
◆ Throw the clothes, pour the water in, and reach out and clean the clothes in the old way;
◆ Or use the automatic water intake function of the washing machine to replace the above water pouring steps;
◆ You can also pull its unique reinforced laundry board from the inside of the washing machine to get a cleaner effect than the old laundry board;
◆ Even hand-washing and machine-washing. There is always a mixed washing method that can satisfy your desire to wash clothes and your need for clean clothes at the same time.
There is a serious problem with this washing machine, that is, trying your best to entice you to put your hands in, and all you need to do is to cover the washing machine and manage your hands.
Here, I must assume that you have broken down the user manual of the washing machine. In fact, I mean that you have described a qualified ASP in the previous article. NET programmers must learn everything. Now that you know how to run ASP. NET, you must avoid operations that do not conform to this mode. For example, if an ASP. NET processing program is three-dimensional, you must refuse to perform the operations on those tablets.
At first, you will certainly be very uncomfortable, for example, why the washing machine is not as clean as the hand washing, or why I need to remember the complicated laundry programming settings. However, this problem is not caused by ASP. NET, but it comes from your lack of in-depth understanding of it, so you do not know how to make it look at your goals perfectly, at the same time less effort. In this transition phase, persistence is most required. You may find ASP at the beginning. the functions that NET can achieve are really different from your goals, but as long as you are not eager to achieve the goal, but carefully explore ASP. NET, then one day you will find that no matter how strange the demand is, you can always provide a simple ASP.. NET solution.
Qualified ASP. NET programmers
This part of content should belong to trouble-shooting. If you are interested, you can check whether you belong to a certain category of trouble:
◆ Do not use WebControl. Use HtmlControl only when necessary;
◆ In ASP. NET 2.0, the DataSource control is never used, and the Manual DataBind method is used;
◆ Use Response. Write to output the script or debugging information, instead of using ClientScript and Trace;
◆ Read data directly from Request. Form, instead of from NameValueCollection when LoadPostData is used.
If you hit any of the above trouble categories, the reason is that you did not adhere to ASP. NET usage principles, but tried to solve the problem using ASP. The solution is to refuse to continue using ASP, and then gain an in-depth understanding of the internal operating mechanism of ASP. NET, so as to select a correct ASP. NET solution.
Finally, if you want to pay more attention to ASP. NET operating mechanism updates, you can subscribe to Cat in dotNET directly.
- Microsoft released multiple function updates for ASP. net mvc 2 preview Edition
- ASP. NET Server custom control security guidelines
- Analysis of ASP. NET programming standards and Their encoding specifications
- Introduction to ASP. NET sessions
- ASP. NET programming tool ASP. NET Web Matrix