Analysis and selection of. net technical components,. net technical components

Source: Internet
Author: User

Analysis and selection of. net technical components,. net technical components

. Net is very complex. What are the greatest taboos in learning? To learn, not to use. We don't want to become teachers, so we don't want to be nerdy, we don't want to be "Doctors", we need to choose what we need from a complex technical group for learning.

If you choose not to use it, you can learn it with a brain. This kind of "reference book" is used to learn a bunch of information. without thinking about it, the results will only cultivate 10 thousand people who know but are not good at using it. Think about the composition of technology, think about how to use a combination, and combine scattered technologies into a whole. This is the purpose of learning for application.

The first is the analysis of key technical points of the syntax class. As we all know, algorithms + data structures = programs, this formula is the most basic concept, but why is it not a simple form of modern language, but it adds a lot of "irrelevant" content? What is the content?

In my opinion, the essence of all irrelevant content is the "Agreement", which aims at collaboration and communication between people, rather than program running. Modern language focuses not on the program itself, but on communication between people. Remember this.

Therefore, I divide language learning into three main parts: 1. Conventions, 2, algorithms, 3, and data structures.

. Net is not a language. Its main feature is that it contains a large class library, but the focus of the class library is to know its functions and it is relatively simple to learn.

What is "algorithm" is part of the operating mechanism. Such as variables, flow control structures, enumeration, and expressions. These parts do not differ much in almost every language. Variables store intermediate data, expressions perform operations, control the structure to perform selection, repeat operations, and enumerate the constants. Advanced content includes exception Control and asynchronous programming.

The major difference is the "Convention". For example, the main function of the entry function is an convention. There is also an organizational Convention: namespace. Even the composition requirements of identifiers are a convention. Some conventions are mandatory and some conventions are not mandatory. For example, "comment" is a non-mandatory convention, which only tells readers what this is, it does not affect the program itself. Remember that the main purpose of the "Agreement" is communication between people. Therefore, the "comment" is also a way to strengthen communication and should be considered as part of the program writing.

Compared with "Comments", "unit tests" and "code agreements" provide mandatory specification guarantees,

Type is a Convention that provides an interface for use. The object public base class is also a standard interface. Types can be expanded to add new implementations and interfaces. But the more pure interface is "interface". Generally, based on interface programming, the type is considered as a specific implementation to simplify cognition.

Generic is a wider interface than a single type, so this technology should be considered first. Generic interfaces are the most powerful interfaces provided by. net.

What is "Data Structure", that is, the organic set of data units, different sets have different forms of composition, which is "structural", "structural" produces a corresponding high-efficiency algorithm design. Therefore, the "algorithm + Data Structure" is dual-secondary dual-generation, because the algorithm needs to select a data structure, but also because of the structure characteristics, select a algorithm design.

A simple data structure is an array, and the data structure implementation in. net generally implements the "enumerator" interface IEnumerator, which is a high-level interface about the data structure .. Net has provided a large number of data structures for us to use. They are subclasses of the "set" type and also sibling classes of the parallel version.

The "class" is a convention, a Specification Description and interface, with rich connotations. It includes data members, function members, access control of members, lifetime control, resource control, extensibility control, writing mode control (syntactic sugar), type conversion, and operator support. There are many features. You need to consider different combinations of features to write code.

Class is an advanced interface with many control features, while "delegation" is relatively simple. It is only the interface corresponding to the function. Based on the delegate variable, the "event" provides a special interface for using it to indicate that it will trigger an event, and the caller provides a function to process the event. This is different from the general data member and function member in the class.

. Net has three special components: 1. linq, 2. lambda, and 3. Regular Expressions. These three are "languages", that is, they are similar to c. Lambda is an expression used to enhance the language functions of c #, while a regular expression is used to process full-time strings.

Then, complex. net is a relatively easy-to-Master Class Library, such as: Set, Dynamic Language extension, reflection, security, interoperability, file and registry, transaction processing, network, windows Service, localization, xaml, MEF, winrt, ado.net Entity Framework, xml, wpf, asp.net, wcf, wf, p2p, message queue, Event Log, etc.

Summary:

. Net learning is divided into five categories: 1. Conventions, 2. algorithms, 3. data structures, 4. Class Libraries, 5. deployment.

Conventions include: Annotations, unit tests, code protocols, types, delegation, events, interfaces, generics, namespaces, programming sets, and portals. types include data members and function members, operators and transformations.

Algorithms include general expressions, anonymous types, lambda, linq, regular expressions, general flow control statements, exception control statements, and asynchronous programming.

Data structures include arrays, enumerators, and collections.

Class Libraries include: collections and wpf.

My selection:

Algorithms and data structures are the basis.

Conventions can enhance collaboration and standardization.

The class library should be selected. I chose wpf, xaml as the interface, set and ado.net as the object framework for data processing and storage, wcf as the communication between clients, and message queue as the coordination between clients, wf customizes workflows, while winrt provides a cross-platform base class library.


When I added the Objects NET component to the VS2010 toolkit, why can't I find the Workspace and MapControl components on the NET Framework component tab?

If some components are not properly installed, You need to manually add them to the toolbox.
1. If no corresponding tab exists in the toolbox, create one first;
2. Right-click the new tab and select and add "select items;
3. Select ". "NET Framework components" tab, select to add components such as Workspace and MapControl you need, or click the "Browse" button to load the dll file where the Workspace and MapControl components are located, and then add.

I don't know if your problem is like this. I hope it will help you.

Selection of JAVA and NET

Upstairs, the copy may not be accurate.

At present, powerful large companies use. Net for a wide range of purposes, with unified technical standards and fast development speed.
Small companies use a lot of Java due to funding issues and technical updates.

The language is the same, and C # is the version of Java.
The technical aspects are similar to each other. In short, it is almost difficult to learn.

At present, Java is looking for a wide range of jobs, but both are very popular. As long as the level is not bad, it is easy to find a job.

I recommend that you learn. Net from the perspective of the future. After all, it is a Microsoft product. Moreover, a number of companies are switching from Java to. Net.

I personally think that, based on the current trend, both Java and. Net hot cannot last for five years.

Related Article

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.