Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
ASP.NET Part 1
ASP.NET Part 2
ASP.NET Part 3
ASP.NET Part 4
ASP.NET Part 5
ASP.NET Advantages
ASP.NET Issues
ASP.NET Life cycle
ASP.NET Server control
ASP.NET Server vs. HTML
ASP.NET Datalist control
ASP.NET Application & session
ASP.NET Navigation method
ASP.NET Validation control
ASP.NET State Management
ASP.NET Caching
ASP.NET Exception Handling
ASP.NET Master pages
ASP.NET Tutorial
Session state management
Authentication-Authorization
Globalization-Localization
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 
More links
Model View Controller 
Understanding Anonymous Types 
Working with the DataList Control 
Windows Presentation Foundation (WPF) 
Books on ASP.NET
ASP.NET 3.5 Application Architecture and Design 
LINQ Unleashed for C# 
ASP.NET Data Presentation Controls Essentials 
Microsoft Expression Blend Unleashed 

ASP.NET

ASP.NET interview questions and their answer part 3

<<Previous  Next>>

By Nishant Kumar

Part 1 | Part 2 | Part 3 | Part 4 | part 5 

Question - What is Shared (static) member?
Answer - Itbelongs to the type but not to any instance of a type.
It
can be accessed without creating an instance of the type.
It can be
accessed using the type name instead of the instance name.
It
can't refer to any instance data. 

Question - What is the transport protocol you use to call a Web service?
Answer - SOAP (Simple Object Access Protocol) is the preferred protocol. 

Question - What is Option Strict used for?
Answer - Option Strict On enables type checking at design time andprevents type mismatch bugs.

Question - Define Boxing and Unboxing.  

Answer - Boxing allows you to treat a value type the same as a reference type.

Unboxing converts a boxed reference type back to a value type.

Question - What does WSDL stand for?
Answer - Web Services Description Language. 

Question - Define ViewState in ASP.NET.

Answer - It allows the state of objects (serializable) to be stored in a hidden field on the page.
It is transported to the client and back to the server, and is not stored on the server or any other external source. 
It is used to retain the state of server-side objects between postbacks.  


Question - What is the lifespan for items stored in ViewState?

Answer - Items stored in the ViewState exist for the life of the current page. 
This includes postbacks (to the same page). 

Question - Define EnableViewState property.
Answer - 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.

Question - What are Delegates?
Answer - Delegates provide the functionality behind events.
A delegate is a strongly typed function pointer.
Invoke a method without making an explicit call to that method.
In Visual Basic .NET, the role of the delegate is largely behind the scenes

 

Question - What are Classes?

Answer - Classes are the blueprints for objects.
A class acts as a template for any number of distinct objects.

 

Question - What is Encapsulation?
Answer - The data of an object should never be made available to other objects.

Question - Different types of Session state management options available with ASP.NET?
Answer - ASP.NET provides In-Process and Out-of-Process state management.
In-Process stores the session in memory on the 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.

 

 

Question - What methods are fired during the page load?
Answer - 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.

Question - Explain ADO.NET.

Answer - It is data-access technology, primarily disconnected and designed to provide efficient, scalable data  access. 
The disconnected data is represented within a DataSet object.
A data provider is a set of classes that provide access to databases. The main components of data provider are:
Connection
Command
DataReader
DataAdapter

Visual Studio .NET includes two data providers:
SQL Data Provider
OleDb Data Provider


Two additional data providers are included in Visual Studio .NET 2003:
ODBC Data Provider
Oracle Data Provider

 

Part 1 | Part 2 | Part 3 | Part 4 | part 5


<<Previous  Next>>



 

 

Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.