Tuesday, April 01, 2008

.NET Interview questions and Answers: 14


  1. What is Unicode and why was it introduced?
  2. Does .NET support UNICODE and how do you know it supports?
  3. What’s the difference between localization and globalization?
  4. What architecture decisions you should consider while planning for international software’s?
  5. How do we get the current culture of the environment in windows and ASP.NET?
  6. Which are the important namespaces during localization and globalization?
  7. What are resource files and how do we generate resource files?
  8. Can resource file be in any other format other than resx extensions?
  9. How is resource files actually used in project?
  10. How can we use Culture Auto in project?
  11. What are satellite assemblies?
  12. How do we generate Satellite assemblies?
  13. What is AL.EXE and RESGEN.EXE?
  14. What’s the use of resource manager class?
  15. What precautions do we need to take while deploying satellite assemblies?
  16. Can we get a strongly typed resource class rather than using resource manager?
  17. Explain fundamentals of “GetGlobalResourceObject” and “GetLocalResourceObject” functions?
  18. Can we sign a satellite assembly?
  19. Can you explain collation sequence in sql server?
  20. How do we define collation sequence for database and tables?
  21. Can we change the order in a select query with a specified collation sequence?
  22. What are the best practices to be followed while implementing globalization and localization?
  23. Why is the culture set to the current thread?

.NET Interview questions and Answers: 13


  1. What is XML?
  2. What is the version information in XML?
  3. What is ROOT element in XML?
  4. If XML does not have closing tag will it work?
  5. Is XML case sensitive?
  6. What’s the difference between XML and HTML?
  7. Is XML meant to replace HTML?
  8. Can you explain why your project needed XML?
  9. What is DTD (Document Type definition)?
  10. What is well formed XML?
  11. What is a valid XML?
  12. What is CDATA section in XML?
  13. What is CSS?
  14. What is XSL?
  15. What is Element and attributes in XML?
  16. Which are the namespaces in .NET used for XML?
  17. What are the standard ways of parsing XML document?
  18. In What scenarios will you use a DOM parser and SAX parser?
  19. How was XML handled during COM times?
  20. What’s the main difference between MSML and .NET Framework XML classes?
  21. What are the core functionalities in XML .NET framework? Can you explain in detail
  22. those functionalities?
  23. What is XSLT?
  24. Define XPATH?
  25. What’s the concept of XPOINTER?
  26. What is an XMLReader Class?
  27. What is XMLTextReader?
  28. How do we access attributes using “XmlReader”?
  29. Explain simple Walk through of XmlReader ?
  30. What does XmlValidatingReader class do?

.NET Interview questions and Answers: 12

Project Management

  1. What is project management?
  2. Is spending in IT project’s constant through out the project?
  3. Who is a stakeholder ?
  4. Can you explain project life cycle ?
  5. Twist :- How many phases are there in software project ?
  6. Are risk constant through out the project ?
  7. Can you explain different software development life cycles ?
  8. What is triple constraint triangle in project management ?
  9. What is a project baselines ?
  10. What is effort variance?
  11. How is normally a project management plan document organized ?
  12. How do you estimate a project?
  13. What is CAR (Causal Analysis and Resolution)?
  14. What is DAR (Decision Analysis and Resolution)?
  15. What is a fish bone diagram ?
  16. Twist:- What is Ishikawa diagram ?
  17. What is pareto principle ?
  18. Twist :- What is 80/20 principle ?
  19. How do you handle change request?
  20. What is internal change request?
  21. What is difference between SITP and UTP in testing ?
  22. What are the software you have used for project management?
  23. What are the metrics followed in project management?
  24. Twist: - What metrics will you look at in order to see the project is moving successfully?
  25. You have people in your team who do not meet there deadlines or do not perform what are the actions you will take ?
  26. Twist :- Two of your resources have conflict’s between them how would you sort it out ?
  27. What is black box testing and White box testing?
  28. What’s the difference between Unit Testing, Assembly Testing and Regression testing?
  29. What is V model in testing?
  30. How do you start a project?
  31. How did you do resource allocations?
  32. How do you do code reviews ?
  33. What is CMMI?
  34. What are the five levels in CMMI?
  35. What is continuous and staged representation?
  36. Can you explain the process areas?
  37. What is SIX sigma?
  38. What is DMAIC and DMADV ?
  39. What are the various roles in Six Sigma implementation?
  40. What are function points?
  41. Twist: - Define Elementary process in FPA?
  42. What are different types of elementary process in FPA?
  43. What are the different elements in Functions points?
  44. Can you explain in GSC and VAF in function points?
  45. What are unadjusted function points and how is it calculated?
  46. Can you explain steps in function points?
  47. What is the FP per day in your current company?
  48. Twist :- What is your company’s productivity factor ?
  49. Do you know Use Case points?
  51. What is SMC approach of estimation?
  52. How do you estimate maintenance project and change requests?

