C# .NET - Web Application
Asked By Mahesh B
03-Feb-12 04:22 AM
Cache concepts in asp.net
Danasegarane Arunachalam replied to Mahesh B
The Cache class has been designed for ease of use. By using keys paired with values, you can place items in the Cache and later retrieve them. For examples of how to do this, see Adding Items to the Cache and Retrieving Values of Cached Items.
While the Cache class offers a simple interface for you to customize cache settings, it also offers powerful features that allow you to customize how items are cached and how long they are cached. For example, when system memory becomes scarce, the cache automatically removes seldom used or unimportant items to allow memory to be used to process a high volume of requests. This technique is called scavenging. It is one of the ways that the cache ensures that data that is not current does not consume valuable server resources.
Refer MSDN (http://msdn.microsoft.com/en-us/library/xsbfdd8c%28v=vs.71%29.aspx)
Lalit M. replied to Mahesh B
Hi..
Read Here Cache concepts.
1)Caching is a concept of storing frequently used data into a temporary memory for faster access.
2) This is considered as a optimization technique to improve performance of
web server.
3) Caching is recommended when the pages having database communication for presenting data and expected with more number if requests.
4) asp 3.0 supports only entire page caching towards client side.
asp.net supports three types of caching
* Output caching
* Fragment caching
* Data caching
output caching:- When the entire page output is stored into memory location this is called output caching.
<%output cache dureation="n"
varybyparam="name/parameter name"
diskcacheable="true/false" location="client/server/
server and client/any/none" varybycustom="browser"
varybyheader="accept-language"%>
place the above code snippet in source of the website.
dipa ahuja replied to Mahesh B
What is Caching?
Caching is a technique of persisting the data in memory for immediate access to requesting program calls. Many in the developer community consider caching as one of the features available to improve performance of Web applications.
Why Caching?
Consider a page that has list of Employee name, contact numbers and mail-Ids of existing employees of a company on an intranet accessible by all employees. This is very useful information that is available throughout the company and could also be one of the most accessed pages. The functionality of adding, updating or deleting is usually less intensive compared to more transaction-based systems like Purchase ordering, Voucher creation etc
http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/ImplementingCachinginASP.NET11302005072210AM/ImplementingCachinginASP.NET.aspx

global.asax in Web Application .NET Framework Where do you put Global.asax methods in the web application? Can't seem to Add Global.asax in web application projects. . ASP.NET Discussions Application (1) Yes you can . Add New Item - -> global application class. keywords: global.asax, in, Web, Application description: Where do you put Global.asax methods
dll Hello Friends, please tell me full example to creating a DLL file to Web application not Window application and how to implement in web application. using asp.net You can create class library project in .NET and then reference that class library in your web application. But when creating class library for web application, dont forget to add reference to
difference between Website and web application can any one please tell me the difference between website and web application Hi, A website usually refers to the front-end interface through which the public interact advanced websites may sport features such as eCommerce, content management and interactive content. WhereAS A web application or Rich Internet Application (RIA) usually includes a website component but features additional advanced functionality to replace or enhance existing business processes. The interface design objective behind a web application is to simulate the intuitive, immediate interaction a user experiences with a desktop application
How to deploy an web application in vs2008? Hi all, I have created a sample web application using vs2008. Now, I need to give it to the client as setup file. How to create setup application in vs2008 for web application? Thanks R.e u need to publish yr web site Publish Web Application Projects You can publish ASP.NET Web application projects using Visual
Convert web application to website hi!Is it possible to convert a web application project to a website project in asp.net 3.5?Thanks!!! Hi, here is the step by step process to do so, • Add a new “Web Application” to your VS 2008 solution (File-> Add-> New Project-> C Web-> ASP.NET Web Application). • Afterwards, you copy all the files in the old “website” to your newly created