Asp. NET summary--static and dynamic Web pages

Source: Internet
Author: User

Just read the first six episodes of the "Beida Jade Bird asp" video. This six episode video gives me too much auditory and visual "stimulation" (too card). Nevertheless, in the video, I still touch a lot of new concepts, knowledge. (In fact, it's not new, but it seems to be a bit formal this time.) After that, they aroused my great desire for knowledge. But the search, or feel that they understand very simple, but I think it is very necessary to summarize, so as to provide a deep understanding of the future to lay the foundation.

Static and Dynamic Web pages

At the time, when watching the beef Brisket news release system, the calf teacher sometimes created the suffix of the Web page is. aspx, occasionally creating a Web page that is. html (for example, an error page), then there is no "seriously", just silly to do Bai, do not know why to create different forms of web pages. Now, in the Peking University Jade Bird video, listens to the teacher to emphasize these two concepts specially, only then starts to ponder and understands.

The first thing to note is that static and dynamic Web pages are not differentiated by whether or not there are dynamic effects on the page. Static Web pages can have Flash animations, scrolling subtitles.

Then, the intuitive said static page suffix is htm,html,xml and so on. The suffix of the Dynamic Web page is. aspx,.asp and so on.

But this is not the essential difference between them.

The video said: "Static Web pages can only display the content of the page, but not for different web browsing status to make a real-time response."

What do you mean?

That's what I understand now:

Static Web page is written in advance, most of the content is written "dead", not how to change, and then publish the site, the static Web pages to save these a file to the server, the client through the browser to make a request, The server responds to these requests and sends these off-the-shelf static Web pages (HTML) to the client.

The Dynamic Web page is to save the ASPX and other files to the server side, when the client requests these dynamic pages, the server must first compile these dynamic pages, explained, and then create an HTML file to return to the client. Because there is a compilation to explain this step, so will be based on different client input or different time, produce different HTML files to return to the client bar.

We found that both static and dynamic Web pages, returned to the client are in HTML form, and then HTML through the browser explanation, it is to show in front of us a beautiful page.

The wrong place, welcome everybody to point out!

Asp. NET summary--static and dynamic Web pages

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.