Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
|
ASP.net Interview Questions and Answers( NEW )
ASP.NET Interview Questions And Answers
Q1:Describe the role of inetinfo.exe,
aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
Ans:inetinfo.exe is theMicrosoft IIS server running, handling
ASP.NET requests among other things.When an ASP.NET request
is received
(usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes
care of it by passing the request tothe actual worker process aspnet_wp.exe.
Q2:What’s the difference between Response.Write() andResponse.Output.Write()?
Ans:Response.Output.Write() allows you to write formatted output.
Q3:What methods are fired during the page load?
Ans:Init() - when the page is instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to
the user as
HTML
Unload() - when page finishes loading.
Q4:When during the page processing cycle is ViewState available?
Ans:After the Init() and before the Page_Load(), or OnLoad()
for a
control.
Q5:What namespace does the Web page belong in the .NET Framework class
hierarchy?
Ans:System.Web.UI.Page
Q6:Where do you store the information about the user’s locale?
Ans:System.Web.UI.Page.Culture
Q7:What’s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.
aspx.cs"?
Ans:CodeBehind is relevant to Visual Studio.NET only.
Q8:What’s a bubbled event?
Ans:When you have a complex control, like DataGrid, writing an event
processing routine for each object (cell, button, row, etc.) is quite tedious.
The controls can bubble up their eventhandlers, allowing the main DataGrid
event handler to take care of its constituents.
Q9:Suppose you want a certain ASP.NET function
executed on MouseOver for a
certain button. Where
do you add an event handler?
Ans:Add an OnMouseOver attribute to the button. Example:
btnSubmit.Attributes.Add("onmouseover",
"someClientCodeHere();");
Q10:What data types do the RangeValidator control
support?
Ans:Integer, String, and Date.
Q11:Explain the differences between Server-side and
Client-side code?
Ans:Server-side code executes on the server. Client-side code executes in
the client's browser.
Q13:What type of code (server or client) is found in a Code-Behind class?
The answer is server-side code since code-behind is executed on the
server. However, during the code-behind's execution on the server, it can
render client-side code such as JavaScript to be processed in the clients
browser. But just to be clear,
code-behind executes on the server, thus making
it server-side code.
Q14:Should user input data validation occur server-side or client-side?
Why?
Ans:All user input data validation should occur on the server at a
minimum. Additionally, client-side validation can be performed where deemed
appropriate and feasable to provide a richer, more responsive experience for
the user.
Q16:What is the difference between Server.Transfer and Response.Redirect?
Why would I choose one over the other?
Ans:Server.Transfer transfers page processing from one page
directly to the next page without making a round-trip back to the client's
browser. This provides a faster response with a little less overhead on the
server. Server.Transfer does not update the clients url history list or
current url. Response.Redirect is used to redirect the user's browser to
another page or site. This performas a trip back to the client where the
client's browser is redirected to the new page. The user's browser history
list is updated to reflect the new address.
Q18:Can you explain the difference between an ADO.NET Dataset and an ADO
Recordset?
Ans:Valid answers are:
· A DataSet can represent an entire relational database in memory, complete
with tables, relations, and views.
· A DataSet is designed to work without any continuing connection to the
original data source.
· Data in a DataSet is bulk-loaded, rather than being loaded on demand.
· There's no concept of cursor types in a DataSet.
· DataSets have no current record pointer You can use For Each loops to move
through the data.
· You can store many edits in a DataSet, and write them to the original data
source in a single operation.
· Though the DataSet is universal, other objects in ADO.NET come in different
versions for different data sources.
Q19:What is the Global.asax used for?
Ans:The Global.asax (including the Global.asax.cs file) is used to
implement application and session level events.
Q20:What are the Application_Start and Session_Start subroutines used for?
Ans:This is where you can set the specific variables for the Application
and Session objects.
Q21:Can you explain what inheritance is and an example of when you might
use it?
Ans:When you want to inherit (use the functionality of) another class.
Example: With a base class named Employee, a Manager class could be derived
from the Employee base class.
Q22:Whats an assembly?
Ans:Assemblies are the building blocks of the .NET framework. Overview of
assemblies from MSDN
Describe the difference between inline and code behind.
Inline code written along side the html in a page. Code-behind is code written
in a separate file and referenced by the .aspx page.
Explain what a diffgram is, and a good use for one?
The DiffGram is one of the two XML formats that you can use to render DataSet
object contents to XML. A good use is reading database data to an XML file to
be sent to a Web Service.
Q23:Whats MSIL, and why should my developers need an appreciation of it if
at all?
Ans:MSIL is the Microsoft Intermediate Language. All .NET
compatible languages will get converted to MSIL. MSIL also allows the .NET
Framework to JIT compile the assembly on the installed computer.
Q24:Which method do you invoke on the DataAdapter
control to load your
generated dataset with data?
Ans:The Fill() method.
Ans:Can you edit data in the Repeater control?
No, it just reads the information from its data source.
Q25:Which template must you provide, in order to display data in a Repeater
control?
Ans:ItemTemplate.
Q26:How can you provide an alternating color scheme in a Repeater control?
Ans:Use the AlternatingItemTemplate.
Q27:What property must you set, and what method
must you call in your code,
in order to bind the data from a data source to the Repeater control?
Ans:You must set the DataSource property and call the
DataBind method.
Q28:What base class do all Web Forms inherit from?
Ans:The Page class.
Name two properties common in every validation control?
ControlToValidate property and Text property.
Q29:Which property on a Combo Box do you set with a column name, prior to
setting the DataSource, to display
data in the combo box?
Ans:DataTextField property.
Q30:Which control would you use if you needed to make
sure the values in
two different controls matched?
Ans:CompareValidator control.
Q31:How many classes can a single .NET DLL contain?
Ans:It can contain many classes.
Web Service Questions
Q32:What is the transport protocol you use to call a Web service?
Ans:SOAP (Simple Object Access Protocol) is the preferred protocol.
Q33:A Web service can only be written in .NET True or
False?
Ans:False
Q34:What does WSDL stand for?
Ans:Web Services Description Language.
Q35:To test a Web service you must create a Windows application or Web
application to consume this service.
True or False?
Ans:False, the web service comes with a test page and it
provides HTTP-GET
method to test.
State Management Questions:
Q36:What is ViewState?
Ans:ViewState allows the state of objects (serializable) to be
stored in a hidden field on the page. ViewState is transported to the client
and back to the server, and is not stored on the server or any other external
source. ViewState is used the retain the state of server-side objects between
postabacks.
Q37:What is the lifespan for items stored in ViewState?
Ans:Item stored in ViewState exist for the life of the
current page. This
includes postbacks (to the same page).
Q38:What does the "EnableViewState" property do? Why would I want it on or
off?
Ans:It allows the page to save the users input on a form across postbacks.
It saves the server-side values for a given control into ViewState, which is
stored as a hidden value on the page before sending the page to the clients
browser. When the page is posted back to the server the server control is
recreated with the state stored in viewstate.
Q39:What are the different types of Session state management options
available with ASP.NET?
Ans:ASP.NET provides In-Process and Out-of-Process state
management. In-Process stores the session in memory on the web server. This
requires the a "sticky-server" (or no load-balancing) so that the user is
always reconnected to the same web server. Out-of-Process Session state
management stores data in an external data source. The external data source
may be either a SQL Server or a State Server service. Out-of-Process state
management requires that all objects stored in session are serializable.
More>>>
|
New Topics
HR ebooks,HR example, HR interview questions ,HR interview answers,HR interview questions and answers
C ebooks,C example, C interview questions ,C interview answers,C interview questions and answers
Linux ebooks,Linux example, Linux interview questions ,Linux interview answers,Linux interview questions and answers
Unix ebooks,Unix example, Unix interview questions ,Uinux interview answers,Uinux interview questions and answers
C++ ebooks,C++ example, C++ interview questions ,C++ interview answers,C++ interview questions and answers
XHTML ebooks,XHTML example, XHTML interview questions ,XHTML interview answers,XHTML interview questions and answers
HTML DOM ebooks,HTML DOM example, HTML DOM interview questions ,HTML DOM interview answers,HTML DOM interview questions and answers
RSS ebooks,RSS example, RSS interview questions ,RSS interview answers,RSS interview questions and answers
RDF ebooks,RDF example, RDF interview questions ,RDF interview answers,RDF interview questions and answers
XPATH ebooks,XPATH example, XPATH interview questions ,XPATH interview answers,XPATH interview questions and answers
XLXP ebooks,XLXP example, XLXP interview questions ,XLXP interview answers,XLXP interview questions and answers
WSDL ebooks,WSDL example, WSDL interview questions ,WSDL interview answers,WSDL interview questions and answers
E4X ebooks,E4X example, E4X interview questions ,E4X interview answers,E4X interview questions and answers
XFORMS ebooks,XFORMS example, XFORMS interview questions ,XFORMS interview answers,XFORMS interview questions and answers
SOAP ebooks,SOAP example, SOAP interview questions ,SOAP interview answers,SOAP interview questions and answers
DTD ebooks,DTD example, DTD interview questions ,DTD interview answers,DTD interview questions and answers
XML SCHEMA ebooks,XML SCHEMA example, XML SCHEMA interview questions ,XML SCHEMA interview answers,XML SCHEMA interview questions and answers
XQuery ebooks,XQuery example, XQuery interview questions ,XQuery interview answers,XQuery interview questions and answers
DHTML ebooks,DHTML example, DHTML interview questions ,DHTML interview answers,DHTML interview questions and answers
HTML ebooks,HTML example, HTML interview questions ,HTML interview answers,HTML interview questions and answers
CSS ebooks,CSS example, CSS interview questions ,CSS interview answers,CSS interview questions and answers
XML ebooks,XML example, XML interview questions ,XML interview answers,XML interview questions and answers
XSLT ebooks,XSLT example, XSLT interview questions ,XSLT interview answers,XSLT interview questions and answers
WML ebooks,WML example, WML interview questions ,WML interview answers,WML interview questions and answers
VBScript ebooks,VBScript example, VBScript interview questions ,VBScript interview answers,VBScript interview questions and answers
WMLScript ebooks,WMLScript example, WMLScript interview questions ,WMLScript interview answers,WMLScript interview questions and answers
Ant ebooks,Ant example, Ant interview questions ,Ant interview answers,Ant interview questions and answers
Struts ebooks,Struts Tutorial,Struts example, Struts interview questions ,Struts interview answers,Struts interview questions and answers
Spring ebooks,Spring Tutorial,Spring example, Spring interview questions ,Spring interview answers,Spring interview questions and answers
Hibernate ebooks,Struts Hibernate,Hibernate example, Hibernate interview questions ,Hibernate interview answers,Hibernate interview questions and answers
EJB ebooks,EJB Tutorial,EJB example, EJB interview questions ,EJB interview answers,EJB interview questions and answers
Core Java ebooks,Core Java Tutorial,Core Java example, Core Java interview questions ,Core Java interview answers,Core Java interview questions and answers
Advance Java ebooks,Advance Java Tutorial,Advance Java example, Advance Java interview questions ,Advance Java interview answers,Advance Java interview questions and answers
JDBC ebooks,JDBC Tutorial,JDBC example, JDBC interview questions ,JDBC interview answers,JDBC interview questions and answers
JSP ebooks,JSP Tutorial,JSP example, JSP interview questions ,JSP interview answers,JSP interview questions and answers
Servlet ebooks,Servlet Tutorial,Servlet example, Servlet interview questions ,Servlet interview answers,Servlet interview questions and answers
VC++ ebooks,VC++ example, VC++ interview questions ,VC++ interview answers,VC++ interview questions and answers
SQL ebooks,SQL example, SQL interview questions ,SQL interview answers,SQL interview questions and answers
C# ebooks,C# example, C# interview questions ,C# interview answers,C# interview questions and answers
VB ebooks,VB example, VB interview questions ,VB interview answers,VB interview questions and answers
ASP ebooks,ASP example, ASP interview questions ,ASP interview answers,ASP interview questions and answers
ASP.net ebooks,ASP.net example, ASP.net interview questions ,ASP.net interview answers,ASP.net interview questions and answers
PHP ebooks,PHP example, PHP interview questions ,PHP interview answers,PHP interview questions and answers
JavaScript ebooks,JavaScript example, JavaScript interview questions ,JavaScript interview answers,JavaScript interview questions and answers
Ajax ebooks,Ajax example, Ajax interview questions ,Ajax interview answers,Ajax interview questions and answers
Testing ebooks,Testing example, Testing interview questions ,Testing interview answers,Testing interview questions and answers
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
Sponsored Ads(Typroo)
Sponsored Ads(Komli)
|
Interview Questions And Answers
Linux Objective Questions And Answers
Linux Subjective Questions And Answers
Unix Subjective Questions And Answers
Unix Interview Questions And Answers
HR interview questions and answers
HR Interview Questions Tips
HR Objective Questions And Answers
HR Subjective Questions And Answers
HR Interview Questions And Answers
Learn C Language with in a
day
C
/C++ Questions
C Objective Questions And Answers
C Subjective Questions And Answers
C Interview Questions And Answers
C Objective Interview
Questions And Answers(10)
C Subjective
Interview Questions And Answers(100)
C syntax,
semantics and simple programming questions(61)
Linux Interview Questions And Answers
Unix Objective Questions And Answers
C Aptitude Questions(179)
C++ Interview Questions And Answers
C++ Objective Questions And Answers
C++ Subjective Questions And Answers
C++ Interview Questions And Answers
XHTML Objective Questions And Answers
XHTML Subjective Questions And Answers
XHTML Interview Questions And Answers
HTML DOM Objective Questions And Answers
HTML DOM Subjective Questions And Answers
HTML DOM Interview Questions And Answers
RSS Objective Questions And Answers
RSS Subjective Questions And Answers
RSS Interview Questions And Answers
RDF Objective Questions And Answers
RDF Subjective Questions And Answers
RDF Interview Questions And Answers
XPATH Objective Questions And Answers
XPATH Subjective Questions And Answers
XPATH Interview Questions And Answers
XLXP Objective Questions And Answers
XLXP Subjective Questions And Answers
XLXP Interview Questions And Answers
WSDL Objective Questions And Answers
WSDL Subjective Questions And Answers
WSDL Interview Questions And Answers
E4X Objective Questions And Answers
E4X Subjective Questions And Answers
E4X Interview Questions And Answers
XFORMS Objective Questions And Answers
XFORMS Subjective Questions And Answers
XFORMS Interview Questions And Answers
SOAP Objective Questions And Answers
SOAP Subjective Questions And Answers
SOAP Interview Questions And Answers
DTD Objective Questions And Answers
DTD Subjective Questions And Answers
DTD Interview Questions And Answers
XML SCHEMA Objective Questions And Answers
XML SCHEMA Subjective Questions And Answers
XML SCHEMA Interview Questions And Answers
Core Java
Subjective ,Objective and Interview Questions And Answers
275 Core java interview
questions
Java Objective Questions and
Answer
Java Architect Interview
Questions
Applet Interview Questions
and Answers
Core Java example
Testing Objective Questions And Answers
Testing Subjective Questions And Answers
Testing Interview Questions And Answers
Ajax Tutorials
Ajax Objective Questions And Answers
Ajax Subjective Questions And Answers
Ajax Interview Questions And Answers
Javascript
Interview
Question and Answer(1-10).
Interview
Question and Answer(11-20).
Interview Question and Answer(21-30).
Interview Question and Answer(31-40).
Javascript Objective Questions And Answers
Javascript Subjective Questions And Answers
Javascript Interview Questions And Answers
PHP Objective Questions And Answers
PHP Subjective Questions And Answers
PHP Interview Questions And Answers 1
ASP.net Objective Questions And Answers
ASP.net Subjective Questions And Answers
ASP.net Interview Questions And Answers 1
ASP.net
interview questions ,ASP.net interview answers,ASP.net interview questions and
answers
PHP interview questions ,PHP interview answers,PHP interview questions and answers
Core Java Interview Questions and Answers (Subjective)
Core Java Interview Questions and Answers( Objective)
50 Servlet interview questions
155 Java Interview Questions
EJB Interview Questions and Answers(Subjective)
R4R,JSP Interview Questions and Answer(Subjective)
R4R,Java Servlets Interview Questions and Answers(Subjective)
Struts interview questions and answers(Subjective)
C,C++ objective Interview Questions and answers
C Interview Questions And Answers( Objective and Subjective)
C Objective Interview Questions And Answers(10)
C Subjective Interview Questions And Answers(100)
C,C++ Interview Questions
35 C++ Interview Questions And Answers(Subjective)
109 C++ Interview Questions
MFC Interview Questions And Answers(Subjective)
MFC Interview Questions And Answers(Subjective)
ATL Interview Questions And Answers(Subjective)
COM DCOM Interview Questions And Answers(Subjective)
Win32API Interview Questions And Answers(Subjective)
ActiveX Interview Questions And Answers(Subjective)
R4R, VC++ AllOther Interview Questions And Answers(Subjective)
PL/SQL Interview Questions And Answers(Subjective)
152 PL/SQL Interview Questions And Answers(Subjective)
Asp Objective Questions And Answers
Asp Subjective Questions And Answers
Asp Interview Questions And Answers 1
VB Objective Questions And Answers
VB Subjective Questions And Answers
VB Interview Questions And Answers 1
C# Interview Questions and Answers
C# Objective Questions And Answers
C# Subjective Questions And Answers
C# Interview Questions And Answers 1
SQL Interview Questions
And Answers
Oracle interview Questions(300).
SQL Objective Questions And Answers
SQL Subjective Questions And Answers
SQL Interview Questions And Answers 1
SUB Query Objective Questions And Answers
MFC
Interview Questions
ATL
Interview Questions
COM
DCOM Interview Questions
Win32API Interview Questions
ActiveX
Interview Questions
VC++ AllOther Interview
Question
500 Java Objective Questions and Answer
Core Java Objective Questions And Answers
Core Java Subjective Questions And Answers
Core Java Interview Questions And Answers
Servlet Objective Questions And Answers
Servlet Subjective Questions And Answers
Servlet Interview Questions And Answers
JSP Objective Questions And Answers
JSP Subjective Questions And Answers
JSP Interview Questions And Answers
JDBC Objective Questions And Answers
JDBC Subjective Questions And Answers
JDBC Interview Questions And Answers
JDBC Interview
questions and answers
Networking Interview questions and answers
Servlets
Interview questions and answers
EJB Objective Questions And Answers
EJB Subjective Questions And Answers
EJB Interview Questions And Answers
Hibernate Objective Questions And Answers
Hibernate Subjective Questions And Answers
Hibernate Interview Questions And Answers
Spring Objective Questions And Answers
Spring Subjective Questions And Answers
Spring Interview Questions And Answers
Struts Objective Questions And Answers
Struts Subjective Questions And Answers
Struts Interview Questions And Answers
Ant Objective Questions And Answers
Ant Subjective Questions And Answers
Ant Interview Questions And Answers
WMLScript Objective Questions And Answers
WMLScript Subjective Questions And Answers
WMLScript Interview Questions And Answers
VBScript Objective Questions And Answers
VBScript Subjective Questions And Answers
VBScript Interview Questions And Answers
WML Objective Questions And Answers
WML Subjective Questions And Answers
WML Interview Questions And Answers
XSLT Objective Questions And Answers
XSLT Subjective Questions And Answers
XSLT Interview Questions And Answers
XML Objective Questions And Answers
XML Subjective Questions And Answers
XML Interview Questions And Answers
CSS Objective Questions And Answers
CSS Subjective Questions And Answers
CSS Interview Questions And Answers
HTML Objective Questions And Answers
HTML Subjective Questions And Answers
HTML Interview Questions And Answers
DHTML Objective Questions And Answers
DHTML Subjective Questions And Answers
DHTML Interview Questions And Answers
XQuery Objective Questions And Answers
XQuery Subjective Questions And Answers
XQuery Interview Questions And Answers
Projects Lists *You just download and you can use these code.
1.Loan System(Java/JSP/JDBC)
Click For Download
2.Interanet Mailing System(Java/JSP /JDBC)
Click For Download
3.Student Information System
4.Online Test(Java/Swing)
5.Downloading a Web Page and Displaying its Contents
6.WebBrowser
7.MailClient
C/C++ Projects
1.Banking System (C/C++ Is Used To Create GUI(MENU) and To Maintain The Database)
2.Hotel Management System(GUI+Database Management)
3.STUDENT INFORMATION DATABASE MAINTAINS SYSTEM(GUI+Database Management)
4.Student course schedule
5.Phone Book
6.Library Management System
7.Enabling and disabling the keyboard
8.ChessGame
HTML/DTML Static Projects
1.Complete Website
|