I have received letters from some students asking about the learning order of ASP.NET. Here I would like to talk to beginners who plan to learn ASP.NET technology in a systematic way.
If you already have more experience in object-oriented development, skip these two steps:
The first step is to master a .NET object-oriented language, C# or VB.NET
I strongly oppose learning ASP.NET without systematically learning an object-oriented (OO) language.
ASP.NET is a comprehensive object-oriented technology. If you don’t understand OO, you will definitely not be able to continue learning!
The second step is to have a certain understanding of the .NET Framework class library
You can learn the .NET Framework by developing Windows Form applications. ASP.NET is built on .NET
Technology above Framework, the deeper you understand the .NET Framework, the faster you will learn ASP.NET.
For example: Here are a few concepts that are very important for mastering ASP.NET:
Memory model, delegate, event, multithreading, assembly and application domain, security model of objects
Of course, there are many other things in the .NET Framework, but it is difficult to truly grasp ASP.NET without understanding and grasping the above things clearly.
Out of urgent and realistic considerations, many people want to learn ASP.NET directly without a solid object-oriented foundation, but the result is that hasteness will not be achieved.
After having the OO foundation, the following are the specific steps to learn ASP.NET technology.
Step 1: Learn HTML and CSS
This does not require learning a lot of web design tools such as Dreamweaver and Firework. The key is to understand the block structure of HTML web pages nested and the box model of CSS. Many ASP.NET controls must eventually be converted to HTML. Moreover, div+CSS is the current mainstream web layout model.
When learning this part, the key is to understand the concept, and not spending energy on many skills to beautify the page. It is the job of a website artist, not the job of a programmer.
Step 2: Learn JavaScript
JavaScript is not Java, it runs mainly on the browser side. It can complete many tasks and has powerful functions: for example, it regards the HTML elements in the client web page as a tree, and can write code to access and modify tree nodes, and dynamically generate new HTML code, thereby achieving the purpose of dynamically modifying the display characteristics of the web page. .
JavaScript is used a lot in current website development and is very important.
In addition, it is also the basis of the very popular AJAX technology at present.
Step 3: Learn the principles of computer networks
Find a university <Computer Network> textbook, focus on its Internet-related parts, and learn about some knowledge about domain name resolution and HTTP protocol. This is the theoretical basis for Internet development.
Step 4: Learn ASP.NET presentation layer technology and be able to design web pages
It is necessary to combine the foundation of object-oriented technology that has been laid before and master the following content:
(1) How to use various web controls,
(2) Understand the way information is transmitted on web pages, such as the use of cookies, ViewState, Session, etc.
(3) The life cycle of ASP.NET applications and web pages, as well as the uses of related objects (such as httpcontext, response, request).
(4) The inside story of ASP.NET implementation of event-driven
(5) Custom user controls
To emphasize again, without the OO foundation, it is difficult to master the above techniques, so you can only be led by these things, and you will be very passive.
Step 5 Mastering Database Technology
Specifically, learn the following:
(1) Learn to use SQL Server 2005: It does not require proficiency in its various tools and management configuration techniques, but at least knows how to connect, how to build tables, and how to create stored procedures
(2) Learn ADO.NET and master the method of using code to manually access the database (not using VS2005's wizard)
(3) Learn the use of data binding controls
Step 6 Understanding Multi-layer Architecture
At this time, the assembly and application domains involved in the OO learning stage came in handy. Now, most website architectures use multi-layer architectures: presentation layer, business logic layer, data access layer, and the database itself.
You can first search for information about this multi-layer architecture online, and then find a ready-made, more complex open source ASP.NET project to analyze its architecture. Basically, they are all a routine, applied everywhere.
Some friends asked: Do you have to learn design patterns when learning architecture?
My opinion is: No! Of course, if you have learned design patterns, it is of course better. But in actual development, if you only want to apply a certain model mechanically, it will not have a good result. My point of view: When learning design patterns, you should think more and understand more, and your thoughts will gradually be integrated into your brain. In real design practice, forget all the patterns written in books, start from reality, and believe in you Intuition: as long as the design requirements meet the design requirements is a feasible solution. In fact, after you do this, you will look back and find that your design often conforms to the theory of the design pattern.
Step 7 Learn XML and Web Service
First, learn the basic knowledge of XML, and read this book about XML. Then, learn Web Service. Web Service can actually be compared to remote method calls (call information expressed in XML format).
After learning this, if you are still interested, you might as well go and have a look at SOA. However, the information of SOA is all theories and concepts, which looks depressing and may be far from actual development. So, this is an option.
Step 8 Learn AJAX
The main purpose of learning AJAX is to create a web presentation layer with richer features. After the previous seven steps of learning, learning AJAX is natural, and all the foundations are already in place, so there will be no big problems.
Learning AJAX directly without the foundation is like building a high platform on the floating sand, so the learning order of AJAX is arranged here.
Step 9 Learning RIA Technology
RIA: Rich internet application can be regarded as an attempt to combine the advantages of C/S and B/S into one. In terms of specific technology, it mainly refers to Microsoft's Silverlight (WPF_E), after all, it has been Microsoft's route all the way.
However, it is mainly for technical reserves at present. It is estimated that this technology will take 2 to 3 years to popularize, because pre-installed Vista machines will only start selling well this year.
At this point, the Nine Yang Divine Art has been completed, and you can use this Divine Art to travel around the world.
(Note: This article is only for personal opinion and is for reference by beginners. In addition to inappropriate, experts are welcome to correct it).