Topic :: ASP





ASP Interview Questions
Questions Answers Views Company eMail

What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object

Bunzl Vending, Syntax Softtech,

7 19773

When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.

Syntax Softtech,

4 5596

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

Syntax Softtech, TCS,

4 17100

Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form

Syntax Softtech,

3 16044

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.

ADITI, Syntax Softtech,

5 6533

You create an ASP.NET application for a hotel. The application contains a page that displays current weather conditions for the city in which the hotel is located. The application calls an XML Web service every 10 minutes to update the current weather conditions. A new page is then displayed for subsequent requests. You want the same page to be cached and retrieved from the cache during the time between calls to the XML Web service. You decide to use a Page directive to accomplish this goal. Which Page directive should you use? A . <%@ Cache Seconds="600 '' VaryByParam="Page" %> B . <%@ OutputCache Time="600" %> C . <%@ OutputCache Duration="600" VaryByParam="None" %> D . <%@ OutputCache Duration="600" %>

Syntax Softtech,

2 6408

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 of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.

Syntax Softtech,

3 6013

Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process

HCL, Siebel Systems, Visual Soft,

1 9763

What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?

Getit, Siebel, Visual Soft,

1 6273

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?

Visual Soft,

3 10696

What tags do you need to add within the asp:datagrid tags to bind columns manually?

Siebel Systems,

5 12174

How do you debug an ASP.NET Web application?

Rolta, Siebel Systems,

1 4605

Asp.net and asp ? differences?

2 3804

How ASP and ASP.NET page works.

3 7895

Difference between ASP Session and ASP.NET Session?

2 5784




Related Topics


Un-Answered Questions { ASP }

How could u display all of the cookies/cookie values for a user through a Web page in ASP?

1686


Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming

11113


Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.

2529


Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint to ASP.NET.

3838


What is the important aspect of a real-time system?

2847






What tags do you need to add within the asp:datagrid tags to bind columns manually.

1476


what do you think is the most challenging aspect of a pharmaseutical representative?

1982


What aspect of your communications skills have you improved the most in and how did you accomplish this improvement?

1860


What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?

1665


How would ASP and ASP.NET applications run at the same time on the same server?

1942


The nucleophile in the first stage of the serine protease mechanism is a) H2O b) the carboxyl of Asp 102 c) the hydroxyl of Ser 195 d) the imidazole of His 57

1660


IIS Asp & .net settings

1867


How many minutes have you spent in your lifetime reading documentation or actually (gasp) working with any webMethods product on a real project?

1982


How to use Client-side Script to Focus Controls in ASP.NET?

2353


Coding for Synchronizing Cache Access in ASP.NET?

3115