ASP.NET 2.0 Free Training : Setting Application-Level Caching
4150ASP.NET 2.0 Free Training : Setting Application-Level Cachinghttp://www.exforsys.com/content/view/1646/354/In this tutorial you will learn how to set application-level caching in ASP.NET 2.0. To Configure and Use Parameter-Level Caching and also the steps involved to cache based on parameters.ASP.NET > Tips and TutorialsOct 10, 2006Exforsys
The following source code displays count of all records in a database. We will use a data command to execute an SQL statement that will return with count of records. Source code written in Visual Basic.NET can easily modify to work in an application
Master Pages is great new enhancements in ASP.NET 2.0 and if you haven't heard or use Master Pages, then you might reconsider of using this across all your existing websites. It will save you lots of times in maintaining and editing your websites source code. In old classic ASP, we do not have this features yet, and lots of people actually create their own Master Pages by using template page that is inherited or include on all their page.
They normally will copy and paste this tag on all their pages.
Let's also review the application environment. A typical user analysis model would consist of around a 100 of these data entry pages. The Web site itself supports an unlimited number of analysis models. Thus, the database is quite large and the process of obtaining the meta data is quite complex. Running more queries than absolutely necessary can be a real drag on performance. Also keep in mind that a typical user will spend anywhere from 15 - 45 minutes on a single data entry page completing that section of the analysis model.
Normally, I would be reluctant to implement a solution that loads up the ViewState in this manner. Our web farm environment pretty much ruled out the use of static objects or the application cache. The performance impact of having larger than normal ViewState and the process of managing ViewState isn't necessarily prohibitive. That said, if you are trying to squeeze out every once of performance, doing this without it being necessary could hurt your cause.
You can use my sample as a means to measure how much is being stored in ViewState for the amount of data you expect to have in your own application. The default setting of 60 textboxes and 60 dropdown lists (each list contains 10 records) takes up roughly 100KB of html and ViewState combined
ASP is running under the inetinfo.exe (IIS) process space and hence susceptible to application crashes due to that the IIS needs to be stopped or restarted. ASP is related to the process isolation setting in IIS. Where as, ASP.Net process is separate from inetinfo.exe (IIS process). Though the entry point into a ASP.Net application is still IIS but it is not related to the IIS process isolation settings.
In this tutorial you will learn how to display Master-Detail Data on Separate Pages, create the details page, test the pages and Allow Editing, Deleting, and Inserting Using a DetailsView DataBound control.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.