.NET Interview questions and Answers: 11


  1. What is UML?
  2. How many types of diagrams are there in UML ?
  3. Twist :- Explain in short all types of diagrams in UML ?
  4. What are advantages of using UML?
  5. Twist: - What is Modeling and why UML ?
  6. What’s the sequence of UML diagrams in project?
  7. Twist: - How did you implement UML in your project?
  8. Just a small Twist: - Do I need all UML diagrams in a project?
  9. Give a small brief explanation of all Elements in activity diagrams?
  10. Explain Different elements of a collaboration diagram ?
  11. Explain Component diagrams ?
  12. Explain all parts of a deployment diagram?
  13. Describe various components in sequence diagrams?
  14. What are the element in State Chart diagrams ?
  15. Describe different elements in Static Chart diagrams ?
  16. Explain different elements of a Use Case ?
  17. Twist: - What’s difference between Activity and sequence diagrams?(I leave this to the readers)

.NET Interview questions and Answers: 10


  1. What is normalization? What are different type of normalization?
  2. What is denormalization ?
  3. What is a candidate key ?
  4. What are different types of joins and whats the difference between them ?
  5. What are indexes and What is the difference between clustered and nonclustered indexes?
  6. How can you increase SQL performance ?
  7. What is the use of OLAP ?
  8. What's a measure in OLAP ?
  9. What are dimensions in OLAP ?
  10. What are levels in dimensions ?
  11. What are fact tables and dimension tables in OLAP ?
  12. Twist :- can you explain the star schema for OLAP ?
  13. What is DTS?
  14. What is fillfactor ?
  15. Twist :- When does plage split occurs ?
  16. What is RAID and how does it work ?
  17. What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
  18. What are the problems that can occur if you do not implement locking properly in SQL SERVER ?
  19. What are different transaction levels in SQL SERVER ?
  20. Twist :- what are different types of locks in SQL SERVER ?
  21. What are different locks in SQL SERVER ?
  22. Can we suggest locking hints to SQL SERVER ?
  23. What is LOCK escalation?
  24. What are the different ways of moving data/databases between servers and databases in SQL Server?
  25. What are advantages of SQL 2000 over SQl 7.0 ?
  26. What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
  27. What is difference between UNION and UNION ALL SQL syntax ?
  28. How can you raise custom errors from stored procedure ?
  29. What is ACID fundamental and what are transactions in SQL SERVER ?
  30. What is DBCC?
  31. What is purpose of Replication ?
  32. What are different type of replication supported by SQL SERVER ?
  33. What is BCP utility in SQL SERVER ?
  34. What are different types of triggers in SQl SERVER 2000 ?
  35. If we have multiple AFTER Triggers on table how can we define the sequence of the triggers ?
  36. What is SQl injection ?
  37. What’s the difference between Stored Procedure (SP) and User Defined Function (UDF)?

