473,379 Members | 1,355 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,379 software developers and data experts.

2 tier to 3 tier?

I have a web application in C#, there are .aspx pages and business objects
are compiled as DLL in /bin folder (the objects run queries on the database,
..aspx pages never have direct connection to database).. The performance is
pretty good now, but it still looks 2-tier to me cos dll is running on the
same webserver. I am worrying about scalability in the future. Any
recommendation? any easy way to make it become physically 3-tier? say...
running the business object dll on another machine?
Nov 18 '05 #1
1 942
if the business objects are in a separate project, you ahve a UI tier and a
business tier. You can move to different machines, as long as you set up an
interface (COM+ or web services in most cases). If the database is on
another, you MIGHT be 3 tier. It depends on the logic, ie:

Do you have a data access layer?
or
Do you do your work through stored procedures, not ad hoc queries from the
page?

If so, you are three tier.

If your app works now, you are fine. If it is already logically divided
(different projecs and a DAL or stored procs), you are ready to divide
amongst machines, if necessary.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"NOSPAM" wrote:
I have a web application in C#, there are .aspx pages and business objects
are compiled as DLL in /bin folder (the objects run queries on the database,
..aspx pages never have direct connection to database).. The performance is
pretty good now, but it still looks 2-tier to me cos dll is running on the
same webserver. I am worrying about scalability in the future. Any
recommendation? any easy way to make it become physically 3-tier? say...
running the business object dll on another machine?

Nov 18 '05 #2

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

Similar topics

77
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a...
25
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases...
51
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on...
11
by: iTISTIC | last post by:
Developing a new app and am trying to make this my first truly OOP/3-Tier app. I understand the principles of the presentation, business, and data layers. I do, however, have some questions on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.