StartupViewTemplate

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());

We also do a replace of the tag '###GOALURL###' , this will be the original url the user tried to reach, even if this may seem trivial 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.


You should not underestimate the work with waiting for server start + routing through external login + handling this for both client side urls (# like angular) and full urls like DWV and Blazor.


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 40 days ago on 10/09/2024. What links here