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

ASP architecture

DwC
Hey All,

I am fairly new to ASP and web apps and am having trouble working out
the architecture for the app we are currently working on. It allows a
user to log in and have access to pages that wouldn't be available
publicly. We also need to check the user id each time data is accessed
from the db as users will only have access to their own records.

We are from a background of windows forms applications where the
standard architecture would be to have a controller that is in charge of
the window being displayed on the screen and one/many database classes
that interact with the db, controlled from the controller.

Is the architecture that is used by a web app simply to create a new
database access object each time the page is loaded and then open and
close the connection after each request, then store log in information
in a session variable with say the user type, user id, name etc. Then
each time we request data we send the user type or id to the db class
and it determines what is to be returned?

Can anyone help with just some general information on how this type of
web application would be structured, or some good sources of information
on web application architectures?

Thanks in Advance

Daniel
Nov 19 '05 #1
3 1085
Would you appreciate any freelance consultation?

Nov 19 '05 #2
DwC
ga**********@gmail.com wrote:
Would you appreciate any freelance consultation?

Free consultation would be nice.

Just looking for something to move us in the right direction.

Thanks
Nov 19 '05 #3
A classic document:

Building Secure ASP .NET Applications .pdf Download
http://www.microsoft.com/downloads/d...C-BF9C6593F25E

Eliyahu

"DwC" <em***@email.com> wrote in message
news:gN****************@nnrp1.ozemail.com.au...
Hey All,

I am fairly new to ASP and web apps and am having trouble working out
the architecture for the app we are currently working on. It allows a
user to log in and have access to pages that wouldn't be available
publicly. We also need to check the user id each time data is accessed
from the db as users will only have access to their own records.

We are from a background of windows forms applications where the
standard architecture would be to have a controller that is in charge of
the window being displayed on the screen and one/many database classes
that interact with the db, controlled from the controller.

Is the architecture that is used by a web app simply to create a new
database access object each time the page is loaded and then open and
close the connection after each request, then store log in information
in a session variable with say the user type, user id, name etc. Then
each time we request data we send the user type or id to the db class
and it determines what is to be returned?

Can anyone help with just some general information on how this type of
web application would be structured, or some good sources of information
on web application architectures?

Thanks in Advance

Daniel

Nov 19 '05 #4

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

Similar topics

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...
0
by: Vin | last post by:
Hi, I've got a VB.Net + ASP.Net message board application which has already been customized. There are two solutions in this application. 1. The front end aspx, aspx.vb files, User controls...
4
by: apngss | last post by:
what's the differences between collocated architecture and distributed architecture?? My understanding is that collocated architecture has everything in a single machine? i.e. There is only 1...
2
by: hans | last post by:
Hi! I am new to .NET (coming from Java). We have to implement a desktop application which extracts data from a database, does some analysis, filtering etc. and displays the results. I have...
6
by: Gary James | last post by:
This may not be a direct C# question, but since I'll be using using C# for development, I thought I'd pose the question here. I'll soon be involved in the design of a new software product that...
3
by: RAJESH | last post by:
I am working with c# and asp.net in developing web applications, iam using ..netframework 1.1 ,i want to know what is the need of 3-tier or 4-tier architecture in our application development.what...
1
by: benmorganpowell | last post by:
I have a small windows service which connects to a POP3 server at defined intervals, scans the available messages, extracts the required information and inserts the data into a SQL database. I am...
6
by: carsonbj | last post by:
I have an issue where the below operation works on a little-endian architecture but not on a big-endian architecture. I was under the impression that pointer arithmetic is architecture independant...
13
by: rrs.matrix | last post by:
hi i have to detect the type of CPU. whether it is 32-bit or 64-bit.. how can this be done.. can anyone please help me.. thanks.
0
by: srikar | last post by:
Hi all, I am having a problem, when I am compiling the code in 32 bit option on a 64 bit machine using the macro CPPFLAGS= -m32 I am getting the following warnings from the linker . ...
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: 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: 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
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?
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
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,...
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,...

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.