M
M
mindgrow2018-05-17 12:19:53
ASP.NET
mindgrow, 2018-05-17 12:19:53

What is the best way to update ASP.MVC hosted site?

Good afternoon!

I have a hosting on reg ru.
Now, if I make a new release of an asp.mvc application, I first upload the archive to the hosting, then delete all the files of the old site and unzip the archive of the new release.
I encounter such a problem that if someone visits it during the site update, then a 401 error appears, which does not disappear after the site is updated.

Came to the conclusion that I'm doing something wrong. Tell me how to update the release of the site.
Ideally, I see it as a page with the text "The site is being updated" appears on the site during the update, and after that, the update page disappears.

I tried to drop the index.html (page with the text of the update) -file into the project folder, and rename Web.Config - to _Web.Config - but index.html does not open.

Please give advice

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mindgrow, 2018-06-07
@mindgrow

Began to update via Web-Deploy

D
Dmitry Entelis, 2018-05-17
@DmitriyEntelis

keywords to explore:
version control system (git)
auto-deploy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question