Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Does Master Pages improve the performance?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kumar.A.P.P - 12 Oct 2007 14:27 GMT
the existing code was, i had one page which used to dynamically call the
specific control at run time based on the login id(20 login ids).
in order to reduce the complexity of using switch case complexity on that
page, we have planned to use different pages for each login.  
i have the option of using over using one Master page or use different page.
but the primary consideration is performance. so, what do i use?
Signature

Kumar.A.P.P
Software Engineer, Infosys Technologies Limited.
http://techaid.wordpress.com

bruce barker - 12 Oct 2007 16:12 GMT
there is not enough info. it depends on how you code. the master page is
just another control on the page, how long it takes to process depends
on how you code. if you put the same number of controls (same look) on
your page, then using a master page should have the same performance.

all asp.net control are really dynamic. there is no performance
difference between your code adding them and the init routine creating
them in the compiled page (its just a bunch create control, set property
statements). its what the code besides create control you have that
effects performance.

-- bruce (sqlwork.com)

> the existing code was, i had one page which used to dynamically call the
> specific control at run time based on the login id(20 login ids).
> in order to reduce the complexity of using switch case complexity on that
> page, we have planned to use different pages for each login.  
> i have the option of using over using one Master page or use different page.
> but the primary consideration is performance. so, what do i use?
Peter Bromberg [C# MVP] - 12 Oct 2007 21:46 GMT
Apparently you are using the term "Master Page" - which is a special type of
page in ASP.NET 2.0 -- to mean "A single page that handles all of the cases".
The answer would be, a single page is better. The reason is that it
represents one assembly, and once that assembly is loaded into the AppDomain,
it never needs to be loaded again. In the "big scheme" of things, however, I
doubt either way would make any observable difference.
-- Peter
Recursion: see Recursion
site:  http://www.eggheadcafe.com
unBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder:    http://www.blogmetafinder.com

> the existing code was, i had one page which used to dynamically call the
> specific control at run time based on the login id(20 login ids).
> in order to reduce the complexity of using switch case complexity on that
> page, we have planned to use different pages for each login.  
> i have the option of using over using one Master page or use different page.
> but the primary consideration is performance. so, what do i use?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.