I have been working on this recently, so I gradually have a certain understanding of this stuff. In general, Asp. net is in. NET environment to supplement and improve asp3.0, although I see many people on the Internet said this is not the case, but I still think there are too many things is the same. Of course, all I'm talking about is at the web environment level, for example, Asp. net uses the local cache technology and viewstate, but in my opinion, you can simulate this operation in asp3.0. Now, I will instruct a new colleague to do such a job. Obviously, using this idea doesn't have to use ASP. net, as long as you use the hidden element, the same can be implemented. Of course, you can say this is very easy, but I think if you want to understand some concepts in ASP. NET, the foundation of asp3.0 will undoubtedly be of great help. Fortunately, I have worked on asp3.0 for three years. In addition, C # is a hot language that requires a lot of preparation. Otherwise, programming will encounter many difficulties. For example, C # itself is very similar to Java, this indicates that if a friend who has learned and used Java has found a language that can replace Java, but this problem still exists for those who have not experienced Java. The concepts of classes and objects are also very important. A deep understanding of these two concepts can greatly reduce the compilation Code Can greatly improve the code structure, maintainability, and reusability. When it comes to reuse, I think of my own experience, that is, when I define a global public class to include all the public functions as a container, of course, this is like simulating the modules in VB6. Then, in the subsequent programming process, I found that I needed to make some changes to the original function. At this time, I only needed to perform a reload, in this way, the compiled code does not need to be changed, and new function features can still be used. The public classes I am using now, I call them module classes, and there are more than 3000 lines of code. In the CS file on the ASPX page that calls these functions, each event contains only one or two lines of code. This greatly improves the reusability of programming and efficiency, making your code easier to understand. In addition, for the DataGrid Control, I would like to say a few more words, this control can be said to be ASP. net is the most complex control and also the most commonly used powerful control. It is no wonder that it has a column on the Internet to discuss it. I personally think it is a very powerful and easy-to-use control, but if you want to customize it, I think it is still complicated. The complexity is not the compilation of custom control,, if you define a custom control and inherit from the DataGrid, you will lose. net visual management of this control. This is the most unacceptable fact. Therefore, for me who just came into contact with ASP. NET, I still did not take the time to customize a DataGrid in my actual work. I hope I will have the opportunity to do this in the future.
In addition, I am not willing to do web development. It is discrete. I prefer C ++, at least C # Windows applications. Program The development of ASP. net and JSP technologies are widely used. I personally think that distributed development is the future direction, and I will develop myself in this direction in the future. net learning process.