SlideShare a Scribd company logo
1 of 451
Download to read offline
Visit www.questpond.com for more downloads

This PDF has sample questions which is extracted from my two
books .NET Interview questions and SQL Server interview
questions.

This PDF is only a small glimpse of the two books its much
more that what you see in this PDF. I have ensured that both
the books are really at a very cheap cost so that every one will
be benefited. Any of my book do not exceed 200 INR. For more
details mail at bpb@bol.net.in

Second the books also have CD’ with them which you will not
                            CD’s
get with this sample PDF
                     PDF....But still if you want to enjoy free
who stops you.....Happy Job Hunting.

How to buy the book
BPB has done a great job of making this book reach to places where i can hardly imagine. But just
incase its not near to your place mail bpb@bol.net.in.
If you are from India you can contact one of the shops below:-
MUMBAI-22078296/97/022-22070989
KOLKATA-22826518/19
HYDERABAD-24756967,24756400
BANGALORE-25587923,25584641
AHMEDABAD-26421611         1
BHATINA(PUNJAB)-2237387,
CHENNAI-28410796,28550491
DELHI/NEW DELHI-23254990/91,23325760,26415092,24691288

Pakistan
M/s. Vanguard Books P Ltd, 45 The Mall, Lahore, Pakistan (Tel: 0092-42-7235767, 7243783 and
7243779 and Fax: 7245097)
E-mail: vbl@brain.net.pk

If you are not from india or pakistan :-
Ray McLennan, director,Motilal (UK) Books of India,367 High Street.
London Colney,
St.Albans, Hertfordshire,AL2 1EA, U.K.
Tel. +44 (0)1727 761 677,Fax.+44 (0)1727 761
357,info@mlbduk.com,www.mlbduk.com



                               www.questpond.com
Want to buy from online :-
.NET Interview Questions From Prakash books

http://www.prakashbooks.com/details.php3?id=17875&c=Computer Books
          .prakashbooks.com/details.php3?id=17875&c=Computer

If you want to buy from Amazon

http://www.amazon.co.uk/exec/obidos/ASIN/8183330770/qid%3D1139594062/026-8105897-
          .amazon.co.uk/exec/obidos/ASIN/8183330770/qid%3D1
7667603

SQL Server Interview Questions From Prakash books

http://www.prakashbooks.com/details.php3?id=19008&c=Computer Books
          .prakashbooks.com/details.php3?id=19008&c=Computer

If you want to buy from Amazon

http://www.amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1136610981/026-1344994-
http://www.amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1
          .amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1
2263615#product-details

If you want to purchase the book directly through BPB Publication's delhi , India :-
bpb@bol.net or bpb@vsnl.com

Books written by Shivprasad Koirala

-- .NET Interview questions
-- SQL Server Interview questions
-- Java Interview questions
-- How to prepare software quotation?.( This book is on estimation
                     www.questpond.com as free download)
you can get it from www
-- C# Projects
-- Software testing Interview questions
-- Understanding Hackers Mind

You can order any of my books from bpb@bol.net.in
.NET Interview Questions
        Sample book
(Including SQL Server,UML,Architecture,Pr
                Server,UML,Architecture,Project
              ASP
Management , ASP.NET 2.0 , Sample pr
                                  project ,XML
and General Interview Questions )


         By:- Shivprasad koirala
         Mail:- shiv_koirala@yahoo.com




             Happy job hunting.......................................




Do not forget that database is also important. Buy my SQL
Server Interview questions to crack any database related
questions.
From the Author
First thing thanks to all those who have sent me complaints and also appreciation for what ever titles
i have written till today. But interview question series is very near to my heart as i can understand
the pain of searching a job. Thanks to my publishers (BPB) , readers and reviewers to always excuse
all my stupid things which i always do.

So why is this PDF free ?. W i always wanted to distribute things for free specially when its a
                            Well
interview question book which can fetch a job for a developer. But i am also bounded with publish-
ers rules and regulations. And why not they have a whole team of editor printing guys, designers,
                                                                      editor,
distributors, shopkeepers and including me. But again the other aspect, readers should know of what
they are buying , the quality and is it really useful to buy this book. So here are sample free ques-
tions which i am giving out free to the readers to see the worth of the book.

I can be contacted at shiv_koirala@yahoo.com its bit difficult to answer all answers but as i get time
i do it.

We have recently started a career counselling drive absolutely free for new comers and experienced
guys. So i have enlisted the following guys on the panel. Thanks to all these guys to accept the panel
job of consulting. Feel free to shoot them questions just put a title in the mail saying “Question about
Career”. I have always turned up to them when i had some serious career decision to take.

Shivprasad Koirala :- Not a great guy but as i have done the complete book i have to take up one of
the positions. Y can contact me at shiv_koirala@yahoo.com for technical career aspect.
               You

Tapan Das :- If you think you are aiming at becoming a project manager he is the right person to
consult. He can answer all your questions regarding how to groom your career as a project manager
tapand@vsnl.com.

Kapil Siddharth :- If you are thinking to grow as architect in a company then he is a guy. When it
comes to role model as architect i rate this guy at the top. Y can contact him at
                                                             You
kapilsiddharth@hotmail.com

Second if you think you can help the developers mail me at shiv_koirala@yahoo.com and if i find
you fitting in the panel i will display your mail address. Please note there are no financial rewards as
such but i am sure you will be proud of the work you are doing and whos knows what can come up.

Lets make Software Industry a better place to work ..... Happy Job Hunting and Best of Luck
www.questpond.com

Career Path Institute
Author runs the “Software Career Path Institute” personally in mumbai. If you are interested you
can contact him regarding admissions at shiv_koirala@yahoo.com. Please note i do not have cur-
                                                                     for
rently any huge setup. So if you are looking for some cozy institute forget it. But yes you will defi-
nitely get the in-depth knowledge which you will not get anywhere.

    So want to join my small institute then call me at 9892966515. Please note currently its only
from mumbai people.




                                ww
                                  w.
                                    qu
                                      est
                                         po
                                           nd
                                             .co
                                                m
Contents

How to buy the book ................................................................... 67
  ow      y               ......................................................
                          .......................................
From the Author .............................................
 rom                ......................................................................... 70
                    ............................................................
Career Path Institute .....................................................
  areer th                 .................................................................. 71
                           ......................
                           ......................................
Introduction................................................................................. 85
           n.....................................
 ntroduction....................................................................
         ion.....................................................
Software Company hierarchy ........................................................................................
 oftware       any
                 y                  ............................................................................................................. 89
                                    .........................................
                                    .................................................................
Resume Preparation Guidelines .....................................
 esume        ation
                 on                     .............................................................
                                        ....................................................................................
                                        ......................................................................................................... 91
Salary Negotiation .........................................................................................................
 alary         ion .............................................................................................................................. 93
                       .................................................................
                 n ..................................................................................
                   ..........................................................
Points to remember .................................................................................
 oints              ............................................................................................................................. 95
                      ..................................................................
                ber .........................................................
                 er ........................................................................................................
1. Basic .NET Framework .......................................................... 98
 .         ET
            T           .............................................
                        ..............................
                        ......................
                        ..............
What is a IL? ...................................................................................................................................... 98
   hat            .................................................................................................................
                    ........................................................................................
                        ............................................................
                              .................................................................
Twist :- What is MSIL or CIL , What is JIT? ............................
 wist                                                              ................................................................
                                                                   .........................................
                                                                   ..................................................................................... 98
What is a CLR? .................................................................................................................................. 98
                              .................................................................
What is a CTS? ................................................................................................................................... 98
                              .................................................................
What is a CLS(Common Language Specification)?........................................................................... 99
What is a Managed Code? .................................................................................................................. 99
What is a Assembly? .......................................................................................................................... 99
 What are the different types of Assembly? ...................................................................................... 100
 What is NameSpace? ....................................................................................................................... 100
 What is Difference between NameSpace and Assembly? ............................................................... 100
If you want to view a Assembly how do you go about it ? .............................................................. 100
Twist : What is ILDASM ? ................................................................................................................ 100
 What is Manifest? ............................................................................................................................ 102
Where is version information stored of an assembly ?..................................................................... 103
Is versioning applicable to private assemblies? ............................................................................... 103
 What is GAC ? ................................................................................................................................. 103
Twist :- What are situations when you register .NET assembly in GAC ? ....................................... 103
 What is the concept of strong names ? ............................................................................................ 103
Twist :- How do we generate strong names or what is the process of generating strong names, What
    is use the of SN.EXE , How do we apply strong names to assembly, How do you sign an assem-
    bly? ............................................................................................................................................. 103
How to add and remove an assembly from GAC? ........................................................................... 107
 What is Delay signing ? ................................................................................................................... 108
What is garbage collection? .............................................................................................................. 109
 Can we force garbage collector to run ? .......................................................................................... 109
