Fire Station Building Institute (Bkjia.com) Network ProgrammingASP.net is not only the next version of Active Server Page (ASP), but also a general language-based program architecture that can be used by a Web Server to build powerful Web applications. ASP.net provides many advantages over the current Web development model. For more information about how to learn about Asp.net, see the following two prerequisites and nine steps.
Premise 1: to master a. NET Object-Oriented language, C # Or VB. NET, I strongly oppose learning ASP. NET on the premise that I have never systematically studied an object-oriented language. ASP. NET is a comprehensive object-oriented technology. If you do not understand OO, you cannot learn it!
Prerequisite 2: You have a certain understanding of the. NET Framework class library. You can learn about the. NET Framework by developing a Windows Form application. ASP. NET is a technology built on the. NET Framework. The deeper you understand the. NET Framework, the faster you learn ASP. NET. For example, the following is a simple list of several methods to master ASP. NET is a very important concept: Object Memory Model, Delegate, event, multithreading, assembly and application domain, security model. NET Framework, of course, there are many other things, but it is difficult to grasp ASP without understanding and understanding the above things.. NET. Due to the urgent mood and practical considerations, many people want to directly learn ASP. NET without a solid object-oriented Foundation, and the result can only be fast but unsatisfactory.
After having the OO Foundation, the following are the detailed 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 nested block Structure of HTML web pages and the box model of CSS. Many ASP. NET controls must be converted to HTML at last. In addition, div + CSS is the current mainstream web page layout model. The key to learning this part is to understand the concept, instead of spending effort on page beautification. It is the job of a website artist, not a programmer.
Step 2: Learn JavaScript
JavaScript is not Java and mainly runs on the browser. It can do a lot of work and has powerful functions. For example, it regards HTML elements in the client webpage as a tree, and can write code to access and modify Tree nodes to dynamically generate new HTML code, this allows you to dynamically modify the web page display features.
JavaScript is widely used in website development and is very important.
In addition, it is also the basis of the very popular AJAX technology.
Step 3: learn computer network principles
Find a university <computer network> textbook, focus on its Internet-related section, and learn about domain name resolution and HTTP protocol. This is the theoretical basis for Internet development.
Step 4: Learn ASP. NET presentation layer technology and design Web pages
It is necessary to take into account at least the following content based on the previously well-established object-oriented technology:
(1) use of various Web controls,
(2) Understand how information is transmitted on a webpage, such as Cookie, ViewState, and Session.
(3) the lifecycle of ASP. NET applications and web pages, and the usage of related objects (such as httpcontext, response, request.
(4) Events driven by ASP. NET
(5) Custom User Controls
I once again stressed that, without the OO foundation, it is very difficult to master the above technologies, and it is very passive to be taken by these Dongdong.
Step 5 master database technology
Specifically, you need to learn the following:
(1) learn to use SQL Server 2005: do not need to be proficient in its various tools and management configuration technologies, but at least know how to connect, how to create tables, and how to create stored procedures
(2) Learn ADO. NET and master how to use code to manually access the database (instead of using the VS2005 wizard)
(3) learning how to use data binding controls
Step 6 understand the multi-layer architecture
At this time, the Assembly and application domains involved in the previous OO learning phase come in handy. Currently, most website architectures adopt multi-layer architectures: presentation layer, business logic layer, data access layer, and database itself.
You can check the multi-layer architecture on the Internet first, and find another complicated open-source ASP. NET project to analyze its architecture. Basically, it is a routine that can be applied everywhere.
Some may ask: Do I have to learn the design mode when learning the architecture.
My opinion is: No! Of course, it would be better if you have learned the design model. But in actual development, if you only want to apply a certain mode mechanically, it will fail to produce good results. My point of view: when learning the design model, you need to think more and learn more, and your thoughts will gradually be integrated into your brain. In actual design practices, you will forget all the models written in books, everything starts from reality. Believe in your intuition, as long as the solution meets the design requirements is a feasible solution. In fact, after you do this, let's look back, you will find that your design often hides the theory of the design model.
Step 7: Learn XML and Web Service
First understand the basic knowledge of XML, look for the XML-based book to see it, and then learn Web Service. In fact, Web services can be analogous to remote method calls (call information expressed in XML format ).
After learning this, if you are still interested, you may want to look at SOA again. However, the SOA materials are both theoretical and conceptual, which seems depressing and may be far away from actual development. Therefore, this is optional.
Step 8 learn AJAX
The main purpose of learning AJAX is to create a Web presentation layer with richer features. After the first seven steps of learning AJAX, it is easy to learn about it. All the basics are ready, there won't be too many problems.
Learning AJAX directly without foundation is like building a high platform on the sand float, so we will arrange the order of AJAX learning here.
Step 9 study RIA Technology
RIA: Rich internet application, which can be considered as an attempt to combine the advantages of C/S and B/S into one. Specifically, the technology mainly refers to Microsoft's Silverlight (WPF_E). After all, all the first steps are Microsoft's path.
However, at present, it is mainly used for technical reserves. It may take two to three years to popularize this technology, because the machines preinstalled with Vista started to sell this year.