Programmer's. NET era (i)

Source: Internet
Author: User
Tags comparison documentation web services win32 visual studio
Program | Programmer technology is always evolving, Microsoft. NET platform has undergone three years of time, has been accepted by the vast number of developers. Using Visual Studio.NET, we can quickly and efficiently apply the development of Windows Form and Web Form. NET is a new concept. NET represents a collection, an environment, a basic structure of programming, as a platform to support the next generation of the Internet, because we believe that the world will not regress to the centralized computing host mode. As XML Web Service technology matures, software can be used as a service to support new devices, such as PCs, mobile phones, PDAs, on-board systems and set-top boxes, and so on, to achieve a new experience for the user, and Microsoft is interpreting the Internet revolution. As. NET developers, we should be confident about the future.

Programmers are the catalyst for the Internet revolution, and we are all constantly learning technology and enriching ourselves to adapt to future changes (which I don't want to do here). NET and Java comparison, because these two areas of technical strengths, and covers a wide range of simple language comparison is meaningless. Microsoft use. NET to prepare for the next decade, so the urgent need to master. NET development tool, to build our application. In fact. NET entry is also relatively easy, generally speaking, the basic master. NET program design three months is enough, six months later, you will become a qualified. NET programmer. If you want to be. NET field, you have to accumulate very rich experience in this field.

. NET is a more popular development tool in this decade. I use. NET development has more than two years time, now will my study experience and method and everybody share. To learn systematically. NET needs a step-by-step process, we are divided into entry-level and upgrade. If you are a beginner, each of the following learning stages is important. If you're right. NET more understanding, you can choose the knowledge you need to learn.

Introductory articles

1. Learning object-oriented (OOP) programming ideas

Many of the high-level languages are object-oriented programming. NET is no exception. If you first touch object-oriented programming, you must understand concepts such as classes, objects, fields, properties, methods and events, encapsulation, inheritance, and polymorphism, overloading, overriding, and so on. What needs to be explained is that Microsoft's product Help document is very perfect, and the query is very convenient, beginners must not look. After you install Visual studio.net2003 (or Visual Studio.NET 2002), you have a collection of visual Studio combinations help in the Programs group. Beginners will get a lot of knowledge from the Help document.



2. Choose a language, learn the grammar and related basic knowledge

Choose the language criteria: according to your own needs and personal technical background. Under the. NET Platform, C #, VB. NET is to call the framework of the class library, the basic efficiency, C # syntax rigorous, suitable for the former C + +, VC programmers. Vb. NET is case-insensitive, the writing is arbitrary., automatic indentation, suitable for previous VB programmers, Microsoft has repeatedly advocated the use of vb.net for rapid development. Vc. NET is closer to the bottom and can be programmed in both managed and unmanaged ways.

After choosing the language that needs to be used, we need to understand the grammar rules of the language, including statements, types, expressions, operators, functions, and so on, I suggest that the beginning of the program must develop a good programming style, the specification of variable naming, in the code to write good comments. This is very meaningful for future software development careers.



3. Understanding. NET idea and familiar with framework class library

Let's use a picture to illustrate the relationship between the common language runtime (CLR), the Framework class library (FCL) and the application, and the entire system.


First, we want to understand the concepts of the common language runtime, assemblies, and common type systems. On this basis, learning. NET Framework class Library. The. NET Framework class library is a reusable collection of types that are tightly integrated with the common language runtime. The. NET Framework class library encapsulates most of the Win32 APIs, and many of the features previously required to invoke the API are easily implemented under. NET, In many cases, just one word is enough. Therefore, we should try to avoid invoking the Win32 API when designing. Learn the shortcut to the. NET Framework Class Library: Master the Common class library, other infrequently used class library only need to understand, when used to consult can.



4. Use Visual Studio.NET to write programs

Write programs under the. NET platform we generally use Microsoft's development tools Visual Studio.NET, because a good IDE, can greatly improve the development efficiency. I suggest beginners start with Windows Forms or Web form, and then move on to writing class libraries or controls, components, and so on. There are many examples in Microsoft's Help documentation, and we can drill while looking at help. While learning the code, be sure to understand and think. Write more code, from the project exercise is the programming master of the growth path. Keep in mind: Be sure to read more writing source code, more forums (such as CSDN and Dev-club) and Microsoft's newsgroups to discuss technical issues.

We must use Visual Studio.NET this integrated development environment, in addition to writing code, we need to understand the deployment principles of. NET, learn to package, deploy, and manage applications. Multiple-person development projects can be considered for source code control with Visual Source Safe, and the use of this series of development tools has a lot of practice.



Recommended Books:

"C # Advanced Programming" (Second Edition) (Tsinghua University Press)

"Microsoft.NET Program Design Technology Insider" (Tsinghua University Press)

"Visual VB." NET Technical Insider "(Tsinghua University Press)

The Visual C #. NET Technical Insider "(Tsinghua University Press)

. NET Getting Started tutorial (including Windows Form and Web Form):

Http://chs.gotdotnet.com/quickstart



5. Better Master Large database programming

Generally speaking, most software development involves the database. Most of the software's backend databases use such as Access, SQL SERVER, Oracle, and so on. Ado. NET provides access to relational data, XML, and application data. We must master the use of connection, Command, DataReader, and DataAdapter objects, and correctly use DataSet Datasets and DataView for data manipulation. Of course, to have a certain database base, including tables, views, stored procedures and other uses. Must have the backstage database and the front desk ado.net all to have the good command, can truly proficient database programming.

In the development of a project, it is recommended that you use the data Access Application Block (application blocks) to simplify SQL queries. The Microsoft MSDN website has downloads and we can use the SqlHelper class for data access, which is very simple and easy to build our data access layer. Refer to the Microsoft MSDN Documentation:

Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp



Recommended Books:

"ADO." NET Technical Insider "(Tsinghua University Press)

"ADO." NET Advanced Programming (China Electric Power Press)

"VB." NET and SQL Server 2000 Advanced Programming-creating efficient Data Tiers (Tsinghua University Press)



6. Learning XML WEB Service

XML Web Services is creating a new era of distributed application development. XML Web Services is an embodiment of software as a service, enabling data interchange and application logic remote invocation by using XML message processing. XML enables data to be moved between heterogeneous systems through firewalls. Although public Web services are not widely available, in some enterprises, Web services development is already involved. It's easy to create a Web service with Visual Studio.NET, and it's fairly simple to invoke a Web service, just add a Web reference and then call it. To do this, you need to understand the Web Services Description Language (WSDL), the SOAP protocol, and so on.



Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.