Base solution for your next web application
Open Closed

Angular App Offline #8584


User avatar
0
jur.porras created

Good Day,

Is there a way in Asp Net Zero that controls the site to command it to become down or up.

For example, when building, publishing new update in the site, since there's a downtime in frontend, It would be nice if we can display a maintenance page informing site visitor that there's something happening in the system.

Maybe there's an angular way, such what had in asp net zero, App_Offline.htm. I wish this was already catered.

Looking forward for your response.

Regards, Jur


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @jur.porras

    Unfortunately, there is no such built-in feature. You can use App_Offline.htm approach.

  • User Avatar
    0
    jur.porras created

    I created workaround by using the the web.config of the frontend..

    I put there a rewrite setting that will reditrect the page to my custom angular page whenever the frontend experiencing a internal server error.

    Thanks