StartupViewTemplate
No edit summary
Line 1: Line 1:
For Turnkey on .netCore there is a page views\\turnkey\\StartupViewTemplate.htm that will be updated with :
For Turnkey on .netCore, there is a page: views\\turnkey\\StartupViewTemplate.htm that will be updated with :
  System.IO.File.ReadAllText(path).Replace("###BASEURL###",Common.GetApplicationServerUrl());
  System.IO.File.ReadAllText(path).Replace("###BASEURL###",Common.GetApplicationServerUrl());
And then returned to client while if the TurnkeyApp has not fully started yet.
And then returned to client, if the TurnkeyApp has not fully started yet.


The Turnkey app takes some time during startup to extract model from MDrivenServer and expand the model out to disk to be faster the next time it starts - if the model has not changed checksum.
The Turnkey app takes some time during startup to extract the model from MDrivenServer and expand the model out to disk to be faster the next time it starts - if the model has not changed checksum.


You can also modify the displayed page by providing a page that works the same way under the name:
You can also modify the displayed page by providing a page that works the same way under the name:


_AssetsTK\\Views\\EXT_OverridePages\\StartupViewTemplate_AppOverride.htm. Read more on [[Documentation:AssetsTK|AssetsTK]]
_AssetsTK\\Views\\EXT_OverridePages\\StartupViewTemplate_AppOverride.htm. Read more on [[Documentation:AssetsTK|AssetsTK]].


For Turnkey on Framework the StartUp page uses the built in IIS support that requires you to change the web.config file as described in this article: [[Documentation:Simple_URLs_and_Azure_redirect]]
For Turnkey on Framework, the StartUp page uses the built in IIS support that requires you to change the web.config file as described in this article: [[Documentation:Simple_URLs_and_Azure_redirect]]
[[Category:MDriven Turnkey]]
[[Category:MDriven Server]]
[[Category:IIS]]

Revision as of 06:52, 1 May 2024

For Turnkey on .netCore, there is a page: views\\turnkey\\StartupViewTemplate.htm that will be updated with :

System.IO.File.ReadAllText(path).Replace("###BASEURL###",Common.GetApplicationServerUrl());

And then returned to client, if the TurnkeyApp has not fully started yet.

The Turnkey app takes some time during startup to extract the model from MDrivenServer and expand the model out to disk to be faster the next time it starts - if the model has not changed checksum.

You can also modify the displayed page by providing a page that works the same way under the name:

_AssetsTK\\Views\\EXT_OverridePages\\StartupViewTemplate_AppOverride.htm. Read more on AssetsTK.

For Turnkey on Framework, the StartUp page uses the built in IIS support that requires you to change the web.config file as described in this article: Documentation:Simple_URLs_and_Azure_redirect

This page was edited 16 days ago on 05/01/2024. What links here