I have LoginForm, Splashscreen, MainForm and Authentification.
Current design is to show LoginForm before any other action and MainForm.
Main() calls modal LoginForm that check credentials, if ok Application.Run(MainForm) with Splashcreen.
Problem: LoginForm freeze for 6sec when EF checking for uid/pwd. As a result splashscreen is shown < 1sec.
Q1: Is there a way to speed up cold start because only check user/password combination before MainForm start?
Q2: What would be best start sequence design? What You think of:
- From
LoginForm, callSpashscreenwith context load dummy data (all users), - then show
LoginFormand check credentials. - After modal LoginForm closes Run(MainForm).
Note: EF600rc doesn't have UNIQUE annotation yet.