473,803 Members | 3,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

application design

I am migrating a VB6 webclass (IIS application) to a dotNet webforms
project.

There are dozens of designers, class modules, and code modules in this
webclass project, which I will move into VB.NET or CS.NET classes to be
referenced from the web forms project.

I am trying to decide whether to pack all the logic into a single
assembly/dll with numerous classes, or use numerous assemblies with some
classes in each. I guess the answer is somewhere in between, but I don't
want to be arbitrary about it.

There are also dozens of screens in this webclass project, each with an html
template. When designing a web forms project, is it typical to utilize one
web form with many user controls being hidden and moved, or use a number of
web forms to create the interface?

My question is whether there is any conventional wisdom in making these
determinations, and if there are any good, concise references to provide
guidance.

The books and documentation I've read describe how to build the
functionality, but I haven't found much on actually designing the structure
of the whole project.

Thanks
Bill
Nov 19 '05 #1
4 1156
As a rule, your pages and code behind should be in a single assembly.
Optionally, you can create separate assemblies for your business logic
and database layers. That is up to you. There is a "small" performance
hit (very small) with using a large number of separate assemblies. One
reason is the security checks by the framework to ensure the account
attempting to use the assembly has the proper authentication.

Microsoft's performance book recommends fewer assemblies if
the choice is a choice of preference but does not say you shouldn't
use multiple assemblies for your different layers.

There is also nothing wrong with putting all of your classes in the
same assembly even though they may not be in the same layer.
Just remember to keep the functionality of the classes separate
based on the layer they belong in.

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"bill" <be****@datamti .com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I am migrating a VB6 webclass (IIS application) to a dotNet webforms
project.

There are dozens of designers, class modules, and code modules in this
webclass project, which I will move into VB.NET or CS.NET classes to be
referenced from the web forms project.

I am trying to decide whether to pack all the logic into a single
assembly/dll with numerous classes, or use numerous assemblies with some
classes in each. I guess the answer is somewhere in between, but I don't
want to be arbitrary about it.

There are also dozens of screens in this webclass project, each with an
html
template. When designing a web forms project, is it typical to utilize
one
web form with many user controls being hidden and moved, or use a number
of
web forms to create the interface?

My question is whether there is any conventional wisdom in making these
determinations, and if there are any good, concise references to provide
guidance.

The books and documentation I've read describe how to build the
functionality, but I haven't found much on actually designing the
structure
of the whole project.

Thanks
Bill

Nov 19 '05 #2
Here's some information about how you can easily tinker with different
designs and to see what works out best for your application.
http://www.dotnetjunkies.com/Article...D849E4A62.dcik

I used that technique to experiment and generate code conforming to the CSLA
object structure that's defined in this highly recommended book on object
modeling:

Expert One-on-One Visual Basic .NET Business Objects (by Rockford Lhotka)
http://www.amazon.com/exec/obidos/AS...&link_code=as1

or here's the C# version if you prefer:
http://www.amazon.com/exec/obidos/AS...&link_code=as1

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"bill" <be****@datamti .com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I am migrating a VB6 webclass (IIS application) to a dotNet webforms
project.

There are dozens of designers, class modules, and code modules in this
webclass project, which I will move into VB.NET or CS.NET classes to be
referenced from the web forms project.

I am trying to decide whether to pack all the logic into a single
assembly/dll with numerous classes, or use numerous assemblies with some
classes in each. I guess the answer is somewhere in between, but I don't
want to be arbitrary about it.

There are also dozens of screens in this webclass project, each with an
html
template. When designing a web forms project, is it typical to utilize
one
web form with many user controls being hidden and moved, or use a number
of
web forms to create the interface?

My question is whether there is any conventional wisdom in making these
determinations, and if there are any good, concise references to provide
guidance.

The books and documentation I've read describe how to build the
functionality, but I haven't found much on actually designing the
structure
of the whole project.

Thanks
Bill

Nov 19 '05 #3
Thanks for the advice - that's what I was looking for. What is the book you
refer to?

-Bill

"Robbe Morris [C# MVP]" <in**@turnkeyto ols.com> wrote in message
news:eo******** ******@TK2MSFTN GP14.phx.gbl...
As a rule, your pages and code behind should be in a single assembly.
Optionally, you can create separate assemblies for your business logic
and database layers. That is up to you. There is a "small" performance
hit (very small) with using a large number of separate assemblies. One
reason is the security checks by the framework to ensure the account
attempting to use the assembly has the proper authentication.

