ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Your ASP.NET application displays sales data on a page. You
want to improve performance by holding the page in memory on
the server for one hour. You want to ensure that the page is
flushed from memory after one hour, and that the page is
re-created when the next request for the page is received. 
What should you do? 
A . Initialize a new instance of the Cache class in the
Application.Start event handler. 
B . Initialize a new instance of the Timer class in the
Page.Load event handler. 
C . Set the Duration attribute of the OutputCache directive
in the page. 
D . In the Web.config file, set the timeout attribute of the
sessionState element. 
 Question Submitted By :: Dheeraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
Answer
# 1
C
 
Is This Answer Correct ?    0 Yes 0 No
Js_m
 
  Re: Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
Answer
# 2
D
 
Is This Answer Correct ?    0 Yes 0 No
Pooja Shukla
 
 
 
  Re: Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
Answer
# 3
d
 
Is This Answer Correct ?    0 Yes 0 No
Dilip Kumar
 
  Re: Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
Answer
# 4
c
 
Is This Answer Correct ?    0 Yes 0 No
Sadanandam
 
  Re: Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.
Answer
# 5
C Because entire page is stored in output cache. If u stored
in session not only maintain this page, but also sotred all
values in session.
 
Is This Answer Correct ?    0 Yes 0 No
Siva
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How to write unmanaged code and how to identify whether the code is managed /unmanaged? Accenture4
what is pagination in asp.net ? Netsweeper1
Asp.net and asp ? differences?  1
All kind of access specifiers for a class and for methods ? MMTS1
What is caching? What are the different types of caching?  3
why many web.config files are used in are project  2
What is boxing? How we can use it? NIIT2
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)? Net-Solution1
Clearly Explain the ispostback TCS4
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  1
How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)? rocsearch1
What is the lifespan for items stored in ViewState?  2
version information of assembly consist of _________ values. AG-Technologies3
What are the different types of Session state management options available with ASP.NET?  4
what is asp and asp.net ? Inspira-Technologies2
On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object Syntax-Softtech4
What are the different types of Session state management options available with ASP.NET?  1
Which control would you use if you needed to make sure the values in two different controls matched?  3
what is the role of aspx file ? Netsweeper1
Tell about WebService in Asp.Net? Accenture4
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com