When you deploy a new version of an existing .net website. What is the first safe way to stop an old cache-launch application?
Here is an example of what I would like to write (Pseudo deployment script):
dotnet stop mysite/mysite.dll <---- this line here
mv mysite/ mysite.bak/
cp newly-published-mysite/ mysite/
dotnet run mysite/mysite.dll
killall dotnetIt seems a little unsafe. How will this work if I have two small sites on one box?
source
share