Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Pre-compile a dll in memory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack Wright - 23 Dec 2004 14:01 GMT
Dear All,
  I assume that merely loading a .net dll in memory via
Assembly.LoadForm does not compile the dll into machine code...does it
make sense to loop through the classes defined in the dll and create
them...will this ensure that the classes are JITed...please help...

TALIA
Many Regards
Jack
Dino Chiesa [Microsoft] - 23 Dec 2004 16:15 GMT
Why do you want to explicitly control the JIT ?

The CLR decides when to JIT; is the automatic ("hands off") method not
satisfactory for you?
If so, how and why?

-D

> Dear All,
>   I assume that merely loading a .net dll in memory via
[quoted text clipped - 5 lines]
> Many Regards
> Jack
Jack Wright - 24 Dec 2004 04:04 GMT
Hi Dino,
  My applications are launched via NTD...I have large forms and its
initialseComponent takes atleast 2 seconds...my clients want to see
Forms in 2 secs even the first time after the restart their
machine...hence we would like to do something like the ASP.Net
Pre-Compile and give the Client a fast response time...so while the user
is not using my application, it want to pre-compile the forms...is MS
thinking of giving a (Pre-compile feature other than NGen that can't be
used with No Touch)...

Thanks and merry X'Mas to you and everyone in the Newsgroup...GOD bless
you all...

TALIA
Many regards
Jack
Willy Denoyette [MVP] - 26 Dec 2004 21:48 GMT
Sure Asp.net "pre-compiles",  it run's csc.exe or vbc.exe to compile cs or
vb source code to MSIL, your windows forms applications are already
"pre-compiled". Can't your customer wait a few seconds for the firts form to
appear, what's his motivation?

Willy.

> Hi Dino,
>   My applications are launched via NTD...I have large forms and its
[quoted text clipped - 15 lines]
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.