Jack
Jack

Reputation: 1

Display a custom html page when publishing to IIS in MVC

I have an MVC5 application and I want to display an html (or htm) page while publishing the application to IIS server. So, I tried different methods by using app_offline.htm as indicated on ASP.NET Web Deployment using Visual Studio: Deploying a Code Update. But none of them works properly in MVC. Is there a better approach to make this?

Upvotes: 1

Views: 1470

Answers (1)

resnyanskiy
resnyanskiy

Reputation: 1637

Seems like app_offline.html customization not supported yet. See https://github.com/aspnet/Tooling/issues/530. Also, there is similar question Custom app_offline.htm file during publish.

Upvotes: 1

Related Questions