Summary of common file types, extensions, storage locations, and usage in ASP. NET, and asp.net file types

Source: Internet
Author: User

Summary of common file types, extensions, storage locations, and usage in ASP. NET, and asp.net file types

. Asax

Application root directory.
It is usually a Global. asax file, which contains the code that derives from the HttpApplication class and represents the application.
For more information, see the Global. asax syntax.

. Ascx

The root directory or subdirectory of the application.
Web user control file, which defines custom and reusable user controls.
For more information, see ASP. NET user controls.

. Ashx

The root directory or subdirectory of the application.
A general processing program file that contains the code that implements the IHttpHandler interface to process all incoming requests.
For more information, see HTTP handler introduction.

. Asmx

The root directory or subdirectory of the application.
XML Web services file, which contains the classes and methods that can be used for other Web applications through SOAP.
For more information, see release and deployment of XML Web Services.

. Aspx

The root directory or subdirectory of the application.
ASP. NET Web form file, which can contain Web controls and other business logic.
For more information, see ASP. NET Web pages and ASP. NET Web server controls.

. Axd

Application root directory.
The Trace viewer file, usually Trace. axd.
For more information, see ASP. NET tracking.

. Browser

The App_Browsers subdirectory.
Browser definition file, used to identify the enable function of the client browser.
For more information, see ASP. NET Web server controls and browser functions.

. Cd

The root directory or subdirectory of the application.
Class relationship diagram file.
For more information, see use class relationship diagram.

. Compile

Bin subdirectory.
Pre-compiled stub (stub) file that points to the corresponding assembly. The executable file types (. aspx, ascx,. master, and theme files) have been pre-compiled and placed in the Bin subdirectory.
For more information, see ASP. NET Website pre-compilation overview.

. Config

The root directory or subdirectory of the application.
It is usually a Web. config configuration file, which contains XML elements for setting and configuring various ASP. NET functions.
For more information, see ASP. NET configuration file.

. Cs,. jsl,. vb

App_Code subdirectory; however, if it is a code hidden file on an ASP. NET page, it is located in the same directory as the webpage.
The class source code file to be compiled during runtime. Class can be an HTTP module, an HTTP handler, or a code hidden file introduced by the HTTP handler on the ASP. NET page.

. Csproj,. vbproj, vjsproj

Visual Studio project directory.
Project file of the Visual Studio client application project.
For more information, see projects and solutions.

. Disco,. vsdisco

The App_WebReferences subdirectory.
XML Web services file, used to help locate available Web services.
For more information, see release and deployment of XML Web Services.

. Dsdgm,. dsprototype

The root directory or subdirectory of the application.
A distributed service relationship diagram (DSD) file that can be added to any Visual Studio solution that provides or uses Web services for reverse engineering of the Structure View of Web service interaction.
For more information, see release and deployment of XML Web Services.

. Dll

Bin subdirectory.
The compiled class library file. Alternatively, you can place the class source code under the App_Code subdirectory.
For more information, see the shared code folder on the ASP. NET Website.

. Licx,. webinfo

The root directory or subdirectory of the application.
License file. The control creator can use the authorization method to check whether the user is authorized to use the control, so as to help protect their intellectual property rights.
For more information, see How to: License components and controls.

. Master

The root directory or subdirectory of the application.
Master page, which defines the layout of other webpages in the application that reference the master page.
For more information, see the ASP. NET master page.

. Mdb,. ldb

The App_Data subdirectory.
Access database files.
For more information, see access data through ASP. NET.

. Mdf

The App_Data subdirectory.
SQL database file.
For more information, see access data through ASP. NET.

. Msgx,. svc

The root directory or subdirectory of the application.
The Indigo Messaging Framework (MFx) service file.

. Rem

The root directory or subdirectory of the application.
Process program files remotely.
For more information, see modify a SOAP message using the SOAP extension.

. Resources

App_GlobalResources or the App_LocalResources subdirectory.
Resource file, which contains resource strings pointing to images, localized text, or other data.
For more information, see application resources or how to: create resource files for ASP. NET websites.

. Resx

App_GlobalResources or the App_LocalResources subdirectory.
Resource file, which contains resource strings pointing to images, localized text, or other data.
For more information, see application resources or how to: create resource files for ASP. NET websites.

. Sdm,. sdmDocument

The root directory or subdirectory of the application.
The System-defined model (SDM) file.
For more information, see system definition model (SDM) overview.

. Sitemap

Application root directory.
A site map file that contains the website structure. ASP. NET comes with a default site map provider that allows you to conveniently display navigation controls on webpages Using Site Map Files.
For more information, see ASP. NET site navigation.

. Skin

App_Themes subdirectory.
Used to determine the appearance file of the display format.
For more information, see ASP. NET themes and appearances.

. Sln

Visual Web Developer project directory.
The solution file of the Visual Web Developer project.
For more information, see projects and solutions.

. Soap

The root directory or subdirectory of the application.
SOAP extension file.
For more information, see modify a SOAP message using the SOAP extension.


The default extension of the ASPNET page is

. Aspx is the default ASP. NET page file extension.
. Ascx is the default ASP. NET control file extension.
. Master is the default ASP. NET template file extension.
. Asmx is the default ASP. NET Web Service file extension.
. Ashx is the default ASP. NET file extension.
. Asax is the default ASP. net asax file extension.
. Config is the default ASP. NET configuration file extension.
. Resx is the default ASP. NET Resource file extension.
. Skin is the default ASP. NET skin file extension.
. Browser is the default ASP. NET browser configuration file extension.
. Sitemap is the default ASP. NET site map file extension.

Think about what else?

What is the file extension?

File Extension, which may be a strange name for cainiao who use computers. Maybe many people have to ask, the file name is a file name plug-in, what extension is there? However, in our practical application, we often encounter such a phenomenon: some inexplicable files in the computer are always unable to be opened, and the icons opened in time are always different from those on other computers. Let's get down to the truth.
The file extension is a mechanism used by the operating system to mark the file format. Generally, an extension is followed by a separator. In a file named "readme.txt", readme is the file name, And txt is the extension, indicating that the file is a plain text file.
Maybe you will ask: Why didn't I see an origin point behind the file name and something behind the origin point on my computer? Don't worry, come with me? First open a folder, click menu bar → tools → Folder Options
Remove the marker before "hide the extensions of known files. click "OK". Now you can see all the files saved on your computer. Are there any more origins and letters behind the original file name? These are all extensions. If you do not want to display the extension, perform the above steps, add the √ you just removed, and click OK. You can practice this more.
However, you must note that after you cancel √, the file name and its extension are displayed. However, when we need to rename the file, the file extension cannot be changed, otherwise, the file may not be opened, or the icon of the file will change. Therefore, when renaming a file with an extension, the extension cannot be lost.
We often contact extensions such as doc, wps, xls, ppt, jpg, and txt) rar (Winrar compressed file), htm (webpage file), html (webpage file), and so on.
Are you clear about this? If you are still confused, I will pay for it again. We may have used Word to edit documents. After we have worked hard on an article or a summary plan, the next thing we need to do is save. When we click Save, the following dialog box will pop up. Where is the storage type, we will see the word document mark? Maybe the vast majority of us don't care about this problem (otherwise we will all be inventors), because most of our teachers didn't teach us, so we just get a file name and it's okay. That is, the file extension that we don't care about.

The above materials are from the Internet

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.