temporary folder for ASP.

Source: Internet
Author: User
Tags temporary file storage

Https://msdn.microsoft.com/en-us/library/ms366723.aspx

compilation Output

When your code was compiled, the resulting assemblies was cached in a folder on the server. This folder requires appropriate permissions so your code compiles and runs correctly. You can configure both the compilation folder location and the permissions under which your code compiles and operates.

compilation Folder location

By default if you compile a WEB application the compiled code is placed in the temporary ASP. This folder was a subdirectory of the location where you installed the. NET Framework. Typically, the location is the following:

%systemroot%\microsoft.net\framework\versionnumber\temporary ASP. NET Files
compilation Folder Required Permissions

The. NET installation process creates the temporary ASP. The. Assigns access permissions to the ASP. Al user account, which have the High-trust permissions needed to access your compiled code. If you modify your a configuration or account settings, you must make sure that the account you have high-trust Permissio NS to the temporary. ASP. NET Files folder. For additional details, see How to To:run the Worker Process under a User account.

compilation Folder configurability

ASP. Creates a discrete subfolder under the Temporary ASP. NET File folder for each application. You can configure the root location using the Tempdirectory attribute of the compilation section of the configuration file . This optional attribute enables you to specify the directory to use for temporary file storage during compilation. The default is an empty string (""). In the case of a empty string, and if the current process has the required access permissions, the files is stored in th E following directory:

%frameworkinstalllocation%\temporary ASP. NET Files

For more information, see Compilation Element (ASP. NET Settings Schema) and the Tempdirectory property of the compilations Ection.

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-versions-getting-started/ Deploying-web-site-projects/precompiling-your-website-cs

This compiled assembly %WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files was saved in the folder and although the location of this folder can customized via <pages> the Element in Web.config .

Because the assembly is saved to disk, it does does need to being recompiled on subsequent requests to the same page.

temporary folder for ASP.

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.