Click here to Skip to main content
15,885,790 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Front-side(Angular) code gets nothing when the code is being uploading on the the server from backend-side(.NET Core Web Api), except a message "Loading data....".
But i want to redirect to another page showing a message "Page is under maintance" if uploading is happening on the backend-side.....

What I have tried:

i have tried "google" but got no appropriate solution as i want......
Posted
Updated 19-Jul-21 2:11am
v3
Comments
Richard Deeming 19-Jul-21 4:30am    
You seem to have forgotten to ask a question. You've just typed the subject three times instead.

Click the green "Improve question" link and update your question to include a proper description of the problem, the relevant parts of your code, and the full details of any error(s).

1 solution

You just put an app_offline.htm file in the root of the site and then IIS will automatically show that file.

Or, if you want some custom cleverness look at this option, How to take an ASP.NET MVC web site “Down for maintenance” – The Reformed Programmer[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900