[Reprint] Guide

Source: Internet
Author: User

How can we double our worth in this cold winter?

Address: http://www.cnblogs.com/turingbooks/archive/2009/01/04/1368486.html

-- A deep understanding of. Net (English Version 2nd)

 

Author: programmers who develop on the Windows platform certainly know Jeffery Richter (if you do not know yet, please search by the best search engine ). Jeffery Richter is a consultant for many Microsoft projects, including. net. His articles are always starting from the principle. in a simple way, he will cut down the problems in front of you. When reading his books, he will always nod his head and read in his mouth: oh, so it turns out. This is very different from the fact that msdn books are widely used in the market.

Speaking of this book: I read the first version of this book when I was in college. I remember that I had a few books in the library of that small school, but from my sophomore year to my senior year, I only borrowed it once in three years and made an appointment many times. I don't know who has occupied her for a long time .. After the release of NET 2.0, Jeffery Richter quickly updated the book and changed its title to-CLR via C #, with reverence for the first version, I ran to the bookstore to start a book with a few idle money in my hand. But when I picked it up, why did the translator change? At that time, the first reaction was to stop, search for comments online, and then decide to buy them. Later, I found that the first version of the translator, Mr. Li Jianzhong, gave up the second version of the translation because of some unpleasant things with xx Publishing House. What's more, the second version of the comment is not very good, this is the idea of buying books.

Finally, this year the Turing Publishing House introduced the photocopy of this book. Now you can enjoy the carefully crafted Jeffery Richter cake at the price of Chinese documents.

Content: From. Net to 1.0 today, there will be 3.5 coming soon. We all feel the speed of technological innovation. How can we cope with changes in our busy work? In software design, we know that the best way to cope with changes is to first find things that don't change, so what is in. Net unchanged? Or is the change speed slow? That is, CLR. Although. Net has released so many versions, currently there are only two CLR versions.

The following lists some highlights of this book:

Starting from the beginning of this book. net Program, how the operating system executes it, when and how the CLR participates, how the JIT compiler compiles the code. net program running process is clear, and many people know it. the. NET program runs in a hosting environment, but does not know that the operating system runs a common Win32 program and A. Net program.. Net program. Then, I will introduce the file structure and metadata of the Assembly in a large amount of space (most. Net programmers do not have Win32 programming experience and may have little knowledge about PE files ).

In chapter 3, the author prepares for us the content related to the strongly-named assembly, which is a magic weapon for. Net to solve DLL hell.

In chapter 5, we are most interested in packing and unpacking value types. net is caused by this performance problem in many places. I am also here for the first time to know that packing and unpacking are not mutually inverse processes.

For object-oriented objects, member visibility and virtual method calling are very important. You can obtain relevant knowledge in Chapter 6 of this book.

For properties, this is. NET introduces a new element. In OO, to avoid exposing the internal fields of the type directly to the external type, some setter and getter methods are often written, type external access to fields through these methods (this is why the setxxx and getxxx methods are everywhere in Java ),. the properties in. Net have the simplicity of accessing fields, as well as the encapsulation of setter and getter methods. But you know. how does net implement attributes? The ninth chapter of this book will tell you.

Windows is an event-triggered system. If you click a button, the event is triggered ,. net cyclically encapsulates Win32 messages and provides a language element named event. In chapter 10 of this book, you will understand that after the event member is compiled, it is actually a field and two methods, at the beginning of this chapter, we will use a vivid example to explain how to use events. As you use. net is getting longer and longer, you will find that the event is really a good thing, you will not be limited to use. the events provided by net will also write their own events and expose interfaces to the outside world. In this chapter, the author also made a profound remark, forgetting what the original saying means. net contains only three elements: Class, field, and method. Other events, delegation, and so on are encapsulated based on these things.

When writing code, it is almost always necessary to deal with strings. How to Use strings efficiently? In the company, I saw the code of a legacy project assemble a string of variable strings into an SQL statement using dozens of plus signs (You may have seen it ), this string assembly process is executed almost every time I access the database. I was wondering that this book was never read by this old man, in chapter 1 of this book, the author explains why such assembly is of low performance and tells us that stringbuilder is a better solution. In addition, it also tells us what it is.

We may all know this enumeration, but many people may not know that there is a single-digit mark. Remember that a permission management system designed previously is based on a bit mark. For more information about bit tagging, see Chapter 1.

As the dominant wildcard type in. NET 2.0, chapter 1 of this book uses a chapter to introduce the details, from the use of generics to the generic constraints.

In chapter 1 of this book, attribute is introduced. It is a fascinating combination of reflection and reflection. Many ORM frameworks use this as the basis. Now, I love her at work. Attribute is like a tag, where it is stuck. You can query these tags through reflection at runtime to obtain additional information.

Most programs are database-driven. in the database, we can set an integer field to null, but not in. net. What should we do ?. NET 2.0 brings us the null type, which is introduced in chapter 18th of this book.

Do you think the content of chapter 18 is rich? No, the richer part is still at the end. In the last part, the author used six chapters to explain in detail the characteristics of CLR. the most exciting part is the last two chapters: content related to asynchronous operations and multithreading.

Chapter 1 garbage collection can be described thoroughly. If you want to interview. Net's high-end posts, the content of this chapter must be detailed, which is one of the essence of. net.

The book is wonderful and the author is awesome. The final decision is that you should buy a copy and flip it at hand.

In this article, I would like to thank Jeffery Richter for bringing us this good book, which the Turing press has introduced to us.

Attach several online bookstore addresses:

China-Pub
Dangdang: an in-depth understanding of. Net (version 2nd. English photocopy), 71.3 RMB
Zhuo yuewang: an in-depth understanding of. Net (version 2nd. English photocopy) 71.2 yuan

 

Thanks: This article is reproduced at http://www.cnblogs.com/yuyijq/archive/2009/01/04/1368462.html. The author of this article is a young and promising. Net engineer who translated the book C #3.0 unleashed (to be published by Turing.

Results of the selection of four famous Microsoft books

Before starting the text, I would like to tell you a real story: I have a friend, one of whom was originally tested and hardly touched. net, with a salary of only 1.5 K. Later, he resigned and went home. He spent three months studying a book at home. Three months later, he went to Shanghai to find a job. He got a job as a development engineer at minimally invasive technology, with a monthly salary of 6.5 k. During the interview, he will show off the CLR insider knowledge, such as spam, which he learned in this book, leaving a deep impression on the interviewer. What is amazing? This book is an immortal masterpiece in the. NET field-a deep understanding of. Net (2nd-English Version)!

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.