C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Pandian S       Member Level: Gold       Posted Date: 22 Jul 2007       Category: ASP.NET

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.


Select Answer:

A
B
C
D




      
Your Test Score: 0 / 0



Next Question: You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider. What should you do?
Previous Question: You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later if necessary. What should you do?
Related Questions:
  • Which of the following is not a C# keyword?


  • Which one of the following object oriented techniques allows you to make changes to your code without impacting calling classes


  • How do you configure a DataAdapter to save changes back to a database?


  • For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company.


  • in a webservice need to diaplay 10 rows from a table,so datareader or dataset is best choice?


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use