Running 64-bit ASP. NET Core applications in Azure WebApps

Source: Internet
Author: User
Tags app service dotnet

As the next generation of Microsoft's open source cross-platform development framework, ASP. NET core is attracting more and more developers to build modern Web applications based on them.

Currently, Azure APP Service also implements support for ASP. A user-developed ASP. NET Core Web app that is deployed to the cloud in the same way as a typical ASP. NET Web application can be executed smoothly.

However, currently Azure APP Service only supports the 32-bit ASP. NET core runtime, where the user's ASP. NET core application runs in the cloud as a 32-bit process. In most cases, it can support a user's web app to function properly, but in some scenarios, users will have the need to use the 64-bit ASP. NET Core runtime, such as applications that need to use more than 2GB of user-state virtual memory space, or application needs to load 64-bit local code, and so on. In this case, we can consider using a custom upload of the ASP. NET Core runtime environment.

The specific implementation is as follows:

    1. Download the. NET core SDK from Microsoft's. NET Core site (https://www.microsoft.com/net/core#windows) and install it into a 64-bit Windows Local machine.
    2. Upload the installed dotnet folder (the default path to C:\Program files\dotnet) to the Azure App Service directory via FTP. For example/site/wwwroot/dotnet

3. Open the site Web. config file, and in the Aspnetcore section, change the Processpath to the newly uploaded dotnet.exe path and save it.

<system.webServer>    

4. Restart the site.

For more information, please click here to view.

Running 64-bit ASP. NET Core applications in Azure WebApps

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.