When building Canvas Apps, it is important to ensure smooth initialization for performance and user experience. The App.OnStart property is used to execute instructions as soon as the app launches, such as defining global variables, caching data, and retrieving stored values. However, Microsoft has introduced the StartScreen property to handle navigation more efficiently. This article explores the best ways to use App.OnStart, why StartScreen is now preferred for navigation, and how to transition away from outdated practices. By using StartScreen for navigation, apps load faster, behave more predictably, and are easier to debug, resulting in a better user experience.
Login now to access my digest by 365.Training