ASP. NET Secret reading notes

Source: Internet
Author: User

ASP. NET Secret reading notes May 16, 2016, Monday
    1. runat= the "Server" property represents an ASP. NET control executed on the server side;
    2. If you add a namespace to the Webconfig, you can use the class library for the entire project.
    3. Example of a Textbox for an ASP control: <asp:textbox id= "TextBox1" runat= "Server"/>
        1. asp: Prefix: Specifies the namespace of the control
          1. ID, all controls must have a unique ID that can be referenced in the code
    4. The sender method represents the control that raised the event, E represents the additional event information associated with the event, and the x, y coordinates of the instance click.
    5. The basic HTTP protocol of the World Wide Web is a stateless protocol. Every time a request is made to the Web site, it looks strange on the website.
    6. <%@ page Language= "C #" Trace= "true"%> can view debugging information
    7. Controls that do not require an attempt to state can set the EnableViewState to false;
    8. All content in the ASP. NET page is converted to. NET classes, including HTML and plain text content
    9. Sometimes it is not possible to refer to a control with an ID, and the FindControl method of the control class is available
    10. The general situation does not require handling any events other than the load and PreRender events. The difference between these two events is that the Load event occurs before all control events, and the PreRender event occurs after all events
    11. Debug code Add debug= "true"
    12. IsPostBack can be thought of as representing the first time the page is opened
    13. After reading the first chapter


From for notes (Wiz)

ASP. NET Secret reading notes

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.