ASP. NET video learning summary, asp.net video summary

Source: Internet
Author: User

ASP. NET video learning summary, asp.net video summary

After finishing the news publishing system, I have a preliminary understanding of the general content of B/S. Through the learning of asp.net videos, I learned a little bit more about the basic knowledge and web controls involved. At the same time, I have further understood the similarities and differences between B/S development and C/S development.

I. C/S and B/S

In fact, the difference between BS and CS has already been reflected in many small examples in the video. For example, the web control and HTML control involved. The web control can be uploaded to the server for interaction with the server. However, the interaction between each operation and the server requires a server response before returning the client. In contrast, this consumes more time. The HTML control does not interact with the server, so the response is fast, but it is not flexible enough.

At the same time, as B/S developers only need to install the corresponding software on the server and access the software directly through a browser on the client, it is easier to maintain the software. In this regard, b/S development is more reusable. C/S has higher requirements on Client Computer Configurations and systems. Of course, C/S development is relatively fixed for users, so it is easier to control its security, while B/S runs on the wide area network, security is not as easy as C/S development.

The above are some differences between B/S and CS.

Ii. Summary of asp. NET video content

Appendix: Mind Map


The highlighted content focuses on the use of verification controls in controls and the use of data-bound controls. Because a large number of controls are involved, the principle is the same.

1. verification controls:

The verification control involves many types, including restriction of empty fields, comparison, range Limitation, expressions, etc. However, you only need to understand their specific meanings and functions based on the meaning of their names, when using it, it is easy to know which attributes are needed to take effect. It is easy to understand and use them.

2. About binding controls

Similarly, there are many control styles bound to Data. At the same time, the principles are the same as those involved in data binding in CS. Both datalist and gridview set the data source and then databind. The names of the specific events involved have changed compared with the original ones. For example, the original itemcommand and itemselected use row instead of item in the gridview. These need to be carefully discovered after comparison with practice verification.


Iii. Knowledge about web Services

1. session and cookie

Session is called a session for a period of time. It is actually a period of time. When a user accesses the Internet or logs on to an application, the server automatically assigns a session to each user,To store user information. It is available for all pages in an application. Generally, the server assigns each user a separate session id to distinguish different users. The session stores IDs, names, and some parameters. So that the server can differentiate different users.

For example, when we access the Internet and log on to different websites, you do not need to enter the user name and password when you log on again for a certain period of time, the session principle is used here. However, the HTTP protocol we usually use isStateless(It can be understood that there is no memory, that is, when the server returns the page, it will not worry about other things, and he does not know what to do next) protocol, so how does the server know your trace and save your information for you? Cookie is used here.

ASP solves this problem by creating a unique cookie for each user. The cookie is sent to the client, which contains user identification information. This interface is called a Session object. To put it simply, the cookies server temporarily stores the information (.txt text file) in your computer so that the server can identify your computer. When you are browsing the website, the Web server will first send a small piece of information to your computer, and Cookies will help you record the text or some choices on the website. When you visit the same website next time, the Web server will first check whether there are any Cookies left by the Web server. If so, the Web server will judge the user based on the Cookies, send specific webpage content to you.

In this way, the server will know the operations performed by different customers by viewing the cookie information in the client.

Generally, a session has a time limit of 20 minutes by default. You can set it through timeout.

When using it, it is similar to a hash table. It has a keyword similar to a key in a hash table, and each key can set a value. The key value can be called between calls.

2. XML configuration file Authentication

I used to have some user authentication experience. I usually set the user name and password for Logon. Through this study, I learned how to use XML to authorize and authenticate users in the configuration file. You don't need to connect to the database.

The following are some of the knowledge points related to this issue. When determining user permissions in the background, all users use the same namespace: System. Web. Secutity. FormsAothenTication.



The above are some knowledge points summarized by learning the Asp.net video. Most of the content has been learned in C/S. This part is mainly about the application of the control involved in B/S and a familiarity and understanding of some web service-related content. More in-depth understanding is to be summarized in the future.




Learning good ASPNET videos

I 've been there. It's good.
Let's see what suits you.

Www.enet.com.cn/eschool

Tech.163.com/special/000915SN/stvs2005.html

Tech.163.com/...t.html

Www.ibook8.com/book/aspnet.htm

ASPNET learning experience

I suggest you go to the blog Park and check out some of your experiences.
 

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.