.NET Interview questions and Answers: 9


  1. What is the namespace in which .NET has the data functionality classes ?
  2. Can you give a overview of ADO.NET architecture ?
  3. What are the two fundamental objects in ADO.NET ?
  4. What is difference between dataset and datareader ?
  5. What are major difference between classic ADO and ADO.NET ?
  6. What is the use of connection object ?
  7. What is the use of command objects and what are the methods provided by the command object ?
  8. What is the use of dataadapter ?
  9. What are basic methods of Dataadapter ?
  10. What is Dataset object?
  11. What are the various objects in Dataset ?
  12. How can we connect to Microsoft Access , Foxpro , Oracle etc ?
  13. How do we connect to SQL SERVER , which namespace do we use ?
  14. How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
  15. How can we force the connection object to close after my datareader is closed ?
  16. I want to force the datareader to return only schema of the datastore rather than data ?
  17. How can we fine tune the command object when we are expecting a single row or a single value ?
  18. Which is the best place to store connectionstring in .NET projects ?
  19. What are steps involved to fill a dataset ?
  20. Twist :- How can we use dataadapter to fill a dataset ?
  21. What are the various methods provided by the dataset object to generate XML?
  22. How can we save all data from dataset ?
  23. How can we check that some changes have been made to dataset since it was loaded ?
  24. Twist :- How can we cancel all changes done in dataset ? , How do we get values which are changed in a dataset ?
  25. How can we add/remove row’s in “DataTable” object of “DataSet” ?
  26. What’s basic use of “DataView” ?
  27. What’s difference between “DataSet” and “DataReader” ?
  28. Twist :- Why is DataSet slower than DataReader ?
  29. How can we load multiple tables in a DataSet ?
  30. How can we add relation’s between table in a DataSet ?
  31. What’s the use of CommandBuilder ?
  32. What’s difference between “Optimistic” and “Pessimistic” locking ?
  33. How many way’s are there to implement locking in ADO.NET ?
  34. How can we perform transactions in .NET?
  35. What’s difference between Dataset. clone and Dataset. copy ?
  36. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
  37. Explain in detail the fundamental of connection pooling?
  38. What is Maximum Pool Size in ADO.NET Connection String?
  39. How to enable and disable connection pooling?

.NET Interview questions and Answers: 8

.NET Architecture

  1. What are design patterns ?
  2. What’s difference between Factory and Abstract Factory Pattern’s?
  3. What’s MVC pattern?
  4. Twist: - How can you implement MVC pattern in ASP.NET?
  5. How can we implement singleton pattern in .NET?
  6. How do you implement prototype pattern in .NET?
  7. Twist: - How to implement cloning in .NET ? , What is shallow copy and deep copy ?
  8. What are the situations you will use a Web Service and Remoting in projects?
  9. Can you give a practical implementation of FAƇADE patterns?
  10. How can we implement observer pattern in .NET?
  11. What is three tier architecture?
  12. Have you ever worked with Microsoft Application Blocks, if yes then which?
  13. What is Service Oriented architecture?
  14. What are different ways you can pass data between tiers?
  15. What is Windows DNA architecture?
  16. What is aspect oriented programming?

.NET Interview questions and Answers: 7

