I often get asked how to speed up the .NET applications startup times and my answer is often to try NGEN which pre-compiles assemblies at install time instead of when application is run. Here is a nice guidelines from CLR team at Microsoft that outlines when to actually do that. In short NGEN can help you if:

  • You have a large application that has lots of managed code that gets fetched and/or ran at startup. When such application is run the Just-in-time compiler goes and compiles all Intermediate Language code first which of course takes certain amount of time. More code equals longer JIT times resulting in startup delays. Eliminating this steps by using NGEN will help with both cold and warm application startup times.
  • You have framework, library or other reusable components. Code that is produced by JIT cannot be shared across multiple processes, but the code produced by NGEN can. When multiple applications are using the same library and component this results in smaller memory footprint and faster loading times since component once loaded is shared between the applications.
  • Your application is expected to be running under Terminal Services. This is closely related to previous point since code will be reused in multiple processes.

You should not use NGEN for smaller applications, generally there is no benefit in doing so.

You can read full post here.

Here is also good information on how to integrate NGEN into the setup.

MSDN Magazine also has good article on how to squeeze maximum out of NGEN.

 

That is conclusion that Paul Graham came to after financing number of technology startups. You can read his essay here. I highly recommend it.

Which college founders of startups he financed attended, did not influence in any measurable way whether startup they created succeeded or failed. This should be a must read article for the H.R. professionals and anyone that is trying to hire people.

While this is nothing new to me, I have seen it number of times where companies and individuals were influenced and were specifically looking for the people that attended “special” brand-name colleges. To me, it does not make sense but it happens all the time.

My experience is different and inline with what Paul Graham saw. Some of the best developers I worked with, did not attend brand-name colleges. Some of them did not even have a college education which is something to think about.  Some of the very successful entrepreneurs that I know did not attend brand-name colleges either or did not have college education.

I would oppose Paul Graham and say that even high intelligence of founders does not influence whether startup will succeed or fail. It is not how high your intelligence is that dictates success, it is how you use what you have. 

You can have greatest tools in the world but if you do not use them effectively they will not do you much good…

You should hire based on what someone actually did, not which school they attended.

 

Hi everyone,

We just released DotNetBar 6.9 with over 30 new features and enhancements. Highlight of this release is new Office 2007 style for Side-Bar control which finally makes Side-Bar control fits the Office 2007 style. While Office 2007 does not include Side-Bar control, our designer created a style that will fit very well with our other Office 2007 controls. Here is screen-shot of Side-Bar control running on Windows Vista:

As usual you can get fully functional trial on DotNetBar web site.

DotNetBar for Windows Forms 7.0 release is coming and there are big additions planned to celebrate that huge milestone. Stay tuned for more info 😉

Thank you for using and recommending DotNetBar!

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

© 2009 Denis Basaric: DevComponents Blog