What is reflection? ............................................................................................................................ 109
What are different types of JIT ? ..................................................................................................... 110
 What are Value types and Reference types ? ................................................................................... 111
 What is concept of Boxing and Unboxing ? .................................................................................... 111
 What is the difference between VB.NET and C# ? ......................................................................... 112
What is the difference between System exceptions and Application exceptions? ........................... 113
What is CODE Access security? ...................................................................................................... 113
What is a satellite assembly? ............................................................................................................ 114
How to prevent my .NET DLL to be decompiled?........................................................................... 114
What is the difference between Convert.toString and .toString() method ? ................................... 114
What is Native Image Generator (Ngen.exe)? ....................................................
                                                             .....................................................
                                                             ................................................................................. 115
                                                             ...................................................
                                                             .............................................
We have two version of the same assembly in GAC? I want my client to mak choice of which                make
                           ................................................................................................................... 116
                           ..............................................................................
                           .....................................................................................
                           .......................................................................................
                           ......................................................................................
  assembly to choose? ...............................................................................
 hat               ........................................................................................................................... 124
                   ......................................................................................
                   .............................................................................................
                   ...............................................................................................
What is CodeDom? .......................................................................................
2..NET Interoperability ...........................................
 ..NET                  ............................................
                        ............................................................ 128
                        .................................
                        ..........................................
                        ......................................
 How can we use COM Components in .NET? .................................................
                                                                    ..................................................
                                                                    .............................................................................. 128
                                                                    .................................
                                                                    .........................................
                                                                    ................................................
                                                                    ..........................................
Twist : What is RCW ? ..........................................................................................
 wist                       ...................................................................................................................... 128
                            ..........................................................................
                            .................................................................................
                            ........................................................................................
                            ..................................................................................
 Once I have developed the COM wrapper do I have to still register the COM i registry? ........... 129
                                                                                                    t C              in
                                                                .................................................................................. 129
How can we use .NET components in COM? .....................................................
  ow                                                            ......................................................
                                                                .............................................
                                                                ....................................................
                                                                ..............................................
Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be ta
 wist                                                                                                            tak in order that .NET
                                                                                                                 taken
                                                            ...................................................................................... 129
    components is compatible with COM ? .........................................................
                                                            ..........................................................
                                                            .................................................
                                                            ........................................................
                                                            ..................................................
                                                                     ............................................................................. 132
How can we make Windows API calls in .NET? .................................................
  ow                                                                 ........................................
                                                                     ...............................................
When we use windows API in .NET is it managed or unmanaged code ? ..........
   hen                                                                                                     ....................................... 134
                                                                                                           ...........
                                                                                                           ..
                                                                                                           .........
                 ................................................................................................................................. 134
What is COM ? .....................................................................................................
   hat           ............................................................................................
                 ...................................................................................................
                                                      ............................................................................................ 134
What is Reference counting in COM ? ...............................................................
                                                      ................................................................
                                                      .......................................................
                                                      ..............................................................
       ou                                                               .......................................................................... 134
                                                                        .............................................
                                                                        ........
 Can you describe IUKNOWN interface in short ? ..............................................
                                                                        .....................................
                                                                        ............................................
  an u                                        .................................................................................................... 135
                                              .......................................................................
                                              .................................
Can you explain what is DCOM ? ........................................................................
                                              ...............................................................
                                              ......................................................................
       o                                                   ....................................................................................... 136
                                                           ..........................................................
                                                           .....................
How do we create DCOM object in VB6? .........................................................
                                                           ..................................................
                                               ................................................................................................... 136
How to implement DTC in .NET ? ................................
                                               ......................................................................
                                               ..............................................................
                                               .....................................................................
How many types of Transactions are there in COM + .
        any                                                                             ?........................................................ 138
                                                                                        ?...........................
                                                                              .NET ?..........................
                                                                                        ?...................
                                                         ......................................................................................... 139
How do you do object pooling in .NET ? .......................
       o                                                 ............................................................
                                                         ....................................................
                                                         ......................................................................................... 140
What are types of compatibility in VB6? .......................
        re                                               ....................................................
What is equivalent for regsvr32 exe in .NET ? ..............
       s                                                          ................................................................................ 141
                                                                  ...........................................
3. Threading ........................................................
    hreading ....................................
     reading .............................................................................. 142
             ..................................................
What is Multi-tasking ? ...............................................................................
      s                    .................................................................................................................... 142
                           ...................................................................................
                           .......................................................................
                           ..................................................
What is Multi-threading ? ............................................................................
      s                       ................................................................................
                              ...................................................................
                              ...............................................
                              ................................................................................................................. 142
What is a Thread ? .......................................................................................
      s            ............................................................................................................................ 142
                   ...........................................................................................
                   ..............................................................................
                   .........................................................
                                             .................................................................................................. 142
Did VB6 support multi-threading ? .............................................................
     B6 6                                    .................................................................
                                             .....................................................
                                             ...............................
                                                                       ........................................................................ 142
Can we have multiple threads in one App domain ? ..........................
      e                                                                .....
                                                                       .......................................
                                                                       ...................................
                                           .................................................................................................... 142
Which namespace has threading ? ......................................................
                                           ..................................
                                           ...................................................................
Can you explain in brief how can we implement threading ? .........................  .......................................................... 142
How can we change priority and what the levels of priority are provided by .                                  .NET ? ..................... 143
What does AddressOf operator do in background ? ......................................................................... 144
How can you reference current thread of the method ? .................................................................... 144
What's Thread.Sleep() in threading ? .............................................................................................. 144
How can we make a thread sleep for infinite period ? ..................................................................... 144
What is Suspend and Resume in Threading ? ................................................................................. 144
What the way to stop a long running thread ? .................................................................................. 145
How do I debug thread ? ................................................................................................................. 145
What is Thread.Join() in threading ? ................................................................................................ 146
What are Daemon threads and how can a thread be created as Daemon? ....................................... 146
When working with shared data in threading how do you implement synchronization ? .............. 146
Can we use events with threading ? ................................................................................................. 147
How can we know a state of a thread? ............................................................................................. 147
What is a monitor object? ................................................................................................................ 147
What are wait handles ? ................................................................................................................... 148
                  ndles ............................................
Twist :- What is a mutex object ? ......................................................
          hat                        ...................................................................................................... 148
                                     ...............................
What is ManualResetEvent and AutoResetEvent ? ....................................................................... 148
            anualResetEvent
                   esetEvent                                        .......................
           eaderWriter
What is ReaderWriter Locks ? ......................................................................................................... 148
                   riter          .........................................................
                                  ..................................
 How can you avoid deadlock in threading? ....................................
                   id                                  .................................................................................... 149
                                                       .............
What is the difference between thread and process? .......................
          he       ence                                             ....................................................................... 149
4. Remoting and Webservices ....................
      oting                 .................................................. 150
What is an application domain? ....................................................................................................... 150
       t    n                               ..................................................................................
                                            ......................................................
What is .NET Remoting ? ................................................................
      at NET                       ............................................................................................
                                   ................................................................................................................ 150
Which class does the remote object has to inherit ? ........................................................................ 151
      ich ass                                                              ........................
                                                                           ...................................................
What are two different types of remote object creati mode in .N ? ...................
      at             erent                                         creation                    .NET ........................................ 151
 Describe in detail Basic of SAO architecture of Remoting? ...........
       cribe        l                                                 Rem               ........................................................... 151
                                                                                        .......................................
What are the situations you will use singleton architecture in remoting ? ..................................... 156
      at            ations                                          archit                  rem               ................
What is fundamental of published or precreated objects in Remoting ? ......................................... 156
      at            ntal
             undamental                                               obje             Remoti             ................
                                                                                                          ....................
What are the ways in which client can create object on server in CAO model ? ............................ 156
      at             s                                                                                                 ...
                                                                                                                       .......
                                        ........................................................................................................... 157
Are CAO stateful in nature ? ..................................................................................
                                        .....................................
                                        ......................................................................................
 In CAO model when we want client objects to be created by “NEW” keyword is there any precau-
        AO           hen                                                 cr                                                th
                     en ....................................................................................................................... 157
     tions to be taken ? ..............................................................................................
      ions                  .................................................
                            ..................................................................................................
 Is it a good design practice to distribute the implementation to Remoting Client ? ....................... 158
     t              n                                          impleme                                                      ..
What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerP
      at            ime,                                  RenewonC                              LeaseManagerPollTime? .......... 158
                                                                                                LeaseManagerPoll
Which config file has all the supported channels/protocol ? ..................................
      ich                                               channels/pro                    ........................................................... 159
                                                                                        .......................................
 How can you specify remoting parameters using Config files ? ............................    ..................................................... 160
                                                                                              ................................
 Can Non-Default constructors be used with Single Call SAO? .............................    ...................................................... 162
                                                                                             ..................................
Twist :- What are the limitation of constructors for Single call SAO ? ..................
  wist t                                                                                                ........................................... 162
                                                                                                        .......................
 How can we call methods in remoting Asynchronously ? .........................................
                                                                                     .............................................................. 163
                                                                                     .....................................
