C
C
CJDmitry2019-05-20 04:40:13
ASP.NET
CJDmitry, 2019-05-20 04:40:13

Publishing an ASP .Net Core application. What is the best way to do it?

There is a site on ASP .Net Core. When making changes and improvements, publication on the server (regru, windows) is required. So, I have to perform the following operations:
- in the hosting control panel, I suspend the site in order to unload the process. At this time, the site is unavailable and gives the code 5xx.
- only after that it becomes possible to copy the files to the server with the replacement of the old ones.
As a result, the publication on the server takes from 10 to 20 minutes. However, the site is unavailable.
Are there other options for publishing to the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NewDevLab, 2019-05-20
@cjdmitri

Publish to a different folder. Then you change the site's root directory.
If the hosting panel allows it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question