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?

4

1 回答 1

1

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

于 2012-05-14T11:55:58.393 回答