What is Asynchronous One-Way Calls ? ......................................................................................... 163
      at                                                  ................................................................
                                                          ....................................................................
What is marshalling and what are different kinds of marshalling ? ................................................ 163
      at                                                                                           .......................
                                                                                                   ............................
What is ObjRef object in remoting ? ............................................................................................... 164
      at                                            ......................................................................
                                                    ..........................................................................
What is a Web Service ? .................................................................................................................. 164
                                 .........................................................................................
What is UDDI ? ............................................................................................................................... 165
                    ......................................................................................................
What is DISCO ? ............................................................................................................................. 165
                      ....................................................................................................
What is WSDL? ......................................................................................................
                    ............................................................................................................................... 165
What the different phase/steps of acquiring a proxy object in Webservice ? .................................. 165
Following are the different steps needed to get a proxy object of a webservice at the client side :- 165
What is file extension of Webservices ? .......................................................................................... 166
Which attribute is used in order that the method can be used as WebService ? ............................... 167
What are the steps to create a webservice and consume it ? ........................................................... 167
 Do webservice have state ?.............................................................................................................. 176
5. Caching Concepts ................................................................. 178
What is an application object ? ....................................................................................................... 178
What’s the difference between Cache object and application object ? ............................................ 178
How can get access to cache object ? ............................................................................................... 178
What are dependencies in cache and types of dependencies ? ......................................................... 178
Can you show a simple code showing file dependency in cache ? .................................................. 179
What is Cache Callback in Cache ? ................................................................................................. 179
What is scavenging ? ....................................................................................................................... 180
What are different types of caching using cache object of ASP.NET? ............................................ 180
How can you cache different version of same page using ASP.NET cache object ? ...................... 180  ob
                                                                                                          o
How will implement Page Fragment Caching ? ....................................................
                                                                .............................................................................. 181
                                                                ...............................................
                                                                ............................................
What are ASP.NET session and compare ASP.NET session with classic ASP s                                   AS
                                                                                                          A session variables? 181
                                                                        ...................................................................... 181
                                                                        .................................
Which various modes of storing ASP.NET session ? ............................................
                                                                        .......................................
                                                                        ....................................
                                                                            .................................................................. 182
                                                                            .............................
                                                                            ......................
Is Session_End event supported in all session modes ? ........................................
                                                                            ...................................
                                                                            ................................
What are the precautions you will take in order that StateServer Mode wor properly ? .............. 182
                                                                                           Mod work pro
                                                                                                     w
What are the precautions you will take in order that SQLSERVER Mode w                          M          work p
                                                                                                          wo properly ? .......... 182
                                                                              ................................................................ 183
                                                                              ...........................
                                                                              ....................
Where do you specify session state mode in ASP.NET ? ..............................
                                                                              .................................
                                                                              ......................................
                                                                   ........................................................................... 183
                                                                   ......................................
                                                                   ................................
What are the other ways you can maintain state ? .................................................
                                                                   ............................................
                                                                   .........................................
                                                                                 ............................................................. 183
                                                                                 ........................
                                                                                 ..................
What are benefits and Limitation of using Hidden fields ? ...........................
                                                                                 ..............................
                                                                                 ...................................
                     ......................................................................................................................... 184
                     ....................................................................................
                     .............................................................................
What is ViewState ? ...............................................................................................
                     ..........................................................................................
                     .......................................................................................
Does the performance for viewstate vary according to User controls ? ................                ......................................... 184
                                                                                                     ....
                                                                                                     ..........
                                                                                                     .......
What are benefits and Limitation of using Viewstate for state management .             management? ................................ 184
                                                                                       manageme
                                                                                       manag                  ......
                                                                            ..........................................
                                                                            .................................................................. 185
                                                                            .............................
                                                                            .......................
How can you use Hidden frames to cache client data ? .........................................
                                                                            ...................................
                                                                            ................................
                                                                                  ............................................................ 185
                                                                                  .....................................
                                                                                  .......................
                                                                                  .................
What are benefits and limitations of using Hidden frames? ..........................
                                                                                  .............................
                                                                                  ...................................
                                                                        ...................................................................... 186
                                                                        ..............................................
                                                                        .................................
                                                                        ...........................
What are benefits and limitations of using Cookies? ....................................
                                                                        .......................................
                                                                        ............................................
What is Query String and What are benefits and limitations of using Query Strin                              Strings?
                                                                                                             String ................... 186
                                                                                                             S
6. OOPS ......................................................................
 .      .......................................................................
        ..........................................................
        ..................................................................................... 200
        ..................................................................
        .................................................................
What is Object Oriented Programming ? ......................................................
                                                          ........................................................................................ 200
                                                          .........................................................
                                                          ................................................................
                                                          ............................................
                                                          ..............................................................
What’s a Class ? ......................................................................................................
                   ........................................................................................................
                   ....................................................................................
                   ............................................................................................................................... 200
                   ................................................................................................
                   .............................................................................................
                       ........................................................................................................................... 200
What’s an Object ? ............................................................................................
                       ...................................................................................................
                       ...............................................................................
What is the relation between Classes and Objects ? ........................................................................ 200
                                                                          .............................
What are different properties provided by Object-oriented systems ? .                                 ............................................ 200
Twist :- Can you explain different properties of Object Oriented Systems? .................................... 200
  wist                                                                                        Syste
Note:- Difference between abstraction and encapsulation is one of th favorite interview question
  ote:-                                                                                            the
    and quiet confusing as both the terminology look alike. Best is if y can brainstorm with your    you
    friends or do a little reading. ...................................................................................................... 200
Twist :- What is difference between Association, Aggregation and Inheritance relationships? ...... 201
 How can we acheive inheritance in VB.NET ? ............................................................................... 202
What are abstract classes ? .............................................................................................................. 203
What is a Interface ? ........................................................................................................................ 205
What is difference between abstract classes and interfaces? ........................................................... 207
What is a delegate ? ......................................................................................................................... 207
What are events ? ............................................................................................................................. 208
 Do events have return type ? ........................................................................................................... 210
 Can event’s have access modifiers ? ............................................................................................... 210
 Can we have shared events ? ........................................................................................................... 210
What is shadowing ? ........................................................................................................................ 210
What is the difference between Shadowing and Overriding ? ....................................................... 211
What is the difference between delegate and events? ..................................................................... 211
 If we inherit a class do the private variables also get inherited ? .................................................... 212
What are the different accessibility levels defined in .NET ? ......................................................... 212
 Can you prevent a class from overriding ? ...................................................................................... 212
What is the use of “MustInherit” keyword in VB.NET ? ................................................................ 212
 Do interface have accessibility modifier? ....................................................................................... 213
