-
.NET Start-Up Speeds
Hey :)
Just wondering if there is a way to improve start-up speeds on applications using .NET framework. I have written a database app in C++ using .NET framework and ODBC classes, but the application easily takes 15 minutes to load.
My C++ applications written in pure Win32 API load in <1 second.
Whats wrong here? :sick:
Thanks for any help :wave:
-
Something is seriously wrong. Do some debugging. I have never had any of my apps take more that 5-10 seconds to start. 15 minutes is way too much.
-
Are you connecting to the DB during startup? The only thing I can think of that would cause a startup of that insane length would be a network problem associated with DB connections.
Gotta echo Hellswraith, though. That load time is crazy....unless you meant 15s instead of 15m.
-
Re: .NET Start-Up Speeds
That is a huge start up time. I know that resetting security policies can speed up things a bit (caspol), and also obfuscating your code is supposed to make it run a bit faster as well. You can also enable optimizations in the project properties of your app - but this may make it a bit harder to debug.