Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > .Net Dlls and ASP.NET app.

Reply
Thread Tools

.Net Dlls and ASP.NET app.

 
 
Guest
Posts: n/a
 
      07-11-2003


I posted this question in the past, but have not
yet received an answer. Here is the question.

By default an ASP.NET app developed in Visual Studio
compiles it's code to a DLL located in the bin directory.
Is it worth while to try to break your code into seperate
DLLs, rather than allow your project to keep building this
DLL larger and larger as you develop your app? Does it
save memory to have less frequently used (by the user)
code in a seperate DLL.

If you broke the code into seperate DLLs and wanted to
continue to work within Visual Studio, would you need
seperate projects?

If you had seperate dependant projects would all the
Dlls wind up in the same bin directory, or in a seperate
bin for each project.

Thanks in advance -
 
Reply With Quote
 
 
 
 
David Browne
Guest
Posts: n/a
 
      07-11-2003
<> wrote in message
news:031301c347f5$538aa2a0$...
>
>
> I posted this question in the past, but have not
> yet received an answer. Here is the question.
>
> By default an ASP.NET app developed in Visual Studio
> compiles it's code to a DLL located in the bin directory.
> Is it worth while to try to break your code into seperate
> DLLs, rather than allow your project to keep building this
> DLL larger and larger as you develop your app? Does it
> save memory to have less frequently used (by the user)
> code in a seperate DLL.


Yes, but trivial amounts.

>
> If you broke the code into seperate DLLs and wanted to
> continue to work within Visual Studio, would you need
> seperate projects?


Yes. The other projects would be class libraries. They could all be in the
same solution.

>
> If you had seperate dependant projects would all the
> Dlls wind up in the same bin directory, or in a seperate
> bin for each project.


Both. If a reference's CopyLocal property is true, it will be copied into
your bin directory when you build.

David


 
Reply With Quote
 
 
 
 
Vincent V
Guest
Posts: n/a
 
      07-11-2003
If you have dlls in seperate projects is it the same situation
with getting the Current context items?

"David Browne" <davidbaxterbrowne no potted > wrote in
message news:OYfLHZ$...
> <> wrote in message
> news:031301c347f5$538aa2a0$...
> >
> >
> > I posted this question in the past, but have not
> > yet received an answer. Here is the question.
> >
> > By default an ASP.NET app developed in Visual Studio
> > compiles it's code to a DLL located in the bin directory.
> > Is it worth while to try to break your code into seperate
> > DLLs, rather than allow your project to keep building this
> > DLL larger and larger as you develop your app? Does it
> > save memory to have less frequently used (by the user)
> > code in a seperate DLL.

>
> Yes, but trivial amounts.
>
> >
> > If you broke the code into seperate DLLs and wanted to
> > continue to work within Visual Studio, would you need
> > seperate projects?

>
> Yes. The other projects would be class libraries. They could all be in

the
> same solution.
>
> >
> > If you had seperate dependant projects would all the
> > Dlls wind up in the same bin directory, or in a seperate
> > bin for each project.

>
> Both. If a reference's CopyLocal property is true, it will be copied into
> your bin directory when you build.
>
> David
>
>



 
Reply With Quote
 
Yan-Hong Huang[MSFT]
Guest
Posts: n/a
 
      07-15-2003
Hello,

David is right. You could also refer to http://msdn.microsoft.com/library/en...asp?frame=true for
Microsoft Practices on how to structure Solutions and Projects.

Hope it helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: <>
!Sender: <>
!Subject: .Net Dlls and ASP.NET app.
!Date: Fri, 11 Jul 2003 14:42:29 -0700
!Lines: 22
!Message-ID: <031301c347f5$538aa2a0$>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNH9VOKWL7Xl2h7QZGcDeyusd/MUQ==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158672
!NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!
!
! I posted this question in the past, but have not
!yet received an answer. Here is the question.
!
! By default an ASP.NET app developed in Visual Studio
!compiles it's code to a DLL located in the bin directory.
!Is it worth while to try to break your code into seperate
!DLLs, rather than allow your project to keep building this
!DLL larger and larger as you develop your app? Does it
!save memory to have less frequently used (by the user)
!code in a seperate DLL.
!
! If you broke the code into seperate DLLs and wanted to
!continue to work within Visual Studio, would you need
!seperate projects?
!
! If you had seperate dependant projects would all the
!Dlls wind up in the same bin directory, or in a seperate
!bin for each project.
!
! Thanks in advance -
!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install dlls and exes for libtidy and others? Kevin Ar18 Python 0 11-04-2009 06:06 PM
DLLs and CallWndRetProc and Timers Lindsay C++ 3 07-12-2005 07:04 PM
deploying applications and shared dlls C Evans via .NET 247 ASP .Net 0 05-23-2005 10:26 AM
setting up general app path for DLLs and avoiding Could not load type '<project>.<class>' error Wolfgang Kaml ASP .Net 11 01-22-2004 05:34 PM
.net and dlls ana ASP .Net 2 06-30-2003 01:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57