What are similarities between Class and structure ? ....................................................................... 213
 What is the difference between Class and structure’s ?................................................................... 213
       t                                                                         ?.......................................
 What does virtual keyword mean ? .....................................................................
     att    s                                        .................................................................
                                                     ......................................................
                                                     ...............................................................
                                                     .........................................................
                                                     ................................................................................................. 213
 What are shared (VB.NET)/Static(C#) variables? .......................................................
     att                                                                    .......................................................................... 213
                                                                            ..........................................
                                                                            ...............................
                                                                            ........................................
                                                                            ..................................
                                                                            ..............................................
 What is Dispose method in .NET ? ..............................................................................
     att     ispose                                  .................................................................
                                                     .....................................................
                                                     ...............................................................
                                                     ........................................................
                                                     ................................................................................................. 215
                                                     .....................................................................
 What is the use of “OverRides” and “Overridable” keywords ? .........................
     att     e                                                                                   ..................................................... 215
                                                                                                 ..................................
                                                                                                 .....................
                                                                                                 ..........
                                                                                                 ...................
                                                                                                 .............
 Where are all .NET Collection classes located ? .........................................................
     ere
       re                                                                 ............................................................................ 215
                                                                          ............................................
                                                                          .................................
                                                                          ..........................................
                                                                          ....................................
                                                                          ................................................
                            .......................................................................................
 What is ArrayList ? ..............................................................................................
     att                    .......................................................................................................................... 216
             rrayList .......................................................................................................
                            ..........................................................................................
                            ..............................................................................
                            ........................................................................................
                            .................................................................................
 What’s a HashTable ? ..........................................................................................
     at’s
       t’s                      ...................................................................................................................... 216
                                ...................................................................................................
                                ......................................................................................
                                ...........................................................................
                                ....................................................................................
                                ..............................................................................
Twist :- What’s difference between HashTable and ArrayList ? ...........................
  wist
     t      hat’s                                                                              ....................
                                                                                               ....................................................... 216
                                                                                               .......................
                                                                                               ............
                                                                                               .....................
                                                                                               ...............
                                                                                               ....................................
                                            .......................................................................
 What are queues and stacks ? .......................................................................................
     att                                    .......................................................................................................... 216
                                            ..........................................................................
                                            ..............................................................
                                            ........................................................................
                                            .................................................................
                                            ..............................................................................
                         ............................................................................................................................. 216
 What is ENUM ? .................................................................................................
     att    NUM ..................................................................................
                         .............................................................................................
                         ...........................................................................................
                         .....................................................................................
                         ..........................................................................................................
                                    ...............................................................................
 What is nested Classes ? ...............................................................................................
     att    ested                   .................................................................................................................. 216
                                    ..................................................................................
                                    ......................................................................
                                    ................................................................................
                                    .........................................................................
                                    ......................................................................................
                                                            .......................................................................................... 217
What is Operator Overloading in .NET? ..................................................
   hat
     t      perator                                         ........................................................
                                                            .......................................................................
                                                            ..........................................................
                                                            ...............................................
 In below sample code if we create a object of class2 which constructor wil fire first ? ................ 217
     elow                                                                                  construct will
                                                                                 ..................................................................... 217
What is the significance of Finalize method in .NET? .............................
   hat
     t      e                                                                    ...................................
                                                                                 ..................................................
                                                                                 .....................................
                                                                                 ..........................
                                                                              ........................................................................ 218
                                                                              .....................................
                                                                              .....................................................
Why is it preferred to not use finalize for clean up? ................................
              referred                                                        ......................................
                                                                              ........................................
                                                             ......................................................................................... 219
                                                             ......................................................
How can we suppress a finalize method? ......................................................................
                                                             .........................................................
What is the use of DISPOSE method? ..........................................................
     t            e                                      ............................................................................................. 219
                                                         ...........................................................
                                                         ..........................................................................
                                                         .............................................................
How do I force the Dispose method to be called automatically, as clients can forget t call Dispose
                  e                                                                                             c
                                                                                                                ca               to
        ethod? ...................................................................................................................................... 220
                  ................................................................................................
                ...................................................................................................
    method? ...................................................................................................................
                ......................................................................................................
                                                                                               ....................................................... 220
                                                                                               ....................
                                                                                               .....................
In what instances you will declare a constructor to be private? ....................................
     hat          ces                                                                          .......................
Can we have different access modifiers on get/set methods of a property ? .
                   ifferent                                                                                       .................................... 221
                                                                                                                  .................
                                                                                                                  ....
If we write a goto or a return statement in try and catch block will the finally block execute ? .... 221
                  oto                                                                                       fina
What is Indexer ? .............................................................................................................................. 221
                 er ..........................................................................................
Can we have static indexer in C# ? ..............................................................
         e        tatic                             ....................................................................
                                                    .................................................................................................. 221
In a program there are multiple catch blocks so can it happen that two catch bl
         ogram here                                                                                         catc blocks are executed ?
    221  1
 What is the difference between System.String and System.StringBuilder c
                 ifference                                                                                       class ........................ 221
                                                                                                                 classes?
7. ASP.NET ................................................................................ 222
    SP.NET ..............................................................
        ET ..........................................................
What’ is the sequence in which ASP.NET events are processed ? .........
     ’        equence
                quence                                                                         ...............
                                                                                               .................................................. 222
                                                                                               .....................
In which event are the controls fully loaded ? ...................................................
     ich       t                                                ................................................................................. 222
                                                                ........................................
                                                                .............................................
How can we identify that the Page is PostBack ? .............................................
                 entify                                               ........................................................................... 222
                                                                      .................................
How does ASP.NET maintain state in between subsequent request ? ....
                .NET                                                                                ............................................. 222
What is event bubbling ? ................................................................................................................. 222
                                ........................................................................
How do we assign page specific attributes ? ................................................................................... 223
Administrator wants to make a security check that no one has tampered with ViewState, how can he
   ensure this ? ................................................................................................................................ 223
What is the use of @ Register directives ? ...................................................................................... 223
What’s the use of SmartNavigation property ? ................................................................................ 223
What is AppSetting Section in “Web.Config” file ? ........................................................................ 223
Where is ViewState information stored ? ........................................................................................ 223
 What is the use of @ OutputCache directive in ASP.NET? ........................................................... 224
How can we create custom controls in ASP.NET ? ......................................................................... 224
How many types of validation controls are provided by ASP.NET ?.............................................. 224
Can you explain what is “AutoPostBack” feature in ASP.NET ? ................................................... 225
How can you enable automatic paging in DataGrid ? ..................................................................... 225
What’s the use of “GLOBAL.ASAX” file ? .................................................................................... 225
 What is the difference between “Web.config” and “Machine.Config” ? ........................................ 225
 What is a SESSION and APPLICATION object ? ...............................
                                                                    .......................................................................... 226
                                                                    ..............................................
 What is the difference between Server.Transfer and response.Redirec ? ...........
                                                                       response.Redirect ....................................... 226
What is the difference between Authentication and authorization? ......                      .....................
                                                                                             ................................................. 226
                                                .............................................................................................. 227
                                                ............................................................
 What is impersonation in ASP.NET ? ...................................................
                                                ..................................................................
 Can you explain in brief how the ASP.NET authentication process w                                         ................................... 227
                                                                                                           .
                                                                                               works? .......
 What are the various ways of authentication techniques in ASP.NET? ..............                  .......................................... 228
                                                                                                    ..........
                                                                                                    ........
                                                          .................................................................................... 230
                                                          ...................................................
                                                          ..................................................
How does authorization work in ASP.NET? .........................................
                                                          .......................................................
What’s difference between Datagrid, Datalist and repeater ? ...............         ..........................
                                                                                    .......................................................... 231
                                                                                    ........................
                                                                                    ..............................
                                                                       ....................................................................... 232
                                                                       .....................................
                                                                       ......................................
                                                                       ....................................
From performance point of view how do they rate ? ...........................
                                                                       ..........................................
What is the method to customize columns in DataGrid? .....................   ................................................................. 232
                                                                             ...............................
                                                                             ................................
                                                                             ..............................
                                                                             ....................................
                                                       ....................................................................................... 232
                                                       .....................................................
                                                       ......................................................
                                                       ....................................................
How can we format data inside DataGrid? ...........................................
                                                       ..........................................................
 How to decide on the design consideration to take a Datagrid, datali or r               datalist re      repeater ? .................... 232
                                                     ......................................................................................... 232
                                                     ........................................................
                                                     .........................................................
                                                     .......................................................
 Difference between ASP and ASP.NET? ..............................................
                                                                   ........................................................................... 234
                                                                   ................................................
                                                                   ..........................................
                                                                   ...........................................
                                                                   .........................................
 What are major events in GLOBAL.ASAX file ? ................................
                                       ....................................................................................................... 235
                                       ............................................................................
                                       ......................................................................
                                       .......................................................................
                                       .....................................................................
 What order they are triggered ? ............................................................
                             ................................................................................................................. 236
                             ......................................................................................
                             ................................................................................
                             .................................................................................
 Do session use cookies ? ......................................................................
                                                                       ....................................................................... 236
                                                                       ............................................
                                                                       ......................................
                                                                       .......................................
How can we force all the validation control to run ? ............................
How can we check if all the validation control are valid and proper ? .                           ............................................ 236
                                                                                                  .................
                                                                                                  ...........
                                                                                                  ............
If client side validation is enabled in your Web page, does that mean server sid code is not run? 236         side
Which JavaScript file is referenced for validating the validators at the client sid ?....................... 236
                                                                                                              side
                                                              ................................................................................ 237
                                                              .....................................................
                                                              ...............................................
                                                              ................................................
How to disable client side script in validators? .....................................
How can I show the entire validation error message in a message box on the cli side? ............. 237         client
You find that one of your validation is very complicated and does not fit in a of the validators,           any
                        ...................................................................................................................... 237
                        ...........................................................................................
                        .....................................................................................
    what will you do ? ......................................................................................
                                     ......................................................................................................... 238
                                     ..............................................................................
                                     ........................................................................
What is Tracing in ASP.NET ? .........................................................................
                                  ............................................................................................................ 238
                                  .................................................................................
                                  ...........................................................................
 How do we enable tracing ? ............................................................................
What exactly happens when ASPX page is requested from Browser? ............                       ............................................ 238
                                                                                                  .................
                                                                                                  ...........
                                        ...................................................................................................... 242
                                        ...........................................................................
How can we kill a user session ? .....................................................................
                                                    .......................................................................................... 243
                                                    ...............................................................
How do you upload a file in ASP.NET ? ........................................................
                                                                .............................................................................. 243
How do I send email message from ASP.NET ? ...................................................
                                                  ............................................................................................ 243
What are different IIS isolation levels? .................................................................
ASP used STA threading model, what is the threading model used for ASP.NET ? ........................ 245
What is the use of <%@ page aspcompat=true %> attribute ? ...................................................... 245
Explain the differences between Server-side and Client-side code? ................................................ 246
Can you explain Forms authentication in detail ? ............................................................................ 246
How do I sign out in forms authentication ? .................................................................................... 248
If cookies are not enabled at browser end does form Authentication work? ................................... 248
How to use a checkbox in a datagrid? .............................................................................................. 248
What are the steps to create a windows service in VB.NET ? ......................................................... 249
 What is the difference between “Web farms” and “Web garden”? ................................................. 250
 How do we configure “WebGarden”? ............................................................................................. 253
What is the main difference between Gridlayout and FlowLayout ? ............................................... 256
8..NET Architecture .................................................................. 257
What are design patterns ? ............................................................................................................... 257
What is the difference between Factory and Abstract Factory Patterns? ......................................... 258
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)
046 sample interviewquestionbook(1)

