In a long time ago----may have been almost a year, I saw ASP.net (at that time, asp+), see application, the session of what, and himself said "where is the people!" Where is the man! "
Wait until you see the Web Form server controls, more can not help laughing----"is not the former VI6 DTC controls,
You think you're wearing a vest and I don't know you. "
Just flip it over and put it on one side.
These two days have more time to look at, and found that it seems not so back to the child.
What do you say? Exaggeration point, ASP.net and ASP, as the difference between NT and DOS is similar,
A look at NT also has DOS command line, but that can be the same. Maybe you think it's too much of a exaggeration to say, but
Think about these----
. Technically, asp.net doesn't really need IIS.
. All ASPX page is actually class (or, Strictly, a System.Web.UI.Page instance).
. Page is implemented IHttpHandler class, you can also write your own class:ihttphandler
. All ASPX page is actually compile into a DLL
. Our former relatives application/session or something, all just derived from the System.Web.HttpContext
......
So simply change your mind to understand that asp.net may be more accessible to its prototype (master!). There are monsters! )-----
. It is best not to write script in aspx, to use the. aspx +. CS-----Codehehind
. Take aspx as VB form, consider CS as VB code
. But the "form" has the ability to display itself in the browser by automatically generating HTML code.
. The essence of this ability is that page implements a function called Render, so you can do more with overloaded render.
. All of the server control (and, of course, Class) is also generated by render HTML code
. So you can also inherit a control (like a DataGrid) and overload the render to extend its function and do something more demon
. Or you can directly inherit from the System.Web.UI.WebControls, and then make your own control
. You can encapsulate several other controls inside----become composite control, more fun is not made assembly, can be called in the form of a page
......
cut! I know I said more and more chaos, you listen more and more dizzy, but I learn to practice mody, you this tomato first----snapped! And listen to let's.
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.