What is the difference between a. cs file and a aspx.cs file??? What is their role??? What is the role of the ASPX file?

Source: Internet
Author: User

In general, creating a new page in VS creates two types of files: one is the suffix. cs and one is. aspx.
Simply put, the. cs file is typically implemented in the inside, and. aspx is the interface effect.


The difference:. cs files are written in. NET code, including methods and fields, and. aspx files are written in HTML code, and then bind the fields in the. cs file.
Contact: Project only. cs files are implemented in the background, and. aspx files can guide customers to use this feature. As you ask questions on Baidu, if you don't have a page (that is, the. aspx interface effect), you don't know where to write the question, and click on what to submit. If you do not have the function of the. cs page, you will not be able to put the question to the Baidu server up.

What is the difference between a. cs file and a aspx.cs file??? What is their role??? What is the role of the ASPX file?

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.