More Related Content

Similar to 046 sample interviewquestionbook(1)

interview questions for .net
interview questions for .netinterview questions for .net
interview questions for .netbhaskar saragadam
 
Shivprasad Koirala
Shivprasad KoiralaShivprasad Koirala
Shivprasad KoiralaSubhadip Pal
 
Practical seo-copywriting-v1.1
Practical seo-copywriting-v1.1Practical seo-copywriting-v1.1
Practical seo-copywriting-v1.1Kim Cao
 
Asp.net mvc interview questions & answers by shailendra chauhan
Asp.net mvc interview questions & answers   by shailendra chauhanAsp.net mvc interview questions & answers   by shailendra chauhan
Asp.net mvc interview questions & answers by shailendra chauhanMasterCode.vn
 
Website Business 101 - The Timeless Secrets of Successful Internet Business
Website Business 101 - The Timeless Secrets of Successful Internet Business Website Business 101 - The Timeless Secrets of Successful Internet Business
Website Business 101 - The Timeless Secrets of Successful Internet Business Falko Luedtke
 
Smart guide to become successful freelancer in 30 days
Smart guide to become successful freelancer in 30 daysSmart guide to become successful freelancer in 30 days
Smart guide to become successful freelancer in 30 daysSaqib Ahmad
 
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link Building
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link BuildingSeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link Building
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link BuildingHeyday ApS
 
8 Reasons your blog is failing and how to fix them.
8 Reasons  your blog is failing and how to fix them.8 Reasons  your blog is failing and how to fix them.
8 Reasons your blog is failing and how to fix them.Shamsudeen Adeshokan
 
Developers best practices_tutorial
Developers best practices_tutorialDevelopers best practices_tutorial
Developers best practices_tutorialEdress Oryakhail
 
Developers best practices_tutorial
Developers best practices_tutorialDevelopers best practices_tutorial
Developers best practices_tutorialVinay H G
 
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...Heyday ApS
 
Digital marketing blogs basics1_participants_workshop excersices
Digital marketing  blogs   basics1_participants_workshop excersicesDigital marketing  blogs   basics1_participants_workshop excersices
Digital marketing blogs basics1_participants_workshop excersicesVenkat Subbu
 
Ado.ne twith csharpinhindi
Ado.ne twith csharpinhindiAdo.ne twith csharpinhindi
Ado.ne twith csharpinhindiChand Rook
 

Similar to 046 sample interviewquestionbook(1) (20)

interview questions for .net
interview questions for .netinterview questions for .net
interview questions for .net
 
Shivprasad Koirala
Shivprasad KoiralaShivprasad Koirala
Shivprasad Koirala
 
C ++ in hindi
C ++  in hindiC ++  in hindi
C ++ in hindi
 
Practical seo-copywriting-v1.1
Practical seo-copywriting-v1.1Practical seo-copywriting-v1.1
Practical seo-copywriting-v1.1
 
Asp.net mvc interview questions & answers by shailendra chauhan
Asp.net mvc interview questions & answers   by shailendra chauhanAsp.net mvc interview questions & answers   by shailendra chauhan
Asp.net mvc interview questions & answers by shailendra chauhan
 
Website Business 101 - The Timeless Secrets of Successful Internet Business
Website Business 101 - The Timeless Secrets of Successful Internet Business Website Business 101 - The Timeless Secrets of Successful Internet Business
Website Business 101 - The Timeless Secrets of Successful Internet Business
 
Smart guide to become successful freelancer in 30 days
Smart guide to become successful freelancer in 30 daysSmart guide to become successful freelancer in 30 days
Smart guide to become successful freelancer in 30 days
 
W pin hindi
W pin hindiW pin hindi
W pin hindi
 
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link Building
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link BuildingSeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link Building
SeoCustomer Hot Tricks & Tips 2011 - SEO, Social Media, SEM, Link Building
 
Final RWU Career Guide
Final RWU Career GuideFinal RWU Career Guide
Final RWU Career Guide
 
8 Reasons your blog is failing and how to fix them.
8 Reasons  your blog is failing and how to fix them.8 Reasons  your blog is failing and how to fix them.
8 Reasons your blog is failing and how to fix them.
 
Developers best practices_tutorial
Developers best practices_tutorialDevelopers best practices_tutorial
Developers best practices_tutorial
 
Developers best practices_tutorial
Developers best practices_tutorialDevelopers best practices_tutorial
Developers best practices_tutorial
 
Developers best practices_tutorial
Developers best practices_tutorialDevelopers best practices_tutorial
Developers best practices_tutorial
 
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...
Seo customer hot tricks and tips 2012 Q4 - SEO, SEM, Social Media Traffic and...
 
Digital marketing blogs basics1_participants_workshop excersices
Digital marketing  blogs   basics1_participants_workshop excersicesDigital marketing  blogs   basics1_participants_workshop excersices
Digital marketing blogs basics1_participants_workshop excersices
 
Smtb sample
Smtb sampleSmtb sample
Smtb sample
 
65 Interviewquestions
65 Interviewquestions65 Interviewquestions
65 Interviewquestions
 
65 Interviewquestions
65 Interviewquestions65 Interviewquestions
65 Interviewquestions
 
Ado.ne twith csharpinhindi
Ado.ne twith csharpinhindiAdo.ne twith csharpinhindi
Ado.ne twith csharpinhindi
 

