Results 1 to 4 of 4

Thread: .NET Start-Up Speeds

  1. #1

    Thread Starter
    Hyperactive Member made_of_asp's Avatar
    Join Date
    Jul 2001
    Location
    123 Fake Street
    Posts
    394

    .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?

    Thanks for any help
    VS.NET 2003

    Need to email me?

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106
    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.
    My usual boring signature: Nothing

  4. #4
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width