Early in the time, colleagues are very popular to play CS, so that period of greetings into the "Today you kill XX?" ”
Control development is probably one of the things that programmers are most likely to discover about their creativity, right? Control development not only requires you to have a more comprehensive and slightly deeper understanding of the current development, but also enables you to understand the underlying things of the development environment. For example, I developed a control in the process of reflect and MSIL generated a deeper interest, perhaps, in the next period of time, I will try to do a reflector, haha, a lot of things are hard to say ~
"Did you write the controls today?" "May become China in the future," he said. NET programmer a daily language, haha, a lot of things are hard to say ~ Sorry, repeat, after all, in the framework of. NET some simple controls are relatively easy to develop. The. NET Framework has done most of the work for you (of course, I am wrong in saying this, innovation is always the first. I do, just want to rely on their own three-inch rotten tongue and a passion, tell you, that is really easy.
Now, do you have confidence?
In this opening, I would also like to discuss a few issues with you?
1.asp.net is asp+?
Remember there is such a word, Microsoft likes to give something new name, let people think is a new technology, and some completely different things but the whole a very similar name, asp.net and ASP is so, ado.net and ado.net is so. What I want to say here is that asp.net and ASP are very different. The ASP is built on window DNA (this may be wrong, I have nothing to say about the old technology) to interpret it as execution, and ASP.net is built on the. NET Framework this new thing, which is compiled and run first, So asp.net is more efficient, and has the. NET Framework support, can do many many functions, and very convenient, you do not have to in the COM world for a function in a haystack, in a unified. NET environment to write code is OK, while the Web Services as its compatriots, and ASP.net have a lot of connectivity, you can be very convenient at the same time for the Internet to provide browser-based and various client-side GUI programs, as well as remoting ... What a good idea!
What did 2.asp.net do?
asp.net is how to create a lively Web page? IIS as a host, for a asp.net program to create AppDomain rather than a process, each ASP.net program at the first run is compiled into machine code, for customer request generation response. When we make a Web page, the. aspx file and the. aspx.cs file seem to account for half of the total, but the page is actually generated, and the. aspx file is just a bunch of write calls to the Render method.
3.asp.net development, where should we put the emphasis?
Yes, where should we put the key? What skills do I focus on developing myself? In the last point, I said that the. aspx file is only part of a method (Render) of the daemon, so does it mean that the front desk thing is just a piece of shit? To this point of view, I was firmly opposed to, the reasons are: first, asp.net finally use HTML, Script, CSS to implement the interface, complete the function. A render just, but this render can not ah, asp.net most of the things in the end is not for this render? Second, the. NET Framework has done so much for us, we can comfortably complete the functions we need, using System.Drawing to draw a watermark map, using System.Data to play trick-like operation data, regular? Xml? ...... There's a pile of bricks waiting for you to pile up. So, the road that we go forward is very clear two way, is, use those old dhmtl/js/css technology to complete your creativity, another method, diligently study software development methodology, what pattern, what UML, what framework, what use case, what MDA, what AOP ... Sorry, can't go on, blowing concept is not my forte. And in control development, you don't have the basis for DHTML, and you think you can make a very successful control and creativity out of the depth of existing controls? Basically...... This is very difficult (to read here)!
4.Attribute?
Attribute? This is a very important concept in. NET and is particularly important in control development. A lot of books say attribute and property is not good, my understanding is very simple, property is intrinsic attributes, attribute is relatively "external" things, for example, your belly is very big this is property, then you wear a very loose clothes, This is the attribute, of course, this explanation is absolutely incorrect, perhaps "your belly is very big" this descriptive word is attribute that comes right, but this helps you to understand the difference between the two is so big, then what is the two in the end? In fact, we all know, I here again eight. When the compiler makes your code a assemble, it puts the method, the property, into the IL instruction, and it makes a metadata that describes your classes, methods, properties, fields, and so on, so in the IDE, I write a xx. After this point has been laid, the back of a bunch of the smart finish I love to come out, these are the credit of metadata and reflect, in addition to the Vs.net Object Browser, some brothers peek at the control of the internal code of the tool, all benefited from this dongdong, and the IDE also use reflection to read Metadata to decide how to let users and controls interact in the designer. and attribute is our tool to operate metadata.
...... What else is there? Temporarily did not think, hehe.
So, if you want to try to be a control brother, you not only have to be confident, you have to prepare a little bit of html/js/css and some understanding of attributes such as. Net. Are you ready?
Perhaps is the reason of age, so I this person is generally not very calm, so you in the above section of blowing water to find a few mistakes I am not surprised, at the same time, I am grateful to you.