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
 
ADO.NET
NET Remoting
NET Interview
C#.NET
VB.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Database concepts
SQL Server
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
Operating System
Project Management
Linux
Testing
Networking
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills

ASP.NET

By Nishant Kumar

ASP.NET interview questions and their answer part 2

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

Question - Define access modifiers.
Answer - Access modifiers are used to control the scope of type members.
There are
five access modifiers that p rovide varying levels of access.
Public (public), Friend (internal), Private (private), Protected (protected), and Protected Friend (protected internal).
Question - Name the namespace for Web page in ASP.NET.
Answer - System.Web.UI.Page 

Question - Write difference between overloading and overriding.
Answer - Overriding - Methods have the same signature as the parent class method.
Overloading - Methods have different parameters list or type or the return type. 

Question - Write namespace for user locale in ASP.NET.
Answer - System.Web.UI.Page.Culture 

Question - How do you implement inheritance in .NET?
Answer - In C#.NET, we implement using  ":"
In VB.Net we implements using "Inherits" keyword.

 

Question - Explain the differences between Server-side and Client-side code.
Answer - Server-side code executes on the server. 
Client-side code executes in the client's browser. 

Server.Transfer and Response.Redirect.
Server.Transfer
Transfers page processing from one page directly to the next page.
No round-trip back to the client's browser.
Faster response with lesser overhead on the server.
Server.Transfer does not update the clients url history list or current url. 

Response.Redirect
Used to redirect the user's browser to another page or site.
Performs 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. 

Question - Define ADO.NET Dataset.
Answer - 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.
You can use For Each loops to move through the data in the dataset.

Question - Define global.asax in ASP.NET.
Answer - The Global.asax is including the Global.asax.cs file.
You can implement application and session level events using global.asax.  

Question - What are the Application_Start and Session_Start subroutines used for?
Answer - These subroutines set the variables for the Application and Session objects. 

Question - Define inline code and code behind.
Answer - 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. 

Question - What is MSIL?
Answer - MSIL is the Microsoft Intermediate Language.
.NET compatible application will get converted to MSIL on compilation.
MSIL gets converted into machine language or native code by JIT compiler. 

Question - Name the class Web Forms inherit from.
Answer - The Page class.

 

Explain different IIS isolation levels in ASP.NET- Low (IIS process A), Medium (Pooled), High (Isolated)

Answer - Low (IIS Process):

 

This is the fastest and the default IIS4 setting. ASP pages run in INetInfo.exe and so they are executed in-process. If ASP crashes, IIS too does and must be restarted.

Medium (Pooled):
This IIS setting is more reliable. In this if ASP crashes, IIS does not. In this, the ASP applications share the same process, so a web site can run with just IIS and ASP process. IIS5 supports this setting and is the default setting.

High (Isolated):
This setting runs in MTS.EXE in IIS4 and in DLLHOST.EXE in IIS5. If one ASP application crashes, IIS or other ASP applications don’t crash. Each ASP application runs out-process in its own space.

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

  

 

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