What is the purpose of "ASP.Net" folders?

Asked

Viewed 439 times

1

In the Visual Studio it offers me the option of "Add ASP.NET Folder".

inserir a descrição da imagem aqui

What would their purposes be? If possible I would like you to talk at least a little about each one.

1 answer

3


According to the documentation ASP.NET Web Site Layout

App_browsers

Contains browser settings (files .Browser) that ASP.NET uses to identify individual browsers and determine their capabilities. For more information, see Browser Definition Schema file (Element browsers) and How to: Detect browser types and browser resources on ASP.NET web pages.

App_code

Contains source code for utility and business object classes (for example, files .cs, .vb and .jsl) that you want to compile as part of your application.In a dynamically compiled application, ASP.NET compiles the code in the folder App_Code in the initial request for your application. Items in this folder are recompiled when changes are detected.

Note: Arbitrary file types can be placed in the folder App_Code to create strong type objects. For example, placing web service files (files .wsdl and .xsd) in the briefcase App_Code creates rigid proxies types.

Code in the folder App_Code is automatically referenced in your application. Also, the folder App_Code can contain subfolders of files that need to be compiled at runtime. For more information, see Shared code folders on ASP.NET web sites and codeSubDirectories elemento for Compilation (ASP.NET Settings Scheme).

App_data

Contains application data files including MDF files, XML files as well as other data storage files. The folder App_Data is used by ASP.NET 2.0 to store a local database application, which can be used to keep information about participation and function. For more information, see Introduction to the Association and Understanding of role management.

App_globalresources

Contains resources (files .resx and .resources) compiled in assemblies with global reach. Resources in the folder App_GlobalResources are strongly typed and can be accessed programmatically. For more information, see Overview of ASP.NET Web Page Features.

App_localresources

Contains resources (files .resx and .resources) that are associated with a particular page, user control, or master page in an app. For more information, see Overview of ASP.NET Web Page Features.

App_themes

Contains a collection of files (files .skin and .css, as well as image files and generic resources) that define the appearance of ASP.NET web pages and controls. For more information, access the link Overview of Themes and Appearances ASP.NET.

Note: The contents of the application folders, with the exception of the folder App_Themes, is not used in response to web requests, but can be accessed from the application code.

App_webreferences

Contains contract reference files (files .WSDL), schemes (archives .xsd) and document discovery files (files .disco and .discomap) setting a web reference for use in an application. For more information on how to generate code for XML web services, see Tool WSDL (Web Services Description Language) (WSDL.exe).

Bin

Contains compiled assemblies (archives .dll) for controls, components, or other code you want to reference in your application. Classes represented by code in the Bin folder are automatically referenced in your application. For more information, see Shared code folders on ASP.NET web sites.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.