Run the 64-bit Asp.net Core application and azurewebapps in Azure WebApps.

Source: Internet
Author: User
Tags app service

Run the 64-bit Asp.net Core application and azurewebapps in Azure WebApps.

As the next-generation open-source cross-platform development framework of Microsoft, Asp.net core is attracting more and more developers to build modern web applications based on it.

Currently, Azure App Service supports asp.net core. The ASP. NET Core Web application developed by the user can be successfully executed after being deployed to the cloud in the same way as the common Asp.net Web application.

However, the Azure App Service currently only supports 32-bit Asp.net Core running, that is, the user's Asp.net Core application runs in a 32-bit process on the cloud. In most cases, it can support normal running of your web applications. However, in some scenarios, you may need to run 64-bit Asp.net Core, for example, an application needs to use user-mode virtual memory space larger than 2 GB, or the application needs to load 64-bit local code. In this case, we can consider using the custom uploaded Asp.net Core runtime environment.

The specific implementation is as follows:

3.open the web.configfile at the site. In the aspnetcoresection, change processpathto the new dotnet.exe path and save it.

<system.webServer>    

4. Restart the site.

 

 

For more information, click here.

 

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.