ASP.NET Interview questions and Answers

  1. What’s the sequence in which ASP.NET events are processed ?
  2. In which event are the controls fully loaded ?
  3. How can we identify that the Page is PostBack ?
  4. How does ASP.NET maintain state in between subsequent request ?
  5. What is event bubbling ?
  6. How do we assign page specific attributes ?
  7. Administrator wants to make a security check that no one has tampered with ViewState , how can he ensure this ?
  8. What’s the use of @ Register directives ?
  9. What’s the use of SmartNavigation property ?
  10. What is AppSetting Section in “Web.Config” file ?
  11. Where is ViewState information stored ?
  12. What’s the use of @ OutputCache directive in ASP.NET?
  13. How can we create custom controls in ASP.NET ?
  14. How many types of validation controls are provided by ASP.NET ?
  15. Can you explain what is “AutoPostBack” feature in ASP.NET ?
  16. How can you enable automatic paging in DataGrid ?
  17. What’s the use of “GLOBAL.ASAX” file ?
  18. What’s the difference between “Web.config” and “Machine.Config” ?
  19. What’s a SESSION and APPLICATION object ?
  20. What’s difference between Server.Transfer and response.Redirect ?
  21. What’s difference between Authentication and authorization?
  22. What is impersonation in ASP.NET ?
  23. Can you explain in brief how the ASP.NET authentication process works?
  24. What are the various ways of authentication techniques in ASP.NET?
  25. How does authorization work in ASP.NET?
  26. What’s difference between Datagrid , Datalist and repeater ?
  27. From performance point of view how do they rate ?
  28. What’s the method to customize columns in DataGrid?
  29. How can we format data inside DataGrid?
  30. How will decide the design consideration to take a Datagrid , datalist or repeater ?
  31. Difference between ASP and ASP.NET?
  32. What are major events in GLOBAL.ASAX file ?
  33. What order they are triggered ?
  34. Do session use cookies ?
  35. How can we force all the validation control to run ?
  36. How can we check if all the validation control are valid and proper ?
  37. If you have client side validation is enabled in your Web page , Does that mean server side code is not run?
  38. Which JavaScript file is referenced for validating the validators at the client side ?
  39. How to disable client side script in validators?
  40. I want to show the entire validation error message in a message box on the client side?
  41. You find that one of your validation is very complicated and does not fit in any of the validators , so what will you do ?
  42. What is Tracing in ASP.NET ?
  43. How do we enable tracing ?
  44. What exactly happens when ASPX page is requested from Browser?
  45. How can we kill a user session ?
  46. How do you upload a file in ASP.NET ?
  47. How do I send email message from ASP.NET ?
  48. What are different IIS isolation levels?
  49. ASP used STA threading model , whats the threading model used for ASP.NET ?
  50. Whats the use of <%@ page aspcompat=true %> attribute ?
  51. Explain the differences between Server-side and Client-side code?
  52. Can you explain Forms authentication in detail ?
  53. How do I sign out in forms authentication ?
  54. If cookies are not enabled at browser end does form Authentication work?
  55. How to use a checkbox in a datagrid?
  56. What are the steps to create a windows service in VB.NET ?
  57. What’s the difference between “Web farms” and “Web garden”?
  58. How do we configure “WebGarden”?
  59. What is the main difference between Gridlayout and FlowLayout ?

