Which keyword you should use for class not to extend?

Which keyword to be used for making the class accessible
within the assembly only

what are the authentication mode of ASP.NET

How will you call a JavaScript function using code-behind?

How will you define the Session Timeout?

What are the methods to validate client-side whether the
input is a correct Date format?

You want to write a log when ASP.NET application starts.
Which is the best place to write that peice of code?

What are the page load events and what is there order?

What is the difference between abstract class and interface?

What are the differences between DataSet and DataReader?

What are the two properties other than DataSource, which is
required to populate the Drop Down Menu?

What is difference between String and StringBuilder Classes?

What are differences between Custom control and User
control?



Which keyword you should use for class not to extend? Which keyword to be used for making the cla..

Answer / bhabani dash

SEALED KEYWORD USED FOR CLASS TO NOT EXTEND

FORM,WINDOW,PASSPORT,CUSTOM AUTHENTICATION MODES

CALLING THE .JSS FILES

IN THE WEB.CONFIG FILES UNDER SESSION TAG <TIMEOUT = 30 MIN>

IN THE EVENT LOG

PAGE_INT,PAGE_LOAD,PAGE_RENDER,PAGE_LOADVIEWSTATE,PAGE_UNLOA
D

ABSTRACT CLASS CAN HV CONCREATE METHOD WHERE AS INTERFACE
DOES NOT HV ANY CONCREATE METHODS . ANY CLASS IMPLEMENTING
INTERFACE HV TO IMPLEMENTS ALL ITS METHODS .ABSTRACT CLASS
CAN BE THE BASE CLASS OF ALL DERIVE CLASS .ABSTRACT CLASS
CHAIN CAN BE BREAK TO GIVE NEW DEFINATION WHEREAS
INTERFACE CHAIN CANNOT BE BREAK .INTERFACE CAN BE IMPLEMENT
BY A STRUCTURE BUT ABSTRACT CLASS CANNOT BE USED WITH A
STRUCTURE BCOSE STRUCTURE DOESNT SUPPORT INHERTANCE.



DATASET IS DISCONNECTED ARCHITECTURE WHERE AS DATAREADER IN
CONNECTED ARCHITECHTURE.DATASET CONTAIN DATA IN XML FORMAT
WHERE AS DATAREADER IN ORIGINAL DATA TABLES.DATASET USES
DATAADAPTER TO FETCH DATA FROM DB WHERE AS DATAREADER
DIRECTLY FETCH DATA FROM DB.DATA SET IN READ WRITE WHERE AS
DATAREADER IS READONLY DATAOBJECTS WHICH MEANS DATA CAN BE
MANUPULATE INSIDE DATASET BUT NOT IN DATAREADER.


STRING BUILDER CLASS IS MUTABLE WHERE AS STRING IS NOT
MUTABLE WHICH MEANS WE CAN ADD NEW STRINGS TO STRING
BUILDER CLASS WHERE WE CANNOT MANUPULATE STRING ONCE IT IS
DECLARED.


CUSTOM CONTROLS ARE COMPILED CONTROLS WHERE USER COTROLS
ARE NOT COMPLIED .CUSTOM CONTROLS CAN BE USED ACROSS MANY
APPLICATION BCOX IT REMAINS IN DLL FORMAT WHICH CAN BE
REFERENCE WHERE AS USER CONTROLS CANNOT BE USED IN MORE
THAN ONE APPLICATION.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is gacutil.exe? Where do we store assemblies, Should sn.exe be used before gacutil.exe?

2 Answers   Accenture, Aptech,


What is Hidden Fields in Asp.Net

4 Answers  


Is there any property names “isnavigating”?

0 Answers  


What is the < machinekey > element and what two ASP.NET technologies is it used for ?

1 Answers  


Give an example appropriate use forweb service as opposed to a non-serviced .NET component

1 Answers   Siebel,






Mention the namespace that is used to include .net data provider for sql server in .net code?

0 Answers  


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

0 Answers   Siebel,


What is server side routing?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

3 Answers   Satyam,


What are server activated objects?

0 Answers  


What is reflection and disadvantages of reflection ?

2 Answers   CTC, Microsoft,


What is SQL injection?

2 Answers  


Categories