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 / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Loading of Assemblies

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jordan S. - 18 Apr 2008 05:47 GMT
When an ASP.NET Application first starts, an application pool is created and
assemblies loaded into it.

How does ASP.NET "know" which assemblies to load - initially - into that
application pool? What controls which assemblies are initially loaded? Is it
Machine.config + App.config? Is there some other way that ASP.NET knows
which assemblies to load... any "hard-coded" that always load no matter
what?

When does ASP.NET load 3rd party assemblies into the default application
pool. For example, say that I have a 3rd party component (some UI widget) on
a page. When is that 3rd party component's containing assembly loaded?

Thanks.
Cowboy (Gregory A. Beamer) - 18 Apr 2008 15:33 GMT
There are certain items that are intially loaded from config files. I
believe there are also some 'hard coded' references that are loaded. The
rest of the assemblies are loaded when the first page using them is hit.
This is the case with third party controls.

If you want to reduce first hit with these controls, you can use the
precompile.axd "virtual" page to precompile the web application. It
essentially walks all of the pages to compile them. This is a 2.0 or later
feature, so it is not available in 1.x.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************

| Think outside the box!

*************************************************
> When an ASP.NET Application first starts, an application pool is created
> and assemblies loaded into it.
[quoted text clipped - 10 lines]
>
> Thanks.

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.