View the .Net source code vs version number and the meaning of each file in the C# project

Original link: https://www.cnblogs.com/CodeShopMan/p/4181678.html

Use Notepad to open the .sln file of the vs project.
The second line is the development software vs version number of this source code package

Note that if the sln file of vs2003 usually does not have this line, you can judge the last part of its first line: Format Version 8.00
Format Version 8.00 corresponds to vs2003
Format Version 9.00 corresponds to vs2005
Format Version 10.00 corresponds to vs2008
Format Version 11.00 corresponds to vs2010

.sln file : it is the solution file used in the development environment. The sln file organizes all the elements of one or more projects into a single solution. This file is stored in the parent project directory. Solution file, it is a collection of one or more .proj (projects), understood as a "shortcut" that guides us to run the .net project, the statement beginning with Project(" It defines the location of the .vbproj or .csproj project file.

.csproj: Project file , information about references, data connections, folders, and files needed to create an application.

.aspx : The Web Forms page consists of two parts: the visual elements (HTML, server controls, and static text) and the programming logic of the page. Visual Studio stores these two components in a separate file. The visual elements are created in the .aspx file.

.ascx : ASP.NET user controls (also called "pagelets") are developed as a Web page that encapsulates specific functions and behaviors (both of which are to be 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 in its own file format on the Web server, and its extension is *.ascx. The default configuration in ASP.NET does not allow Web clients to access these files through URLs, but other pages of this website can integrate the functions contained in these files.

.aspx.cs : The programming logic of the Web Forms page is located in a separate class file, which is called the code-behind class file (.aspx.cs).

.cs: ​​Class module code file. The code of the business logic processing layer.

.asax : The Global.asax file (also called ASP.NET application file) is an optional file that contains code that responds to application-level events triggered by ASP.NET or HTTP modules.

.config : Web.config files provide configuration information to the directories and all subdirectories in which they are located.

.aspx.resx/.resx : Resource files, resources are any non-executable data logically deployed by the application. By storing data in resource files, the data can be changed without recompiling the entire application.

.XSD : A kind of XML schema. From DTD, XDR to XSD

.pdb : PDB (program database) file holds debugging and project status information, so that the debugging configuration of the program can be incrementally linked.

.suo : Solution user options, record all the options that will be associated with the solution, so that every time you open it, it contains the custom settings you made.

.asmx :asmx: The file contains WebService processing instructions and is used as an addressable entry point for XML Web services.

The .vsdisco (Project Discovery) file is an XML-based file that contains links (URLs) to resources that provide discovery information for Web services.

.htc : An HTML file that contains scripts and a series of HTC-specific elements that define components. htc provides a mechanism for implementing components in scripts

Guess you like

Origin blog.csdn.net/hhhhhhenrik/article/details/87157906