Re: Splitting the dll..
From: Teemu Keiski (joteke_at_aspalliance.com)
Date: 09/03/04
- Next message: Simon: "Random images giving 401/403 errors"
- Previous message: Teemu Keiski: "Re: very strange proble with access queyr and parameter"
- In reply to: Nelson Smith: "Splitting the dll.."
- Next in thread: Cam: "RE: Splitting the dll.."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Sep 2004 13:38:18 +0300
Hi,
you could have multifile assemblies if you use command-line compilers (see
docs for "multifile assemblies") but the benefits aren't in performance
because assemblies are always preloaded and code JITed and cached before
execution.
According to docs:
==============
There are several reasons you might want to create a multifile assembly:
To combine modules written in different languages. This is the most common
reason for creating a multifile assembly.
To optimize downloading an application by putting seldom-used types in a
module that is downloaded only when needed.
Note If you are creating applications that will be downloaded using the
<object> tag with Microsoft Internet Explorer, it is important that you
create multifile assemblies. In this scenario, you create a file separate
from your code modules that contains only the assembly manifest. Internet
Explorer downloads the assembly manifest first, and then creates worker
threads to download any additional modules or assemblies required. While the
file containing the assembly manifest is being downloaded, Internet Explorer
will be unresponsive to user input. The smaller the file containing the
assembly manifest, the less time Internet Explorer will be unresponsive.
To combine code modules written by several developers. Although each
developer can compile each code module into an assembly, this can force some
types to be exposed publicly that are not exposed if all modules are put
into a multifile assembly.
-- Teemu Keiski MCP, Microsoft MVP (ASP.NET), AspInsiders member ASP.NET Forum Moderator, AspAlliance Columnist http://blogs.aspadvice.com/joteke "Nelson Smith" <NelsonS@hotmail.com> wrote in message news:%23evVgZXkEHA.3852@tk2msftngp13.phx.gbl... > I have created a web based application using .net frame work 1.1. It has > several modules (I mean screens). Some of the screens are used by shipping > department; some of them are used by purchase department. When I build the > application it is creating one dll of very high size. > > When I compile is it possible to create different dlls for each module. Will > it be an advantage? Will it help in the performance of the application? > > Thanks, > > Nelson > >
- Next message: Simon: "Random images giving 401/403 errors"
- Previous message: Teemu Keiski: "Re: very strange proble with access queyr and parameter"
- In reply to: Nelson Smith: "Splitting the dll.."
- Next in thread: Cam: "RE: Splitting the dll.."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|