šŸš€ Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
SysSingleton optional properties
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
See also: [[SysSingleton GetSystemUrl]]
See also: [[SysSingleton GetSystemUrl]]



Revision as of 22:37, 16 June 2024

This page was created by Hans.karlsen on 2021-09-23. Last edited by Stephanie on 2025-02-18.

Write the content here to display this box

See also: SysSingleton GetSystemUrl

Turnkey now checks for filled SysSingleton properties - if found(in StreamingApp_API_Base Open). We strongly suggest you have these as non-persistent to get the desired per-user-session result:

  • SysSingleton.ClientIp:String?, Transient - if found, Turnkey will fill in with ClientIp.
  • SysSingleton.SystemType:String?, Transient - if found, Turnkey will fill in with TurnkeyNetFramework or TurnkeyNetCore.
  • SysSingleton.UserAgent:String?, Transient - if found, Turnkey will fill in with User-agent from the client.
  • From 2023-10-17 we call a method OnCurrentUserChanged if found on SysSingleton whenever the CurrentUser is set or nulled out - this happens when a user logs in our out, for MVC it happens on postback
2021-09-23 12h32 30.png

See also SHA512ComputeHash,_SHA256ComputeHash_and_BitConverterToString

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments