Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Dotnet Faqs

Dotnet Faqs

Ratings: (0)|Views: 52|Likes:
Published by api-3835335

More info:

Published by: api-3835335 on Oct 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

DOT NET Interview Questions
By:- Shivprasad koirala
Mail:- shiv_koirala@yahoo.com
(According to latest VS.NET 2005 whidbey)
BetaRelease
1.0
(Including SQL ServerUML,Architecture,Project
Management and General Interview Questions)
http://www.geocities.com/shiv_koirala/
http://www.geocities.com/shiv_koirala/
Happy job hunting.......................................
Contents
Beta Release 1.0............................................................................. 3
eta Release 1.0............................................................
eta Release 1.0.......................................................
ntroduction.............................................................
. Basic .NET Framework ......................................
hat is IL?........................................................................................................
wist :- What is MSIL or CIL , What is JIT?....................................................
hat is the CLR?..............................................................................................
hat is the CTS?...............................................................................................

Release 1.0...............................................................
oduction.....................................................................
sic .NET Framework..............................................

s IL?.....................................................................................................................
- What is MSIL or CIL , What is JIT?.................................................................

s the CLR?........................................................................................................... s the CTS?............................................................................................................ s CLS(Common Language Specification)?......................................................... s Managed Code?................................................................................................. s Assembly ?........................................................................................................ re different types of Assembly?........................................................................... s NameSpace?...................................................................................................... s Difference between NameSpace and Assembly?.............................................. want to view a Assembly how to you go about it ?.............................................

What is ILDASM ?..............................................................................................

s Manifest?........................................................................................................... is version information stored of a assembly ?..................................................... ioning applicable to private assemblies?.............................................................

Introduction................................................................................. 13
1. Basic .NET Framework.......................................................... 17
What is IL?......................................................................................................................................... 17
Twist :- What is MSIL or CIL , What is JIT?..................................................................................... 17

What is the CLR?............................................................................................................................... 17
What is the CTS?................................................................................................................................ 17
What is CLS(Common Language Specification)?............................................................................. 18
What is Managed Code?..................................................................................................................... 18
What is Assembly ?...................................................................................................
What are different types of Assembly?......................................................................
What is NameSpace?.................................................................................................
What is Difference between NameSpace and Assembly?.........................................
If you want to view a Assembly how to you go about it ?........................................

Twist : What is ILDASM ?.........................................................................................

What is Manifest?...................................................................................................... Where is version information stored of a assembly ?................................................ Is versioning applicable to private assemblies?........................................................ What is GAC ?...........................................................................................................

Twist :- What are situations when you register .NET assembly in GAC ?................
What is concept of strong names ?............................................................................

Twist :- How do we generate strong names or what is the process of generating st is use of SN.EXE , How do we apply strong names to assembly ? , How do you ?...........................................................................................................................

How to add and remove a assembly from GAC?...................................................... What is Delay signing ?............................................................................................. What is garbage collection?....................................................................................... Can we force garbage collector to run ?.................................................................... What is reflection?.....................................................................................................

What is Assembly ?............................................................................................................................ 18
What are different types of Assembly?............................................................................................... 19

hat are different types of Assembly?..........................................................
hat is NameSpace?.....................................................................................
hat is Difference between NameSpace and Assembly?.............................
f you want to view a Assembly how to you go about it ?.............................

wist : What is ILDASM ?.............................................................................

What is NameSpace?.......................................................................................................................... 19 What is Difference between NameSpace and Assembly?.................................................................. 19 If you want to view a Assembly how to you go about it ?................................................................. 19

Twist : What is ILDASM ?.................................................................................................................. 19

What is Manifest?............................................................................................................................... 22 Where is version information stored of a assembly ?......................................................................... 23 Is versioning applicable to private assemblies?................................................................................. 23 What is GAC ?.................................................................................................................................... 23

Twist :- What are situations when you register .NET assembly in GAC ?......................................... 23
What is concept of strong names ?..................................................................................................... 23

Twist :- How do we generate strong names or what is the process of generating string names , What is use of SN.EXE , How do we apply strong names to assembly ? , How do you sign an assembly ?.................................................................................................................................................... 23

How to add and remove a assembly from GAC?............................................................................... 27 What is Delay signing ?...................................................................................................................... 28 What is garbage collection?................................................................................................................ 29

hat is garbage collection?........................................................................... an we force garbage collector to run ?........................................................ hat is reflection?......................................................................................... hat are different type of JIT ?..................................................................... hat are Value types and Reference types ?.................................................

Can we force garbage collector to run ?............................................................................................. 29 What is reflection?.............................................................................................................................. 29 What are different type of JIT ?.......................................................................................................... 30 What are Value types and Reference types ?...................................................................................... 31 What is concept of Boxing and Unboxing ?....................................................................................... 31 What\u2019s difference between VB.NET and C# ?................................................................................... 32 What\u2019s difference between System exceptions and Application exceptions?.................................... 32 What is CODE Access security?........................................................................................................ 33 What is a satellite assembly?.............................................................................................................. 34

