how to get the latest page after deploying to iis

doctorcat 21 Reputation points
2021-06-23T16:09:10.91+00:00

After I deployed my website to iis, I needed to change the index.asp file for some reasons, but I found that when the asp file was changed, the changes could not be reflected immediately in iis. I know this should be a cache problem, but I don't Know where to clear the cache and let my project call the latest asp file. Any suggestions would be greatly appreciated!

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2021-06-24T02:39:09.497+00:00

    Hi @doctorcat

    You can try to clear your browser cache, if you still can’t update immediately, you can try to recycle the application pool and reset your iis.

    Recycle the application pool:

    • Open Internet Information Services (IIS) Manager.
    • In the Connections pane, expand the server name, and then click Application Pools.
    • In the Application Pools pane, select the application pool you want edit.
    • In the Actions pane, click Recycling...

    Reset iis:

    • Right click on cmd.exe and select Run as administrator.
    • At the command prompt, type IISRESET.
    • Press Enter.
    • When Internet services successfully restarted appears, type exit.

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful