Try our conversational search powered by Generative AI!

Hotfix deployment



I am trying to understand to hotfix deployment via Episerver API but couldn't find any complete documentation/instruction

Does anyone has any idea how can I reach that via Visual studio directly ?

Also is there any way to deploy to PROD without any downtime?


Apr 12, 2021 10:36

If you want no down time, you need to be using slot which is the default option, but with longer deployment time. For hotfix, you might want to consider direct deploy instead 

Apr 12, 2021 10:59

Direct deploy is available for the integration environment only.

Apr 12, 2021 13:31

Hey there Vahid,

There are 2 ways to do this.

If you want to use Visual Studio, you would have to deploy it to Integration and go through the environments as normal (Integration -> Preproduction -> Production). This isnt necessarily a hotfix, but it will get you to production.

The accepted way for hotfixes is to use the Deployment API and deploy straight to Production, which will go to the slot, and then you can either Complete/Reset the deployment. (To be a bit safer, based on how much time you have, you could also go to PreProduction first)

I have documented the process of the Deployment API in my blog posts here:

As for downtime, that wont be an issue unless you're doing database updates through Episerver Nuget package updates. If this is the case, not that itll help you right now, you may want to look into smooth deploy.

Smooth Deploy is currently in Beta, but it will help with exactly what you're talking about here. Updates/Hotfixes without any downtime, even if it has database updates: & 

Edited, Apr 12, 2021 14:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.