ASP.NET application design aproach
Hi
I've just graduated from ASP to ASP.NET. I'm currently working on a project that serves as a front end to an SQL SERVER database.
The aproach I have taken is to put everything, from the login screen to report generation on one page by placing each of these sub components in pannels and showing and hiding them when necessary.
In ASP, I would use several different pages for each of these and post the data to a page that processes them and generates the result.
My question is whether the aproach I have taken with ASP.NET is the right way to go and whether there will be any performance losses caused by placing everyting on one page.
P.S. I am writing my scripts in VB.NET.
Re: ASP.NET application design aproach
Quote:
Originally posted by sunilja_2000
Hi
The approach I have taken is to put everything, from the login screen to report generation on one page by placing each of these sub components in pannels and showing and hiding them when necessary.
In ASP, I would use several different pages for each of these and post the data to a page that processes them and generates the result.
My question is whether the aproach I have taken with ASP.NET is the right way to go and whether there will be any performance losses caused by placing everyting on one page.
P.S. I am writing my scripts in VB.NET.
Well, I would shoot you for putting everything in one page if I had to take over a project that did that.
I think you should generate enough pages to keep things simple.
In my web application, there is ONE page out of 70, that holds about 15 different panels. In that one case, it was really necessary.... it was a data entry page for inputting people(names, description, alias, distinguishing features, their associates, picture, etc).
That one page is also the one page I absolutely disgust having to go back and change even in the slightest. It is also the slowest performing page in my app.
There is no penalty for having 3 pages over 1. Disk space is cheap. So if you use more than 3 panels in one page, your pushing it in my opinion.