ASP.Net Vs. ASP Vs. HTML

amomboppy

New Member
This is just a general question about coding practice now that .Net is out. With tradional Asp, there were many things that people said that you just should not do. Like using Asp session variables, and don't use Asp app vars too much, etc... Also, a big thing was don't use Asp unless you really need it, instead use static HTML pages. So, for the most part unless dynamic content was need, then you should use only HTML. Is this still the theory, even with Asp.Net? As a more detailed example, I am building a new web site. I want to build a navigation object/class (whatever), that basically contains a set of instructions to build the navigation on each page. Depending on the page, the navigation will be different. Like maybe changing the background color of the navigation item that relates to the current page. In old asp, this could be done with just using a navigation include file. But, most people thought that for something that simple, that it should just be hard coded with HTML. So, with Asp.Net, is that still the general idea? The navigation won't have to be pulled from a DB, it will be in an array or something. But I would like to have it be "included" on each page for ease of maintenance. Also, as mentioned above, what about Session and Application variables?<BR><BR>Thanks,<BR>--EricEric, I think you can use a user control for what you mention before. Don't be too afraid of using asp.net... as long as you do it right, everything will be fine. Remember things run much faster in asp.net because it's native code running... and also remember to take advantage of the caching capabilities. I think you could really benefit from caching.
 
Back
Top