Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 20th, 2004, 11:21 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default .dll file

When is a .dll for a site too big? And if it reaches that size should you create a second solution to create 2 .dlls. Just curious.

Old February 20th, 2004, 04:06 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

I imagine a single DLL could be quite large and not cause problems. If you are finding that you have that much code in a single project, it's not a bad idea to break it apart. Compartmentalize your code. You could create a project that handles all your data tasks (talking to the database) in a separate project. A quick look at the runtime dlls show this:
   77,824 System.Configuration.Install.dll
1,290,240 System.Data.dll
  299,008 System.Data.OracleClient.dll
1,699,840 System.Design.dll
   86,016 System.DirectoryServices.dll
1,216,512 System.dll
   65,536 System.Drawing.Design.dll
  466,944 System.Drawing.dll
  241,664 System.EnterpriseServices.dll
   64,000 System.EnterpriseServices.Thunk.dll
  368,640 System.Management.dll
  241,664 System.Messaging.dll
  323,584 System.Runtime.Remoting.dll
  131,072 System.Runtime.Serialization.Formatters.Soap.dll
   77,824 System.Security.dll
  126,976 System.ServiceProcess.dll
1,245,184 System.Web.dll
  819,200 System.Web.Mobile.dll
   57,344 System.Web.RegularExpressions.dll
  569,344 System.Web.Services.dll
2,039,808 System.Windows.Forms.dll
1,335,296 System.XML.dll
You have to write a lot of code to get up to a 2 meg DLL.

Work smarter, not harder.
Old February 20th, 2004, 05:19 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts

Thank you.

I was just wondering because one of mine is 170KB and another one is 15KB - not big at all compared to those.

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get dll file to compile stevecist ASP.NET 1.0 and 1.1 Basics 3 January 2nd, 2007 01:10 PM
How to reference a .dll file? ohChuck C# 4 April 20th, 2006 10:32 AM
build a .dll file batli25 .NET Framework 1.x 0 December 6th, 2005 07:16 AM
Help.. Editing File.dll Aquilitto Pro PHP 1 September 5th, 2005 07:30 AM
dll file kale_tushar Beginning VB 6 1 July 6th, 2003 02:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.