2..NET Interoperability.............................................................. 35
How can we use COM Components in .NET?................................................................................. 35
Twist : What is RCW ?........................................................................................................................ 35
Once i have developed the COM wrapper do i have to still register the COM in registry?.............. 36
How can we use .NET components in COM?.................................................................................... 36
Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order that .NET
components is compatible with COM ?........................................................................................ 36
The Table of contents is different of what is available in traditional books.So that rather than read-
ing through the whole book just look at what questions you feel uncomfortable and revise that.
How can we make Windows API calls in .NET?............................................................................... 39
When we use windows API in .NET is it managed or unmanaged code ?......................................... 41
PI in .NET is it ma

...............................
ng in COM ?..........
WN interface in sh
COM ?.................

What is COM ?................................................................................................................................... 41
What is Reference counting in COM ?.................................................................
Can you describe IUKNOWN interface in short ?................................................
Can you explain what is DCOM ?........................................................................
How do we create DCOM object in VB6?...........................................................
How to implement DTC in .NET ?........................................................................
How many types of Transactions are there in COM + .NET ?............................
How do you do object pooling in .NET ?.............................................................
What are types of compatibility in VB6?.............................................................
What is equivalent for regsvr32 exe in .NET ?....................................................

3. Threading..............................................................

What is Multi-tasking ?......................................................................................... What is Multi-threading ?..................................................................................... What is a Thread ?................................................................................................ Did VB6 support multi-threading ?....................................................................... Can we have multiple threads in one App domain ?............................................ Which namespace has threading ?........................................................................ Can you explain in brief how can we implement threading ?.............................. How can we change priority and what the levels of priority are provided by .NE What does Addressof operator do in background ?............................................... How can you reference current thread of the method ?........................................ What's Thread.Sleep() in threading ?.................................................................... How can we make a thread sleep for infinite period ?......................................... What is Suspend and Resume in Threading ?....................................................... What the way to stop a long running thread ?...................................................... How do i debug thread ?....................................................................................... What's Thread.Join() in threading ?......................................................................

What is Reference counting in COM ?............................................................................................... 41 Can you describe IUKNOWN interface in short ?............................................................................. 41 Can you explain what is DCOM ?...................................................................................................... 42 How do we create DCOM object in VB6?......................................................................................... 43 How to implement DTC in .NET ?..................................................................................................... 43 How many types of Transactions are there in COM + .NET ?.......................................................... 45 How do you do object pooling in .NET ?........................................................................................... 46 What are types of compatibility in VB6?........................................................................................... 47 What is equivalent for regsvr32 exe in .NET ?.................................................................................. 48

3. Threading................................................................................ 49
What is Multi-tasking ?...................................................................................................................... 49
What is Multi-threading ?................................................................................................................... 49

hat is Multi-threading ?..................................................................... hat is a Thread ?................................................................................ id VB6 support multi-threading ?...................................................... an we have multiple threads in one App domain ?............................ hich namespace has threading ?........................................................

What is a Thread ?.............................................................................................................................. 49
Did VB6 support multi-threading ?.................................................................................................... 49

multi-threading ?.................................................... iple threads in one App domain ?......................... has threading ?..................................................... n brief how can we implement threading ?........... ge priority and what the levels of priority are prov sof operator do in background ?............................ rence current thread of the method ?...................... ep() in threading ?.................................................

Can we have multiple threads in one App domain ?.......................................................................... 49 Which namespace has threading ?...................................................................................................... 49 Can you explain in brief how can we implement threading ?............................................................ 49 How can we change priority and what the levels of priority are provided by .NET ?....................... 50 What does Addressof operator do in background ?............................................................................ 51 How can you reference current thread of the method ?...................................................................... 51 What's Thread.Sleep() in threading ?................................................................................................. 51 How can we make a thread sleep for infinite period ?....................................................................... 51 What is Suspend and Resume in Threading ?.................................................................................... 51 What the way to stop a long running thread ?.................................................................................... 52 How do i debug thread ?..................................................................................................................... 52 What's Thread.Join() in threading ?.................................................................................................... 52 What are Daemon thread's and how can a thread be created as Daemon?......................................... 53 When working with shared data in threading how do you implement synchronization ?................. 53 Can we use events with threading ?................................................................................................... 54 How can we know a state of a thread?............................................................................................... 54 what is a monitor object?.................................................................................................................... 54 what are wait handles ?....................................................................................................................... 54

Twist :- What is a mutex object ?........................................................................................................ 55

what is ManualResetEvent and AutoResetEvent ?........................................................................... 55 What is ReaderWriter Locks ?............................................................................................................ 55 How can you avoid deadlock in threading ?...................................................................................... 56 What\u2019s difference between thread and process?................................................................................. 56

4. Remoting and Webservices.................................................... 57

What is an application domain?......................................................................................................... 57 What is .NET Remoting ?................................................................................................................... 57 Which class does the remote object has to inherit ?........................................................................... 58 What are two different types of remote object creation mode in .NET ?........................................... 58 Describe in detail Basic of SAO architecture of Remoting?.............................................................. 58

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->