Mvc5+ef6, performance tuning

Source: Internet
Author: User

1. For IIS7.5 (IIS7 incompatible), download and install application initialization Module for IIS 7.5,http://www.iis.net/downloads/microsoft/ APPLICATION-INITIALIZATION,IIS8 will be built-in to change functionality. Depending on your server environment, choose a version, such as Appwarmup_x64.msi (the downloaded file).

2, application initialization module needs to use the Appcmd command to configure, a user has developed a visual configuration tool, http://blogs.msdn.com/b/amol/archive/2013/01/ 25/application-initialization-ui-for-iis-7-5.aspx

3. Install Applicationinitializationinstaller, then a visualizer will appear in IIS

4. Configure the required application pool to alwaysrunning (the configuration parameter description at the bottom of the visualizer); Site configuration See the situation of their own choice, for I operate the server, the site down to another site, IIS will automatically close, not clear whether it is related to the Chinese site name, and then use the Web version of the installation , the administrator is opened, the site configuration can be selected normally, IIS Web site module also has appwarmupmodule.

If your visualizer also appears to be open, you can use a configuration file. C:\Windows\System32\inetsrv\config\applicationHost.config.

<applicationPools> node

1 <add name="ProjectName" managedruntimeversion="v4.0 " startmode=" > "alwaysrunning"

<sites> node

1 <application path="/" applicationpool="  Applicationpoolname" preloadenabled="true">

Then iisreset, re-read the configuration file.

Mvc5+ef6, performance tuning

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.