473,383 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Size of a DLL file

Hi!

My asp.net application's DLL file is almost 5 MB. Can it be a performance
problem?
Maybe I should split it into few projects for ex. business objects project,
DAL project?
What do you think?
We have this problem - after first compilation the site runs smoothly, but
after some time it slows down, just if it was compiling itself again.
We thinks that compiling 5MB file maybe a problem here.

What do you guys think about this?

--
Joe
Nov 19 '05 #1
2 1508
Hi
I think u develope your application a single-tier. My advice u to use MSF
approach and split your application into assemblies. It is possible to use a
single assembly like u did. But there could be some problems. Possible
problems;

1. One day u may need to distribute your application into multiple servers.
What would you plan to do?
2. Loading a single assembly into GAC can be a problem. But when you split
it you would see total size of all your assemblies would be greater. INMH,
It is not so important.
3. One day u may need to update some functinality on any level. You should
recompile whole assembly and deploy whole assembly. Otherwise compiling and
loading related assembly would be enough.
....
Thanks,

"Joe D." <df@dgvff.compl> wrote in message
news:u4*************@TK2MSFTNGP12.phx.gbl...
Hi!

My asp.net application's DLL file is almost 5 MB. Can it be a performance
problem?
Maybe I should split it into few projects for ex. business objects
project, DAL project?
What do you think?
We have this problem - after first compilation the site runs smoothly, but
after some time it slows down, just if it was compiling itself again.
We thinks that compiling 5MB file maybe a problem here.

What do you guys think about this?

--
Joe

Nov 19 '05 #2
5MB is quite large for a dll, but chances are you'll find it is not
the cause of your performance problems. Having too many small
assemblies can actually be more of a problem than a single large
assembly.

Have you used perfmon to monitor any stats of your application over
time? Could there be a large amount of memory consumption slowing you
down?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sun, 1 May 2005 10:30:05 +0200, "Joe D." <df@dgvff.compl> wrote:
Hi!

My asp.net application's DLL file is almost 5 MB. Can it be a performance
problem?
Maybe I should split it into few projects for ex. business objects project,
DAL project?
What do you think?
We have this problem - after first compilation the site runs smoothly, but
after some time it slows down, just if it was compiling itself again.
We thinks that compiling 5MB file maybe a problem here.

What do you guys think about this?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tim | last post by:
I meet problem on uploading a file with a large file size. Below is my code, how can I modify in order to be able to upload a large file successfully ? Thank for your help. upload.html: <html>...
2
by: Jake | last post by:
Hi group, I am trying to build a page that allows uploading My ISP only supports Smartupload I am testing on a small hubbed local network, with PWS Any help is appreciated....
4
by: Joe | last post by:
Hello, I have IIS 6.0 running on w2k3 Enterprise. I have three upload forms 1 to have restricted uploads .asp 2 to upload plain .asp any extension 3 a FP form upload non .asp
20
by: sahukar praveen | last post by:
Hello, I have a question. I try to print a ascii file in reverse order( bottom-top). Here is the logic. 1. Go to the botton of the file fseek(). move one character back to avoid the EOF. 2....
8
by: Alex | last post by:
Hi all, can someone please show me how to get the size of a file with ANSI C? both in text mode and binary mode. thanks in advance.
5
by: Jefferis NoSpamme | last post by:
Hi all, I'm trying to limit the file size of an image submission and I keep running into various problems. I've got most of it working, but I'm stumped and I have a basic question as to WHY this...
2
by: Potiuper | last post by:
Question: Is it possible to use a char pointer array ( char *<name> ) to read an array of strings from a file in C? Given: code is written in ANSI C; I know the exact nature of the strings to be...
9
by: Matrixinline | last post by:
Hi All, Here is the problem char* memblock; std::ifstream file(sFileName, ios::in|ios::binary); if (file.is_open()) { size = file.tellg();
6
mickey0
by: mickey0 | last post by:
Hello, I'm trying to read a text fiel under Windows: long size; ifstream file (name, ios::ate); //open and goes at the end size = file.tellg(); //it takes 181 _buffer = new char ; ...
3
by: ryokubaka | last post by:
In the following code, I have a function that is called in main by the line Array = Load_File (Filename, &Size); The function is suppose to do, as the title would suggest, load a file of...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.