046 sample interviewquestionbook(1)

  • 1. Visit www.questpond.com for more downloads This PDF has sample questions which is extracted from my two books .NET Interview questions and SQL Server interview questions. This PDF is only a small glimpse of the two books its much more that what you see in this PDF. I have ensured that both the books are really at a very cheap cost so that every one will be benefited. Any of my book do not exceed 200 INR. For more details mail at bpb@bol.net.in Second the books also have CD’ with them which you will not CD’s get with this sample PDF PDF....But still if you want to enjoy free who stops you.....Happy Job Hunting. How to buy the book BPB has done a great job of making this book reach to places where i can hardly imagine. But just incase its not near to your place mail bpb@bol.net.in. If you are from India you can contact one of the shops below:- MUMBAI-22078296/97/022-22070989 KOLKATA-22826518/19 HYDERABAD-24756967,24756400 BANGALORE-25587923,25584641 AHMEDABAD-26421611 1 BHATINA(PUNJAB)-2237387, CHENNAI-28410796,28550491 DELHI/NEW DELHI-23254990/91,23325760,26415092,24691288 Pakistan M/s. Vanguard Books P Ltd, 45 The Mall, Lahore, Pakistan (Tel: 0092-42-7235767, 7243783 and 7243779 and Fax: 7245097) E-mail: vbl@brain.net.pk If you are not from india or pakistan :- Ray McLennan, director,Motilal (UK) Books of India,367 High Street. London Colney, St.Albans, Hertfordshire,AL2 1EA, U.K. Tel. +44 (0)1727 761 677,Fax.+44 (0)1727 761 357,info@mlbduk.com,www.mlbduk.com www.questpond.com
  • 2. Want to buy from online :- .NET Interview Questions From Prakash books http://www.prakashbooks.com/details.php3?id=17875&c=Computer Books .prakashbooks.com/details.php3?id=17875&c=Computer If you want to buy from Amazon http://www.amazon.co.uk/exec/obidos/ASIN/8183330770/qid%3D1139594062/026-8105897- .amazon.co.uk/exec/obidos/ASIN/8183330770/qid%3D1 7667603 SQL Server Interview Questions From Prakash books http://www.prakashbooks.com/details.php3?id=19008&c=Computer Books .prakashbooks.com/details.php3?id=19008&c=Computer If you want to buy from Amazon http://www.amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1136610981/026-1344994- http://www.amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1 .amazon.co.uk/exec/obidos/ASIN/8183331033/qid%3D1 2263615#product-details If you want to purchase the book directly through BPB Publication's delhi , India :- bpb@bol.net or bpb@vsnl.com Books written by Shivprasad Koirala -- .NET Interview questions -- SQL Server Interview questions -- Java Interview questions -- How to prepare software quotation?.( This book is on estimation www.questpond.com as free download) you can get it from www -- C# Projects -- Software testing Interview questions -- Understanding Hackers Mind You can order any of my books from bpb@bol.net.in
  • 3. .NET Interview Questions Sample book (Including SQL Server,UML,Architecture,Pr Server,UML,Architecture,Project ASP Management , ASP.NET 2.0 , Sample pr project ,XML and General Interview Questions ) By:- Shivprasad koirala Mail:- shiv_koirala@yahoo.com Happy job hunting....................................... Do not forget that database is also important. Buy my SQL Server Interview questions to crack any database related questions.
  • 4. From the Author First thing thanks to all those who have sent me complaints and also appreciation for what ever titles i have written till today. But interview question series is very near to my heart as i can understand the pain of searching a job. Thanks to my publishers (BPB) , readers and reviewers to always excuse all my stupid things which i always do. So why is this PDF free ?. W i always wanted to distribute things for free specially when its a Well interview question book which can fetch a job for a developer. But i am also bounded with publish- ers rules and regulations. And why not they have a whole team of editor printing guys, designers, editor, distributors, shopkeepers and including me. But again the other aspect, readers should know of what they are buying , the quality and is it really useful to buy this book. So here are sample free ques- tions which i am giving out free to the readers to see the worth of the book. I can be contacted at shiv_koirala@yahoo.com its bit difficult to answer all answers but as i get time i do it. We have recently started a career counselling drive absolutely free for new comers and experienced guys. So i have enlisted the following guys on the panel. Thanks to all these guys to accept the panel job of consulting. Feel free to shoot them questions just put a title in the mail saying “Question about Career”. I have always turned up to them when i had some serious career decision to take. Shivprasad Koirala :- Not a great guy but as i have done the complete book i have to take up one of the positions. Y can contact me at shiv_koirala@yahoo.com for technical career aspect. You Tapan Das :- If you think you are aiming at becoming a project manager he is the right person to consult. He can answer all your questions regarding how to groom your career as a project manager tapand@vsnl.com. Kapil Siddharth :- If you are thinking to grow as architect in a company then he is a guy. When it comes to role model as architect i rate this guy at the top. Y can contact him at You kapilsiddharth@hotmail.com Second if you think you can help the developers mail me at shiv_koirala@yahoo.com and if i find you fitting in the panel i will display your mail address. Please note there are no financial rewards as such but i am sure you will be proud of the work you are doing and whos knows what can come up. Lets make Software Industry a better place to work ..... Happy Job Hunting and Best of Luck
  • 5. www.questpond.com Career Path Institute Author runs the “Software Career Path Institute” personally in mumbai. If you are interested you can contact him regarding admissions at shiv_koirala@yahoo.com. Please note i do not have cur- for rently any huge setup. So if you are looking for some cozy institute forget it. But yes you will defi- nitely get the in-depth knowledge which you will not get anywhere. So want to join my small institute then call me at 9892966515. Please note currently its only from mumbai people. ww w. qu est po nd .co m
  • 6. Contents How to buy the book ................................................................... 67 ow y ...................................................... ....................................... From the Author ............................................. rom ......................................................................... 70 ............................................................ Career Path Institute ..................................................... areer th .................................................................. 71 ...................... ...................................... Introduction................................................................................. 85 n..................................... ntroduction.................................................................... ion..................................................... Software Company hierarchy ........................................................................................ oftware any y ............................................................................................................. 89 ......................................... ................................................................. Resume Preparation Guidelines ..................................... esume ation on ............................................................. .................................................................................... ......................................................................................................... 91 Salary Negotiation ......................................................................................................... alary ion .............................................................................................................................. 93 ................................................................. n .................................................................................. .......................................................... Points to remember ................................................................................. oints ............................................................................................................................. 95 .................................................................. ber ......................................................... er ........................................................................................................ 1. Basic .NET Framework .......................................................... 98 . ET T ............................................. .............................. ...................... .............. What is a IL? ...................................................................................................................................... 98 hat ................................................................................................................. ........................................................................................ ............................................................ ................................................................. Twist :- What is MSIL or CIL , What is JIT? ............................ wist ................................................................ ......................................... ..................................................................................... 98 What is a CLR? .................................................................................................................................. 98 ................................................................. What is a CTS? ................................................................................................................................... 98 ................................................................. What is a CLS(Common Language Specification)?........................................................................... 99 What is a Managed Code? .................................................................................................................. 99 What is a Assembly? .......................................................................................................................... 99 What are the different types of Assembly? ...................................................................................... 100 What is NameSpace? ....................................................................................................................... 100 What is Difference between NameSpace and Assembly? ............................................................... 100 If you want to view a Assembly how do you go about it ? .............................................................. 100 Twist : What is ILDASM ? ................................................................................................................ 100 What is Manifest? ............................................................................................................................ 102 Where is version information stored of an assembly ?..................................................................... 103 Is versioning applicable to private assemblies? ............................................................................... 103 What is GAC ? ................................................................................................................................. 103 Twist :- What are situations when you register .NET assembly in GAC ? ....................................... 103 What is the concept of strong names ? ............................................................................................ 103 Twist :- How do we generate strong names or what is the process of generating strong names, What is use the of SN.EXE , How do we apply strong names to assembly, How do you sign an assem- bly? ............................................................................................................................................. 103 How to add and remove an assembly from GAC? ........................................................................... 107 What is Delay signing ? ................................................................................................................... 108 What is garbage collection? .............................................................................................................. 109 Can we force garbage collector to run ? .......................................................................................... 109 What is reflection? ............................................................................................................................ 109 What are different types of JIT ? ..................................................................................................... 110 What are Value types and Reference types ? ................................................................................... 111 What is concept of Boxing and Unboxing ? .................................................................................... 111 What is the difference between VB.NET and C# ? ......................................................................... 112 What is the difference between System exceptions and Application exceptions? ........................... 113 What is CODE Access security? ...................................................................................................... 113 What is a satellite assembly? ............................................................................................................ 114
  • 7. How to prevent my .NET DLL to be decompiled?........................................................................... 114 What is the difference between Convert.toString and .toString() method ? ................................... 114 What is Native Image Generator (Ngen.exe)? .................................................... ..................................................... ................................................................................. 115 ................................................... ............................................. We have two version of the same assembly in GAC? I want my client to mak choice of which make ................................................................................................................... 116 .............................................................................. ..................................................................................... ....................................................................................... ...................................................................................... assembly to choose? ............................................................................... hat ........................................................................................................................... 124 ...................................................................................... ............................................................................................. ............................................................................................... What is CodeDom? ....................................................................................... 2..NET Interoperability ........................................... ..NET ............................................ ............................................................ 128 ................................. .......................................... ...................................... How can we use COM Components in .NET? ................................................. .................................................. .............................................................................. 128 ................................. ......................................... ................................................ .......................................... Twist : What is RCW ? .......................................................................................... wist ...................................................................................................................... 128 .......................................................................... ................................................................................. ........................................................................................ .................................................................................. Once I have developed the COM wrapper do I have to still register the COM i registry? ........... 129 t C in .................................................................................. 129 How can we use .NET components in COM? ..................................................... ow ...................................................... ............................................. .................................................... .............................................. Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be ta wist tak in order that .NET taken ...................................................................................... 129 components is compatible with COM ? ......................................................... .......................................................... ................................................. ........................................................ .................................................. ............................................................................. 132 How can we make Windows API calls in .NET? ................................................. ow ........................................ ............................................... When we use windows API in .NET is it managed or unmanaged code ? .......... hen ....................................... 134 ........... .. ......... ................................................................................................................................. 134 What is COM ? ..................................................................................................... hat ............................................................................................ ................................................................................................... ............................................................................................ 134 What is Reference counting in COM ? ............................................................... ................................................................ ....................................................... .............................................................. ou .......................................................................... 134 ............................................. ........ Can you describe IUKNOWN interface in short ? .............................................. ..................................... ............................................ an u .................................................................................................... 135 ....................................................................... ................................. Can you explain what is DCOM ? ........................................................................ ............................................................... ...................................................................... o ....................................................................................... 136 .......................................................... ..................... How do we create DCOM object in VB6? ......................................................... .................................................. ................................................................................................... 136 How to implement DTC in .NET ? ................................ ...................................................................... .............................................................. ..................................................................... How many types of Transactions are there in COM + . any ?........................................................ 138 ?........................... .NET ?.......................... ?................... ......................................................................................... 139 How do you do object pooling in .NET ? ....................... o ............................................................ .................................................... ......................................................................................... 140 What are types of compatibility in VB6? ....................... re .................................................... What is equivalent for regsvr32 exe in .NET ? .............. s ................................................................................ 141 ........................................... 3. Threading ........................................................ hreading .................................... reading .............................................................................. 142 .................................................. What is Multi-tasking ? ............................................................................... s .................................................................................................................... 142 ................................................................................... ....................................................................... .................................................. What is Multi-threading ? ............................................................................ s ................................................................................ ................................................................... ............................................... ................................................................................................................. 142 What is a Thread ? ....................................................................................... s ............................................................................................................................ 142 ........................................................................................... .............................................................................. ......................................................... .................................................................................................. 142 Did VB6 support multi-threading ? ............................................................. B6 6 ................................................................. ..................................................... ............................... ........................................................................ 142 Can we have multiple threads in one App domain ? .......................... e ..... ....................................... ................................... .................................................................................................... 142 Which namespace has threading ? ...................................................... .................................. ................................................................... Can you explain in brief how can we implement threading ? ......................... .......................................................... 142 How can we change priority and what the levels of priority are provided by . .NET ? ..................... 143 What does AddressOf operator do in background ? ......................................................................... 144 How can you reference current thread of the method ? .................................................................... 144 What's Thread.Sleep() in threading ? .............................................................................................. 144 How can we make a thread sleep for infinite period ? ..................................................................... 144 What is Suspend and Resume in Threading ? ................................................................................. 144 What the way to stop a long running thread ? .................................................................................. 145 How do I debug thread ? ................................................................................................................. 145 What is Thread.Join() in threading ? ................................................................................................ 146 What are Daemon threads and how can a thread be created as Daemon? ....................................... 146 When working with shared data in threading how do you implement synchronization ? .............. 146 Can we use events with threading ? ................................................................................................. 147 How can we know a state of a thread? ............................................................................................. 147
  • 8. What is a monitor object? ................................................................................................................ 147 What are wait handles ? ................................................................................................................... 148 ndles ............................................ Twist :- What is a mutex object ? ...................................................... hat ...................................................................................................... 148 ............................... What is ManualResetEvent and AutoResetEvent ? ....................................................................... 148 anualResetEvent esetEvent ....................... eaderWriter What is ReaderWriter Locks ? ......................................................................................................... 148 riter ......................................................... .................................. How can you avoid deadlock in threading? .................................... id .................................................................................... 149 ............. What is the difference between thread and process? ....................... he ence ....................................................................... 149 4. Remoting and Webservices .................... oting .................................................. 150 What is an application domain? ....................................................................................................... 150 t n .................................................................................. ...................................................... What is .NET Remoting ? ................................................................ at NET ............................................................................................ ................................................................................................................ 150 Which class does the remote object has to inherit ? ........................................................................ 151 ich ass ........................ ................................................... What are two different types of remote object creati mode in .N ? ................... at erent creation .NET ........................................ 151 Describe in detail Basic of SAO architecture of Remoting? ........... cribe l Rem ........................................................... 151 ....................................... What are the situations you will use singleton architecture in remoting ? ..................................... 156 at ations archit rem ................ What is fundamental of published or precreated objects in Remoting ? ......................................... 156 at ntal undamental obje Remoti ................ .................... What are the ways in which client can create object on server in CAO model ? ............................ 156 at s ... ....... ........................................................................................................... 157 Are CAO stateful in nature ? .................................................................................. ..................................... ...................................................................................... In CAO model when we want client objects to be created by “NEW” keyword is there any precau- AO hen cr th en ....................................................................................................................... 157 tions to be taken ? .............................................................................................. ions ................................................. .................................................................................................. Is it a good design practice to distribute the implementation to Remoting Client ? ....................... 158 t n impleme .. What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerP at ime, RenewonC LeaseManagerPollTime? .......... 158 LeaseManagerPoll Which config file has all the supported channels/protocol ? .................................. ich channels/pro ........................................................... 159 ....................................... How can you specify remoting parameters using Config files ? ............................ ..................................................... 160 ................................ Can Non-Default constructors be used with Single Call SAO? ............................. ...................................................... 162 .................................. Twist :- What are the limitation of constructors for Single call SAO ? .................. wist t ........................................... 162 ....................... How can we call methods in remoting Asynchronously ? ......................................... .............................................................. 163 ..................................... What is Asynchronous One-Way Calls ? ......................................................................................... 163 at ................................................................ .................................................................... What is marshalling and what are different kinds of marshalling ? ................................................ 163 at ....................... ............................ What is ObjRef object in remoting ? ............................................................................................... 164 at ...................................................................... .......................................................................... What is a Web Service ? .................................................................................................................. 164 ......................................................................................... What is UDDI ? ............................................................................................................................... 165 ...................................................................................................... What is DISCO ? ............................................................................................................................. 165 .................................................................................................... What is WSDL? ...................................................................................................... ............................................................................................................................... 165 What the different phase/steps of acquiring a proxy object in Webservice ? .................................. 165 Following are the different steps needed to get a proxy object of a webservice at the client side :- 165 What is file extension of Webservices ? .......................................................................................... 166 Which attribute is used in order that the method can be used as WebService ? ............................... 167 What are the steps to create a webservice and consume it ? ........................................................... 167 Do webservice have state ?.............................................................................................................. 176 5. Caching Concepts ................................................................. 178 What is an application object ? ....................................................................................................... 178 What’s the difference between Cache object and application object ? ............................................ 178 How can get access to cache object ? ............................................................................................... 178 What are dependencies in cache and types of dependencies ? ......................................................... 178 Can you show a simple code showing file dependency in cache ? .................................................. 179 What is Cache Callback in Cache ? ................................................................................................. 179
  • 9. What is scavenging ? ....................................................................................................................... 180 What are different types of caching using cache object of ASP.NET? ............................................ 180 How can you cache different version of same page using ASP.NET cache object ? ...................... 180 ob o How will implement Page Fragment Caching ? .................................................... .............................................................................. 181 ............................................... ............................................ What are ASP.NET session and compare ASP.NET session with classic ASP s AS A session variables? 181 ...................................................................... 181 ................................. Which various modes of storing ASP.NET session ? ............................................ ....................................... .................................... .................................................................. 182 ............................. ...................... Is Session_End event supported in all session modes ? ........................................ ................................... ................................ What are the precautions you will take in order that StateServer Mode wor properly ? .............. 182 Mod work pro w What are the precautions you will take in order that SQLSERVER Mode w M work p wo properly ? .......... 182 ................................................................ 183 ........................... .................... Where do you specify session state mode in ASP.NET ? .............................. ................................. ...................................... ........................................................................... 183 ...................................... ................................ What are the other ways you can maintain state ? ................................................. ............................................ ......................................... ............................................................. 183 ........................ .................. What are benefits and Limitation of using Hidden fields ? ........................... .............................. ................................... ......................................................................................................................... 184 .................................................................................... ............................................................................. What is ViewState ? ............................................................................................... .......................................................................................... ....................................................................................... Does the performance for viewstate vary according to User controls ? ................ ......................................... 184 .... .......... ....... What are benefits and Limitation of using Viewstate for state management . management? ................................ 184 manageme manag ...... .......................................... .................................................................. 185 ............................. ....................... How can you use Hidden frames to cache client data ? ......................................... ................................... ................................ ............................................................ 185 ..................................... ....................... ................. What are benefits and limitations of using Hidden frames? .......................... ............................. ................................... ...................................................................... 186 .............................................. ................................. ........................... What are benefits and limitations of using Cookies? .................................... ....................................... ............................................ What is Query String and What are benefits and limitations of using Query Strin Strings? String ................... 186 S 6. OOPS ...................................................................... . ....................................................................... .......................................................... ..................................................................................... 200 .................................................................. ................................................................. What is Object Oriented Programming ? ...................................................... ........................................................................................ 200 ......................................................... ................................................................ ............................................ .............................................................. What’s a Class ? ...................................................................................................... ........................................................................................................ .................................................................................... ............................................................................................................................... 200 ................................................................................................ ............................................................................................. ........................................................................................................................... 200 What’s an Object ? ............................................................................................ ................................................................................................... ............................................................................... What is the relation between Classes and Objects ? ........................................................................ 200 ............................. What are different properties provided by Object-oriented systems ? . ............................................ 200 Twist :- Can you explain different properties of Object Oriented Systems? .................................... 200 wist Syste Note:- Difference between abstraction and encapsulation is one of th favorite interview question ote:- the and quiet confusing as both the terminology look alike. Best is if y can brainstorm with your you friends or do a little reading. ...................................................................................................... 200 Twist :- What is difference between Association, Aggregation and Inheritance relationships? ...... 201 How can we acheive inheritance in VB.NET ? ............................................................................... 202 What are abstract classes ? .............................................................................................................. 203 What is a Interface ? ........................................................................................................................ 205 What is difference between abstract classes and interfaces? ........................................................... 207 What is a delegate ? ......................................................................................................................... 207 What are events ? ............................................................................................................................. 208 Do events have return type ? ........................................................................................................... 210 Can event’s have access modifiers ? ............................................................................................... 210 Can we have shared events ? ........................................................................................................... 210 What is shadowing ? ........................................................................................................................ 210 What is the difference between Shadowing and Overriding ? ....................................................... 211 What is the difference between delegate and events? ..................................................................... 211 If we inherit a class do the private variables also get inherited ? .................................................... 212 What are the different accessibility levels defined in .NET ? ......................................................... 212 Can you prevent a class from overriding ? ...................................................................................... 212 What is the use of “MustInherit” keyword in VB.NET ? ................................................................ 212 Do interface have accessibility modifier? ....................................................................................... 213
  • 10. What are similarities between Class and structure ? ....................................................................... 213 What is the difference between Class and structure’s ?................................................................... 213 t ?....................................... What does virtual keyword mean ? ..................................................................... att s ................................................................. ...................................................... ............................................................... ......................................................... ................................................................................................. 213 What are shared (VB.NET)/Static(C#) variables? ....................................................... att .......................................................................... 213 .......................................... ............................... ........................................ .................................. .............................................. What is Dispose method in .NET ? .............................................................................. att ispose ................................................................. ..................................................... ............................................................... ........................................................ ................................................................................................. 215 ..................................................................... What is the use of “OverRides” and “Overridable” keywords ? ......................... att e ..................................................... 215 .................................. ..................... .......... ................... ............. Where are all .NET Collection classes located ? ......................................................... ere re ............................................................................ 215 ............................................ ................................. .......................................... .................................... ................................................ ....................................................................................... What is ArrayList ? .............................................................................................. att .......................................................................................................................... 216 rrayList ....................................................................................................... .......................................................................................... .............................................................................. ........................................................................................ ................................................................................. What’s a HashTable ? .......................................................................................... at’s t’s ...................................................................................................................... 216 ................................................................................................... ...................................................................................... ........................................................................... .................................................................................... .............................................................................. Twist :- What’s difference between HashTable and ArrayList ? ........................... wist t hat’s .................... ....................................................... 216 ....................... ............ ..................... ............... .................................... ....................................................................... What are queues and stacks ? ....................................................................................... att .......................................................................................................... 216 .......................................................................... .............................................................. ........................................................................ ................................................................. .............................................................................. ............................................................................................................................. 216 What is ENUM ? ................................................................................................. att NUM .................................................................................. ............................................................................................. ........................................................................................... ..................................................................................... .......................................................................................................... ............................................................................... What is nested Classes ? ............................................................................................... att ested .................................................................................................................. 216 .................................................................................. ...................................................................... ................................................................................ ......................................................................... ...................................................................................... .......................................................................................... 217 What is Operator Overloading in .NET? .................................................. hat t perator ........................................................ ....................................................................... .......................................................... ............................................... In below sample code if we create a object of class2 which constructor wil fire first ? ................ 217 elow construct will ..................................................................... 217 What is the significance of Finalize method in .NET? ............................. hat t e ................................... .................................................. ..................................... .......................... ........................................................................ 218 ..................................... ..................................................... Why is it preferred to not use finalize for clean up? ................................ referred ...................................... ........................................ ......................................................................................... 219 ...................................................... How can we suppress a finalize method? ...................................................................... ......................................................... What is the use of DISPOSE method? .......................................................... t e ............................................................................................. 219 ........................................................... .......................................................................... ............................................................. How do I force the Dispose method to be called automatically, as clients can forget t call Dispose e c ca to ethod? ...................................................................................................................................... 220 ................................................................................................ ................................................................................................... method? ................................................................................................................... ...................................................................................................... ....................................................... 220 .................... ..................... In what instances you will declare a constructor to be private? .................................... hat ces ....................... Can we have different access modifiers on get/set methods of a property ? . ifferent .................................... 221 ................. .... If we write a goto or a return statement in try and catch block will the finally block execute ? .... 221 oto fina What is Indexer ? .............................................................................................................................. 221 er .......................................................................................... Can we have static indexer in C# ? .............................................................. e tatic .................................................................... .................................................................................................. 221 In a program there are multiple catch blocks so can it happen that two catch bl ogram here catc blocks are executed ? 221 1 What is the difference between System.String and System.StringBuilder c ifference class ........................ 221 classes? 7. ASP.NET ................................................................................ 222 SP.NET .............................................................. ET .......................................................... What’ is the sequence in which ASP.NET events are processed ? ......... ’ equence quence ............... .................................................. 222 ..................... In which event are the controls fully loaded ? ................................................... ich t ................................................................................. 222 ........................................ ............................................. How can we identify that the Page is PostBack ? ............................................. entify ........................................................................... 222 ................................. How does ASP.NET maintain state in between subsequent request ? .... .NET ............................................. 222 What is event bubbling ? ................................................................................................................. 222 ........................................................................ How do we assign page specific attributes ? ................................................................................... 223 Administrator wants to make a security check that no one has tampered with ViewState, how can he ensure this ? ................................................................................................................................ 223 What is the use of @ Register directives ? ...................................................................................... 223 What’s the use of SmartNavigation property ? ................................................................................ 223 What is AppSetting Section in “Web.Config” file ? ........................................................................ 223 Where is ViewState information stored ? ........................................................................................ 223 What is the use of @ OutputCache directive in ASP.NET? ........................................................... 224 How can we create custom controls in ASP.NET ? ......................................................................... 224 How many types of validation controls are provided by ASP.NET ?.............................................. 224 Can you explain what is “AutoPostBack” feature in ASP.NET ? ................................................... 225 How can you enable automatic paging in DataGrid ? ..................................................................... 225
  • 11. What’s the use of “GLOBAL.ASAX” file ? .................................................................................... 225 What is the difference between “Web.config” and “Machine.Config” ? ........................................ 225 What is a SESSION and APPLICATION object ? ............................... .......................................................................... 226 .............................................. What is the difference between Server.Transfer and response.Redirec ? ........... response.Redirect ....................................... 226 What is the difference between Authentication and authorization? ...... ..................... ................................................. 226 .............................................................................................. 227 ............................................................ What is impersonation in ASP.NET ? ................................................... .................................................................. Can you explain in brief how the ASP.NET authentication process w ................................... 227 . works? ....... What are the various ways of authentication techniques in ASP.NET? .............. .......................................... 228 .......... ........ .................................................................................... 230 ................................................... .................................................. How does authorization work in ASP.NET? ......................................... ....................................................... What’s difference between Datagrid, Datalist and repeater ? ............... .......................... .......................................................... 231 ........................ .............................. ....................................................................... 232 ..................................... ...................................... .................................... From performance point of view how do they rate ? ........................... .......................................... What is the method to customize columns in DataGrid? ..................... ................................................................. 232 ............................... ................................ .............................. .................................... ....................................................................................... 232 ..................................................... ...................................................... .................................................... How can we format data inside DataGrid? ........................................... .......................................................... How to decide on the design consideration to take a Datagrid, datali or r datalist re repeater ? .................... 232 ......................................................................................... 232 ........................................................ ......................................................... ....................................................... Difference between ASP and ASP.NET? .............................................. ........................................................................... 234 ................................................ .......................................... ........................................... ......................................... What are major events in GLOBAL.ASAX file ? ................................ ....................................................................................................... 235 ............................................................................ ...................................................................... ....................................................................... ..................................................................... What order they are triggered ? ............................................................ ................................................................................................................. 236 ...................................................................................... ................................................................................ ................................................................................. Do session use cookies ? ...................................................................... ....................................................................... 236 ............................................ ...................................... ....................................... How can we force all the validation control to run ? ............................ How can we check if all the validation control are valid and proper ? . ............................................ 236 ................. ........... ............ If client side validation is enabled in your Web page, does that mean server sid code is not run? 236 side Which JavaScript file is referenced for validating the validators at the client sid ?....................... 236 side ................................................................................ 237 ..................................................... ............................................... ................................................ How to disable client side script in validators? ..................................... How can I show the entire validation error message in a message box on the cli side? ............. 237 client You find that one of your validation is very complicated and does not fit in a of the validators, any ...................................................................................................................... 237 ........................................................................................... ..................................................................................... what will you do ? ...................................................................................... ......................................................................................................... 238 .............................................................................. ........................................................................ What is Tracing in ASP.NET ? ......................................................................... ............................................................................................................ 238 ................................................................................. ........................................................................... How do we enable tracing ? ............................................................................ What exactly happens when ASPX page is requested from Browser? ............ ............................................ 238 ................. ........... ...................................................................................................... 242 ........................................................................... How can we kill a user session ? ..................................................................... .......................................................................................... 243 ............................................................... How do you upload a file in ASP.NET ? ........................................................ .............................................................................. 243 How do I send email message from ASP.NET ? ................................................... ............................................................................................ 243 What are different IIS isolation levels? ................................................................. ASP used STA threading model, what is the threading model used for ASP.NET ? ........................ 245 What is the use of <%@ page aspcompat=true %> attribute ? ...................................................... 245 Explain the differences between Server-side and Client-side code? ................................................ 246 Can you explain Forms authentication in detail ? ............................................................................ 246 How do I sign out in forms authentication ? .................................................................................... 248 If cookies are not enabled at browser end does form Authentication work? ................................... 248 How to use a checkbox in a datagrid? .............................................................................................. 248 What are the steps to create a windows service in VB.NET ? ......................................................... 249 What is the difference between “Web farms” and “Web garden”? ................................................. 250 How do we configure “WebGarden”? ............................................................................................. 253 What is the main difference between Gridlayout and FlowLayout ? ............................................... 256 8..NET Architecture .................................................................. 257 What are design patterns ? ............................................................................................................... 257 What is the difference between Factory and Abstract Factory Patterns? ......................................... 258