| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| You are using the try? catch block seen in the following
code segment, but no exceptions are ever caught by the catch
block. What is the problem?
SqlConnection cn =new sqlConnection(strSQL);
SqlDataSet ds;
try
{
cn.open(); //perform the data processing steps
??..
} catch (OleDbException e) {
?..
}
a) The exception class is wrong; it should be sqlErrors.
b) The exception class is wrong; it should be
sqlSyntaxExceptios.
c) The exception class is wrong; it should be sqlExceptions.
d) The exception class is wrong; it should be sqlExcptions.
| Syntax-Softtech | 2 |
| 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 |
| What does the "EnableViewState" property do? Why would I
want it on or off? | | 3 |
| what is satellite assembly in .net? | | 4 |
| Which namespace in used to connction web cam | | 2 |
| Is it necessary to create a Windows application or Web
application to test a Web service ?
Is it must to consume this service?
| | 2 |
| what is view state? | Satyam | 9 |
| Describe the difference between inline and code behind? | | 2 |
| Whats an assembly? | | 5 |
| what is asp and asp.net ? | Inspira-Technologies | 2 |
| 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 | 2 |
| How do you specify whether your data should be passed as
Query string and Forms (Mainly about POST and GET) | | 2 |
| What type of code (server or client) is found in a
Code-Behind class? | | 1 |
| Which tab of the web site administration tool do you use to
manage application setting ,debug and tracing? | | 2 |
| What is difference between ASP and ASP.NET ? | TCS | 3 |
| What is the Global ASA(X) File? | | 2 |
| Suppose, I have 3 pages, Page1.aspx, Page2.aspx, Page3.aspx.
All pages are in diff. server. When user req. for a page,
Page1.aspx opens Ist & a session established. If user req.
for IIn page, second session established. Similarly, 3rd
session established if user req. 3rd page. In this scenario,
tot. 03 sessions are established. How we can minimize it so
that it will work with only one session? | Wipro | 2 |
| Types of session management in ASP.NET ? | Microsoft | 2 |
| What is boxing and how it is done internally? | Microsoft | 1 |
| One of the properties of the Web Part has an incorrect
format. Windows SharePoint Services cannot deserialize the
Web Part. Check the format of the properties and try
again. - this error is occured in Sharepoint 2007 while
deploy the web part | WebInfo | 1 |
| |
| For more ASP.NET Interview Questions Click Here |