.NET Interview questions and Answers: 6


  1. What is Object Oriented Programming ?
  2. What’s a Class ?
  3. What’s a Object ?
  4. What’s the relation between Classes and Objects ?
  5. What are different properties provided by Object-oriented systems ?
  6. Twist :- Can you explain different properties of Object Oriented Systems?
  7. Twist :- What’s difference between Association , Aggregation and Inheritance relationships?
  8. How can we acheive inheritance in VB.NET ?
  9. What are abstract classes ?
  10. What’s a Interface ?
  11. What is difference between abstract classes and interfaces?
  12. What is a delegate ?
  13. What are event’s ?
  14. Do events have return type ?
  15. Can event’s have access modifiers ?
  16. Can we have shared events ?
  17. What is shadowing ?
  18. What’s difference between Shadowing and Overriding ?
  19. What’s difference between delegate and events?
  20. If we inherit a class do the private variables also get inherited ?
  21. What are different accessibility levels defined in .NET ?
  22. Can you prevent a class from overriding ?
  23. What’s the use of “MustInherit” keyword in VB.NET ?
  24. Why can not you specify accessibility modifier in Interface ?
  25. What are similarities between Class and structure ?
  26. What’s the difference between Class and structure’s ?
  27. What does virtual keyword mean ?
  28. What are shared (VB.NET)/Static(C#) variables?
  29. What is Dispose method in .NET ?
  30. Whats the use of “OverRides” and “Overridable” keywords ?
  31. Where are all .NET Collection classes located ?
  32. What is ArrayList ?
  33. What’s a HashTable ?
  34. Twist :- What’s difference between HashTable and ArrayList ?
  35. What are queues and stacks ?
  36. What is ENUM ?
  37. What is nested Classes ?
  38. What’s Operator Overloading in .NET?
  39. In below sample code if we create a object of class2 which constructor will fire first ?
  40. What’s the significance of Finalize method in .NET?
  41. Why is it preferred to not use finalize for clean up?
  42. How can we suppress a finalize method?
  43. What’s the use of DISPOSE method?
  44. How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method?
  45. In what instances you will declare a constructor to be private?
  46. Can we have different access modifiers on get/set methods of a property ?
  47. If we write a goto or a return statement in try and catch block will the finally block execute ?
  48. What is Indexer ?
  49. Can we have static indexer in C# ?
  50. In a program there are multiple catch blocks so can it happen that two catch blocks are executed ?
  51. What is the difference between System.String and System.StringBuilder classes?

.NET Interview questions and Answers: 5

Caching Concepts

  1. What is application object ?
  2. What’s the difference between Cache object and application object ?
  3. How can get access to cache object ?
  4. What are dependencies in cache and types of dependencies ?
  5. Can you show a simple code showing file dependency in cache ?
  6. What is Cache Callback in Cache ?
  7. What is scavenging ?
  8. What are different types of caching using cache object of ASP.NET?
  9. How can you cache different version of same page using ASP.NET cache object ?
  10. How will implement Page Fragment Caching ?
  11. What are ASP.NET session and compare ASP.NET session with classic ASP session variables?
  12. Which various modes of storing ASP.NET session ?
  13. Is Session_End event supported in all session modes ?
  14. What are the precautions you will take in order that StateServer Mode work properly ?
  15. What are the precautions you will take in order that SQLSERVER Mode work properly ?
  16. Where do you specify session state mode in ASP.NET ?
  17. What are the other ways you can maintain state ?
  18. What are benefits and Limitation of using Hidden fields ?
  19. What is ViewState ?
  20. Do performance vary for viewstate according to User controls ?
  21. What are benefits and Limitation of using Viewstate for state management?
  22. How an you use Hidden frames to cache client data ?
  23. What are benefits and Limitation of using Hidden frames?
  24. What are benefits and Limitation of using Cookies?
  25. What is Query String and What are benefits and Limitation of using Query Strings?

.NET Interview questions and Answers: 4

Remoting and Webservices

  1. What is a application domain?
  2. What is .NET Remoting ?
  3. Which class does the remote object has to inherit ?
  4. What are two different types of remote object creation mode in .NET ?
  5. Describe in detail Basic of SAO architecture of Remoting?
  6. What are the situations you will use singleton architecture in remoting ?
  7. What is fundamental of published or precreated objects in Remoting ?
  8. What are the ways client can create object on server in CAO model ?
  9. Are CAO stateful in nature ?
  10. In CAO model when we want client objects to be created by “NEW” keyword is there
  11. any precautions to be taken ?
  12. Is it a good design practice to distribute the implementation to Remoting Client ?
  13. What is LeaseTime,SponsorshipTime ,RenewonCallTime and LeaseManagerPollTime?
  14. Which config file has all the supported channels/protocol ?
  15. How can you specify remoting parameters using Config files ?
  16. Can Non-Default constructors be used with Single Call SAO?
  17. Twist :- What are the limitation of constructors for Single call SAO ?
  18. How can we call methods in remoting Asynchronously ?
  19. What is Asynchronous One-Way Calls ?
  20. What is marshalling and what are different kinds of marshalling ?
  21. What is ObjRef object in remoting ?
  22. What is a WebService ?
  23. What is UDDI ?
  24. What is DISCO ?
  25. What is WSDL?
  26. What the different phase/steps of acquiring a proxy object in Webservice ?
  27. What is file extension of Webservices ?
  28. Which attribute is used in order that the method can be used as WebService?
  29. What are the steps to create a webservice and consume it ?
  30. Do webservice have state ?

.NET Interview questions and Answers: 3


  1. What is Multi-tasking ?
  2. What is Multi-threading ?
  3. What is a Thread ?
  4. Did VB6 support multi-threading ?
  5. Can we have multiple threads in one App domain ?
  6. Which namespace has threading ?
  7. Can you explain in brief how can we implement threading ?
  8. How can we change priority and what the levels of priority are provided by .NET ?
  9. What does Addressof operator do in background ?
  10. How can you reference current thread of the method ?
  11. What's Thread.Sleep() in threading ?
  12. How can we make a thread sleep for infinite period ?
  13. What is Suspend and Resume in Threading ?
  14. What the way to stop a long running thread ?
  15. How do i debug thread ?
  16. What's Thread.Join() in threading ?
  17. What are Daemon thread's and how can a thread be created as Daemon?
  18. When working with shared data in threading how do you implement synchronization ?
  19. Can we use events with threading ?
  20. How can we know a state of a thread?
  21. What is a monitor object?
  22. What are wait handles ?
  23. Twist :- What is a mutex object ?
  24. what is ManualResetEvent and AutoResetEvent ?
  25. What is ReaderWriter Locks ?
  26. How can you avoid deadlock in threading ?
  27. What’s difference between thread and process?

.NET Interview questions and Answers: 2

.NET Interoperability
.NET Interoperability

  1. How can we use COM Components in .NET?
  2. Twist : What is RCW ?
  3. Once i have developed the COM wrapper do i have to still register the COM in registry?
  4. How can we use .NET components in COM?
  5. Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order that .NET components is compatible with COM ?
  6. How can we make Windows API calls in .NET?
  7. When we use windows API in .NET is it managed or unmanaged code ?
  8. What is COM ?
  9. What is Reference counting in COM ?
  10. Can you describe IUKNOWN interface in short ?
  11. Can you explain what is DCOM ?
  12. How do we create DCOM object in VB6?
  13. How to implement DTC in .NET ?
  14. How many types of Transactions are there in COM + .NET ?
  15. How do you do object pooling in .NET ?
  16. What are types of compatibility in VB6?
  17. What is equivalent for regsvr32 exe in .NET ?

.NET Interview questions and Answers: 1

.NET Interview questions :- Basic .NET Framework

  1. What is a IL?

Twist :- What is MSIL or CIL , What is JIT?

  1. What is a CLR?
  2. What is a CTS?
  3. What is a CLS(Common Language Specification)?
  4. What is a Managed Code?
  5. What is a Assembly ?
  6. What are different types of Assembly?
  7. What is NameSpace?
  8. What is Difference between NameSpace and Assembly?
  9. If you want to view a Assembly how to you go about it ?
  10. Twist : What is ILDASM ?
  11. What is Manifest?
  12. Where is version information stored of a assembly ?
  13. Is versioning applicable to private assemblies?
  14. What is GAC ?
  15. Twist :- What are situations when you register .NET assembly in GAC ?
  16. What is concept of strong names ?
  17. Twist :- How do we generate strong names or what is the process of generating strong names , What is use of SN.EXE , How do we apply strong names to assembly ? , How do you sign an assembly ?
  18. How to add and remove a assembly from GAC?
  19. What is Delay signing ?
  20. What is garbage collection?
  21. Can we force garbage collector to run ?
  22. What is reflection?
  23. What are different type of JIT ?
  24. What are Value types and Reference types ?
  25. What is concept of Boxing and Unboxing ?
  26. What’s difference between VB.NET and C# ?
  27. What’s difference between System exceptions and Application exceptions?
  28. What is CODE Access security?
  29. What is a satellite assembly?
  30. How to prevent my .NET DLL to be decompiled?
  31. What’s the difference between Convert.toString and .toString() method ?
  32. What is Native Image Generator (Ngen.exe)?
  33. We have two version of the same assembly in GAC? I want my client to make choice of
  34. which assembly to choose?
  35. What is CodeDom?