WPF application slow on startup

后端 未结 5 1939
说谎
说谎 2020-12-24 02:41

My WPF application currently only shows a screen with some controls, it doesn\'t connect to DB or has any other functionality. It\'s a simple UI screen.

When I was t

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 03:30

    Is the system connected to a network, but cannot reach the internet because the proxy is not configured? If so, go to Internet Settings (i.e. Internet Explorer Properties), Advanced, and look in the tree view for Security and a checkbox like "check revoked certificates" or something (I'm using German Windows, so I don't have the English label at hands). Uncheck and test again.

    If this fixed the problem, you have one signed assembly that is not from Microsoft for which the .NET Framework will check for revocations, and time out after 15 seconds. If you disable the checking or configure the internet connection properly, you won't have to wait.

提交回复
热议问题