A preliminary study on-asp.net of Beida Jade Bird in North B

Source: Internet
Author: User
Tags configuration settings

First, preface: 

These weeks followed the Yu Haitao teacher into the. NET programming world, a taste of the essence of ASP. To talk about the history of ASP, it goes back to HTML, because it's so simple that it's not possible to receive information from users and update it automatically, without the need for developers to rewrite it. How can the site be given such responsiveness? How to provide user-oriented "personalized service"?

With the demand, there is the power of language competition, in just a few years, intelligent Human has developed a good variety of technology. Microsoft Corporation, a leader in the IT world, is also involved in the transformation of the web, its secret weapon is--asp, it is simple, easy to use, the program Ape's pro-gaze. On this basis, it underwent 1.0, 2.0, and 3.0 changes, and after the creation of the. NET Framework, it upgraded its technology to--asp.net.



second, the overall impression: 


Lead out, the following is my study summary, overall, very much like the teacher's lecture style, first theoretical study after the actual combat to do the demo. Only because of the development tools and teachers with different, VS2005 and VS2013 gap is very big, I also did not because of the video and change their development tools. It is for this reason, let me every demo completed can be said to be "impressive"!! Let me deeply feel: study! Without the network!

This album system explains the various aspects of ASP , including the Basics of ASP, ASP. NET and IIS schemas, HTML language, C # Foundation, HTML control and Web server controls, Web Forms validation controls, in C#vb. NET object, database Foundation and Data Connection object ADO, database programming, advanced application, ASP. NET application settings and security, programming examples, and so on.





third, the branch explanation:

    •  Part One: Control objects that are too familiar


Know a new thing, always want to see if it has a side that I already know, a lot of space in the video is about the control of ASP. In the production of Beef brisket news release system, this video mentioned in the control, we have used. I have to say that it was also vaguely used, and do not know what it is, it has been used. Now look back at the theoretical knowledge of these controls to learn, think of the control prerequisites properties, methods, events. I think it's quite simple.




On the control this part, the validation control is not touched in VB before, I understand, because the validation control of the property settings, can reduce our front desk a lot of judgment function of the code, such as judge is not empty Ah, is not the number AH and so on. This is a huge improvement in ASP. For list controls, list controls are essential in a Web application that supports a database background in order to present detailed data information to the user. The GridView, which is powerful in its ability to simply implement pagination, sorting, rich formatting styles, and easy-to-manipulate layouts. For repeater, the above GridView most of the functions can actually be achieved, but the implementation is quite complex, but as long as we grasp it, then the GridView face Repeater, will become no advantage.




    • Part: Six large built-in objects





1. Session & Application


Session is the server-side state-saving mechanism, each user side has a separate space (in the browser to run the individual to assign the unique SessionID value). Application is a state-saving mechanism on the server side, but all of the client side of the application share the same state data. Both the Application object and the session object can hold data or objects on the server side, using methods and common properties, events, and methods. However, the information saved in the Application object is shared for all visiting client browsers, while the data stored by the session object is used only for specific visitors.

For example, a user in Henan and B users in Hebei have access to a server at the same time, if a modifies the information stored in the Application object, B users will see the modified content after refreshing the page, but if a modifies the data stored in the session object, the B user is not aware of it. Only a can see and use the data at this time. This means that the session object is stored in the private information.


2. Response & Request

After the Web server receives the HTTP request from the client, it creates two objects per request: The requested Request object representing the response's response object. The distinction between the two can be based on the meaning.

    • Request is the requirement: to get the data submitted by the client.
    • Response is the meaning of the response: output data to the client.

corresponding, in the page jump aspect, both have their own method, in the development is also often used, to further see the difference between the two, I used the ER drawing tool to draw two graphs. as follows:






Response.Redirect (): Outputs a data to the client that tells the client to jump to the specified interface and the URL of the client browser changes. Changes to the specified page ***.aspx.

Request.forward (): A forwarding within the server is implemented that does not change the address of the client browser.




    • Part Three:web Services


The Web service provides two methods of access, Http-get and Http-post. Also learned to use a proxy to invoke a service. The use of the SOAP protocol can also be used to exchange information in a distributed computing environment.


    •  Part Four: Configuration file

I learned the configuration file when I was learning design patterns, so it was kind of nice to see this chapter. reviewed the page configuration settings, application settings. Also learned the customerrors settings. The convenience of a configuration file is that it is stored in plain text format, written in XML, and requires no server restart if changes are required.


Iv. Summary: 

In the net theory + practice of the learning process, a deep understanding of the lack of networks, examples are not going to go down in the embarrassing environment. In the process, ask a few more why, can learn more interesting knowledge, this is Wang told me. Also, suggest to me the same small white, learn the first to take a book to see, find out the idea. If you look at the video again, you will be prepared to resonate. When I solve the problem, the search for a number of front-end development of the learning site, very good. Share with us here (all free courses Oh ~):

    • W3school:http://www.w3school.com.cn/index.html
    • mu class Net:http://www.imooc.com/

A preliminary study on-asp.net of Beida Jade Bird in North B

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.