Microsoft's performance book recommends fewer assemblies if
the choice is a choice of preference but does not say you shouldn't
use multiple assemblies for your different layers.

There is also nothing wrong with putting all of your classes in the
same assembly even though they may not be in the same layer.
Just remember to keep the functionality of the classes separate
based on the layer they belong in.

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"bill" <be****@datamti .com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I am migrating a VB6 webclass (IIS application) to a dotNet webforms
project.

There are dozens of designers, class modules, and code modules in this
webclass project, which I will move into VB.NET or CS.NET classes to be
referenced from the web forms project.

I am trying to decide whether to pack all the logic into a single
assembly/dll with numerous classes, or use numerous assemblies with some
classes in each. I guess the answer is somewhere in between, but I don't want to be arbitrary about it.

There are also dozens of screens in this webclass project, each with an
html
template. When designing a web forms project, is it typical to utilize
one
web form with many user controls being hidden and moved, or use a number
of
web forms to create the interface?

My question is whether there is any conventional wisdom in making these
determinations, and if there are any good, concise references to provide
guidance.

The books and documentation I've read describe how to build the
functionality, but I haven't found much on actually designing the
structure
of the whole project.

Thanks
Bill


Nov 19 '05 #4
Thanks - it's been a while since i looked at Visio.
I'll get the book on business objects you refer to.
-Bill
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:eo******** ******@TK2MSFTN GP15.phx.gbl...
Here's some information about how you can easily tinker with different
designs and to see what works out best for your application.
http://www.dotnetjunkies.com/Article...D849E4A62.dcik
I used that technique to experiment and generate code conforming to the CSLA object structure that's defined in this highly recommended book on object
modeling:

Expert One-on-One Visual Basic .NET Business Objects (by Rockford Lhotka)
http://www.amazon.com/exec/obidos/AS...&link_code=as1
or here's the C# version if you prefer:
http://www.amazon.com/exec/obidos/AS...&link_code=as1
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"bill" <be****@datamti .com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
I am migrating a VB6 webclass (IIS application) to a dotNet webforms
project.

There are dozens of designers, class modules, and code modules in this
webclass project, which I will move into VB.NET or CS.NET classes to be
referenced from the web forms project.

I am trying to decide whether to pack all the logic into a single
assembly/dll with numerous classes, or use numerous assemblies with some
classes in each. I guess the answer is somewhere in between, but I don't want to be arbitrary about it.

There are also dozens of screens in this webclass project, each with an
html
template. When designing a web forms project, is it typical to utilize
one
web form with many user controls being hidden and moved, or use a number
of
web forms to create the interface?

My question is whether there is any conventional wisdom in making these
determinations, and if there are any good, concise references to provide
guidance.

The books and documentation I've read describe how to build the
functionality, but I haven't found much on actually designing the
structure
of the whole project.

Thanks
Bill


Nov 19 '05 #5

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

Similar topics

43
2855
by: Davey | last post by:
I am planning on developing an application which will involve skills that I have very little experience of - therefore I would appreciate comments on my initial design thoughts. Overview on system: I'm not going to divulge the exact aims of the application but the purpose of it is to allow multiple client applications to retrieve data from a database (on a db server) and feed this data into another Windows
1
3497
by: Lane Beneke | last post by:
All, New to the list and a relative newbie to PostgreSQL. Please forgive stupid questions. Designing an application server for a work order processing (et al) database. I have a good handle on sequences, referencial integrity, views, & the basics. What books/documentation would you recommend to learn more about...
6
4126
by: goraya | last post by:
This is design level discussion about web applications. How I design application that support 1 million concurrent requests??
1
2345
by: abhijitbkulkarni | last post by:
Hello, I am designing a .NET database application that uses 3 tier architecture. Starting initially, this application will be desktop application but I will convert it into a website later but design that I am planning should support both version. Development Environment : VS2008, C# Currently Database supported are MS SQL Server 2005 and MYSQL 5 and design for database support is extensible. This application contains several high...
0
9700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9564
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10546
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9121
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7603
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6841
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.