JohnySiwus
JohnySiwus

Reputation: 3

How to display static page when updating website (ASP.NET 4.0)

When I update my website (I copy files via ftp) website doesn't work, so I want for that time display static page. What I do is I change the priority of default pages in IIS (7.5) and before coping new website files I past the first priority file, but it doesn't work - I've hoped that iis runs that file (display static page) and after coping new website files I remove first priority file and everything will be ok.

Can you help me?

Upvotes: 0

Views: 220

Answers (1)

tucaz
tucaz

Reputation: 6684

You could try the app_offline.htm approach. Make sure you look here if you are using asp.net mvc.

Upvotes: 1

Related Questions