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  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
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
 SharePoint interview questions  SharePoint 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 ?    2 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 1 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 1 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 ?    2 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
 
What?s a bubbled event? Visual-Soft5
What is SOAP, UDDI and WSDL ? Infosys1
What is the syntax for datagrid and specifying columns ? Microsoft1
Difference between ADO.Net 1.1 and ADO.Net 2.0 ? Value-Labs1
How can you provide an alternating color scheme in a Repeater control?  3
Any disadvantages in Dataset and in reflection ? DELL1
Difference between ASP Session and ASP.NET Session?  1
What are the differences between Trace and Debug? Accenture2
What is strong-typing versus weak-typing? Which is preferred? Why?  1
How to handle error while project running on live  2
.net allows which inheritence AG-Technologies5
In which interface the template of any control like Gridview would Initiate?  2
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format? FutureTech1
Is it possible to use two versions of assembly at the same time?If possible explain with code? Tech-Mahindra3
How to set/get parent page values in child page in asp.net Wipro3
What is dataset and uses of dataset ? TCS4
Explain what a diffgram is, and a good use for one?  1
How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain? iSoft5
What methods are fired during the page load? Visual-Soft6
About remoting and web services. Difference between them? Microsoft2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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