简体   繁体   中英

Deploying a Precompile build for .NetCore 3.1 visual Studio 2019

I want to deploy a pre-compile build on IIS in order to improve performance of the application. I found one solution on this link, https://forums.asp.net/t/2156430.aspx?How+to+precompile+in+VS+2019

But I am not having "Precompile during publishing" option in my visual studio. I have different options, see in the image. 在此处输入图片说明

Note: I have also deploy build by enabling "Enable ReadyToRun Compilation". but it does not make any affect in performance.

Any suggestions?

我所知道的,在 .NetCore 中,视图默认是预编译的,不像 MVC 5。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM