I am using IIS, Version 10 on Windows Server 2016.
When I deploy a new Web app it goes under "Sites" with an organization of:
ServerNameA and then several sites, including MySiteA, which uses ApplicationPoolA.
After successful deployment, I can verify the files are new.
The web-app is specifically a web-service using .NET Framework 4.5.2 and originally built in Visual Studio 2019.
I am using IIS with the GUI-based Internet Information Services (IIS) app. Therefore, this is a Windows-based procedure, not a script-oriented approach.
What I want is to make sure the website actually runs the new files without re-booting or even restarting all of IIS.
*Typically, I do the following procedure, with these steps in IIS: *
Refresh MySiteA from context menu in the website under sites
Stop ApplicationPoolA
Start ApplicationPoolA
Refresh MySiteA from context menu in the website under sites
I am assuming one or both of the "refresh" commands on the website are redundant, or perhaps refresh is all that is needed.
What is the minimum procedure (set of steps) on IIS needed to guarantee the new deployment files are used?
One can assume that the deployment itself was successful and that all needed files are there.