473,404 Members | 2,137 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,404 software developers and data experts.

Application "partitioning"

Let's say I have an ASP.NET application which has a dozen or so pages as
well as some supporting .cs class files. Does it make sense to split out
things into separate solutions, creating multiple DLLs, or is it better to
have a single DLL? What are the PROs and CONs of each approach? I am
thinking that, at a minimum, it would make sense to have the class stuff in
a separate DLL. In addition, perhaps it makes sense to have pages that are
part of a functional area separate. I am thinking that in this way, it kinda
compartmentalizes functionality and then would just need to recompile DLLs
for pages/code changed rather than all of it. Any related input, or pointers
to books or URLs, would be appreciated.
Nov 19 '05 #1
2 1126
It's difficult to spread out pages across multiple projects because they
will end up in a different applications. In different applications they cannot
share the same cache, session, or static / shared objects, so it really has
to be the case that the pages are meant to be pieces of different apps.

If you have plain code (not web forms) it is often worthwhile to extract
out pieces you might use in other applications into one or more class libraries.
You can then version the library without building the web app and also reuse
the library for other projects.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Let's say I have an ASP.NET application which has a dozen or so pages
as well as some supporting .cs class files. Does it make sense to
split out things into separate solutions, creating multiple DLLs, or
is it better to have a single DLL? What are the PROs and CONs of each
approach? I am thinking that, at a minimum, it would make sense to
have the class stuff in a separate DLL. In addition, perhaps it makes
sense to have pages that are part of a functional area separate. I am
thinking that in this way, it kinda compartmentalizes functionality
and then would just need to recompile DLLs for pages/code changed
rather than all of it. Any related input, or pointers to books or
URLs, would be appreciated.

Nov 19 '05 #2
Yeah it can be done look at this article for more detail -

http://www.dotnet247.com/247referenc...te/default.asp

Keep this thing in mind in doing this -

1. Keep it Simple - Look at your options, why you need this, if you really
have distinct modules, then you can seperate them into individual projects.
But one thing you need to be careful is - the versions of the shared dlls
being used by these individual projects.
2. Don't do it for the sake of doing it.

Suhaib
"BobRoyAce" <bo*@omegasoftwareinc.com> wrote in message
news:LM********************@comcast.com...
Let's say I have an ASP.NET application which has a dozen or so pages as
well as some supporting .cs class files. Does it make sense to split out
things into separate solutions, creating multiple DLLs, or is it better to
have a single DLL? What are the PROs and CONs of each approach? I am
thinking that, at a minimum, it would make sense to have the class stuff in a separate DLL. In addition, perhaps it makes sense to have pages that are
part of a functional area separate. I am thinking that in this way, it kinda compartmentalizes functionality and then would just need to recompile DLLs
for pages/code changed rather than all of it. Any related input, or pointers to books or URLs, would be appreciated.

Nov 19 '05 #3

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

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
8
by: Lian | last post by:
Hi all, It is a newbie's question about html tag "img". The attributes "title" and "alt" for "img" seems having the same function. So what is the main difference between them? Can i use them at...
24
by: Hardy | last post by:
I'm pretty new in this field. when reading some 70x material, I met with this term but cannot catch its accurate meaning. who can help me? thanks in advance:)~
17
by: Darek | last post by:
Hi, I have a table, something similar to: create table my_table ( id char(32) not null primary key, num integer not null, code varchar(2) not null, name varchar(60) not null,
0
by: minapatel | last post by:
I have the following procedure CREATE OR REPLACE procedure FOL_PURGE_CASES as /* type "SET SERVEROUTPUT ON" in sqlplus to debug !! */ cursor all_cases is cursor all_cases is ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.