T
thedebugger
Dear Friends,
I am working on website application in c# with asp.net.
My practice using aspx files is, I have 1 main aspx files for inside pages.
Whenever user hit the button like aboutus, contactus and similar buttons,
also any other button from menu, it always call contentDisplay.aspx,
including pageid and other ids depending upon contents.
for example,
aboutus button contain the url like contentDisplay.aspx?pageid=2
contactus button : contentDisplay.aspx?pageid=3
then I am including the controls in middle of contentDisplay.aspx page,
depending upon the pageid I am getting, eg. if pageid=3 then about.ascx etc.
My question is, is this a good and right practice? or there is another
professional way. Because if my website is small, its working pefectly. but
for large userbase website, its going on toss.
Need experts comments. Hope this info is enough. If you need more info, tell
me.
Regards
Sachin Korgaonkar
I am working on website application in c# with asp.net.
My practice using aspx files is, I have 1 main aspx files for inside pages.
Whenever user hit the button like aboutus, contactus and similar buttons,
also any other button from menu, it always call contentDisplay.aspx,
including pageid and other ids depending upon contents.
for example,
aboutus button contain the url like contentDisplay.aspx?pageid=2
contactus button : contentDisplay.aspx?pageid=3
then I am including the controls in middle of contentDisplay.aspx page,
depending upon the pageid I am getting, eg. if pageid=3 then about.ascx etc.
My question is, is this a good and right practice? or there is another
professional way. Because if my website is small, its working pefectly. but
for large userbase website, its going on toss.
Need experts comments. Hope this info is enough. If you need more info, tell
me.
Regards
Sachin Korgaonkar