| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How do you relate an aspx page with its code behind Page? | Accenture | 2 |
| What is SQL injection? | | 1 |
| what is generics? | Microsoft | 2 |
| You have been given the task of designing a web services to
expose the data that is stored in a database on the server.
In order to successfully build the web services, you need to
import some namespaces. What is the minimum namespace you
need to import?
a) System.Web
b) System.WebServices
c) System.Web.Services
d) System.Web.ServiceModel
| Syntax-Softtech | 2 |
| What is shared and private assembly? | Accenture | 1 |
| How do you add a javascript function for a link button in a
datagrid ? | Microsoft | 4 |
| What namespaces are imported by default in ASMX files? | | 2 |
| What Name space does the web page belon in the .net
framework class hierarchy? | Wipro | 1 |
| which event in global.asx that fires for every request of
same user? | FactorH | 3 |
| 2. Why did you choose this career?
| Swatz-Oils | 1 |
| What is the main difference between grid layout and flow
layout? | | 1 |
| What is CLS? | PrimeLine | 1 |
| What is three major points in WCF? | | 4 |
| Which two properties are there on every validation control? | | 2 |
| Can you store dataset in viewstate? | Microsoft | 3 |
| Way of updating a table other than stored procedure and
hard coded query? | | 2 |
| Name the control which can be used to reserve the space on
web page for storing localized data.
| IBM | 2 |
| 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.
| Syntax-Softtech | 5 |
| After capturing the SelectIndexChanged event for a ListBox
Control, you find that the event handler doesn?t execute.
What could be the problem be?
a) The AutoEventWireup attribute is set to False
b) The AutomaticPostBack attribute is set to False
c) The codebehind module is not properly compiled
d) The ListBox must be defined WithEvents.
| Syntax-Softtech | 1 |
| What r all the controls in ASP.NET ? | | 3 |
| |
| For more ASP.NET Interview Questions Click Here |