C # File types

Source: Internet
Author: User

Some common file types in C #:

  • Designer.cs is a code file generated by the form designer that initializes the controls on the form (in function InitializeComponent ()). VS2003 used to put this part of the code in the form of CS file, because this part of the code is generally not manually modified, after VS2005 separate it to form a designer.cs file and form corresponding. In this way, the remaining code in the CS file is a code that is more relevant to the program function and is conducive to maintenance.
  • . sln: solution file that provides Solution Explorer with the information needed to display the graphical interface for managing files.
  • . csproj: project files, creating information for references, data connections, folders, and files required by your application.
  • . aspx: A Web Forms page consists of two parts: visual elements (HTML, server controls, and static text) and the programming logic of the page. Visual Studio Stores the two components separately in a separate file. Visual elements are created in the. aspx file.
  • . ascx: An ASP. NET user control (also called "Pagelets") is developed as a Web page that encapsulates specific functions and behaviors, both of which are used on various pages of a Web application. A user control contains a combination of HTML, code, and other Web or user controls and is saved on the Web server in its own file format with the extension *.ascx. Asp. The default configuration in net does not allow Web clients to access these files through URLs, but other pages of this site can integrate the features contained in these files.
  • . Aspx.cs: The programming logic for a Web forms page is in a separate class file, called the code-behind class file (. aspx.cs).
  • . CS: class module code file. The code for the business logic processing layer.
  • . asax: An Global.asax file (also called an ASP. NET application file) is an optional file that contains code that responds to an application-level event raised by an ASP. NET or HTTP module.
  • . config: The Web. config file provides configuration information to the directory in which they reside and to all subdirectories.
  • . Aspx.resx/.resx: resource file, a resource is any non-executable data that is logically deployed by an application. By storing data in a resource file, you can change the data without recompiling the entire application.
  • . xsd:One of the XML schema. From Dtd,xdr to XSD
  • . PDB: The PDB (program database) file maintains debugging and project state information, allowing you to incrementally link the Debug configuration of your program.
  • The . Suo: solution user option, which records all the options that will be associated with the solution, so that each time it is opened, it contains the customizations that you made.
  • . asmx:asmx file contains WebService processing directives and serves as an addressable entry point for XML Web services
  • The . Vsdisco(Project discovery) file is an XML-based file that contains a link (URL) to a resource that provides discovery information for a WEB service.
  • . HTC: An HTML file that contains a series of HTC-specific elements for scripting and defining components. HTC provides a mechanism for implement components in scripts
  • . CD: is the VS2005 new class diagram file (class Diagram), you can select "Add New Item" In the existing project, it can be found in the list, to visualize the structure of a class graphically, and you can make some modifications to the class on the class diagram (refactoring , add methods, fields, properties, and so on).
    You can also create a class from a drawing class diagram, which is very useful for program architects.

C # File types

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.