Monday, February 25, 2008

.NET 4th edition question snapshot

Ok , i was not away just busy with one other launch. Launching my 4th edition on mid of april. Here are the questions. But please do not ask when it can be launched as it completely depends on Bpb. Added extra question for Ajax, reporting services, 3.5 , 2.0 and lot more....
Basic .NET Framework
What is an IL?
What is a CLR?
What is CTS?
What is a CLS (Common Language Specification)?
What is a Managed Code?
What is a Assembly?
What are the different types of Assembly?
What is NameSpace?
What is Difference between NameSpace and Assembly?
If you want to view an Assembly how do you go about it?
What is Manifest?
Where is version information stored of an assembly?
Is versioning applicable to private assemblies?
What is GAC?
what is the concept of strong names?
How to add and remove an assembly from GAC?
What is Delay signing?
What is garbage collection?
Can we force garbage collector to run?
What is reflection?
What are different types of JIT?
What are Value types and Reference types?
What is concept of Boxing and Unboxing ?
What is the difference between VB.NET and C#?
what is the difference between System exceptions and Application exceptions?
What is CODE Access security?
What is a satellite assembly?
How to prevent my .NET DLL to be decompiled?
what is the difference between Convert.toString and .toString () method?
What is Native Image Generator (Ngen.exe)?
If we have two version of same assembly in GAC how do we make a choice?
What is CodeDom?

.NET Interoperability
How can we use COM Components in .NET?
We have developed the COM wrapper do we have to still register the COM?
How can we use .NET components in COM?
How can we make Windows API calls in .NET?
When we use windows API in .NET is it managed or unmanaged code?
What is COM?
What is Reference counting in COM?
Can you describe IUKNOWN interface in short?
Can you explain what DCOM is?
How do we create DCOM object in VB6?
How to implement DTC in .NET?
How many types of Transactions are there in COM + .NET?
How do you do object pooling in .NET?
What are types of compatibility in VB6?
What is equivalent for regsvr32 exe in .NET?

What is Multi-tasking?
What is Multi-threading?
What is a Thread?
Did VB6 support multi-threading?
Can we have multiple threads in one App domain?
Which namespace has threading?
What does Address Of operator do in background?
How can you reference current thread of the method?
what is Thread.Sleep () in threading?
How can we make a thread sleep for infinite period?
What is Suspend and Resume in Threading?
What the way to stop a long running thread?
How do I debug thread?
What is Thread.Join () in threading?
What are Daemon threads and how can a thread be created as Daemon?
How is shared data managed in threading?
Can we use events with threading?
How can we know a state of a thread?
What is use of Interlocked class ?
What is a monitor object?
What are wait handles?
What is ManualResetEvent and AutoResetEvent?
What is Reader Writer Locks?
How can you avoid deadlock in threading?
What is the difference between thread and process?

Remoting and Webservices
What is an application domain?
What is .NET Remoting?
Which class does the remote object has to inherit?
what are two different types of remote object creation mode in .NET ?
Describe in detail Basic of SAO architecture of Remoting?
What are the situations you will use singleton architecture in remoting?
What is fundamental of published or precreated objects in Remoting?
What are the ways in which client can create object on server in CAO model?
Are CAO stateful in nature?
To create objects in CAO with ‘new’ keyword what should be done?
Is it a good design practice to distribute the implementation to Remoting Client?
What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime?
Which config file has all the supported channels/protocol?
How can you specify remoting parameters using Config files?
Can Non-Default constructors be used with Single Call SAO?
How can we call methods in remoting asynchronously?
What is Asynchronous One-Way Calls?
What is marshalling and what are different kinds of marshalling?
What is ObjRef object in remoting?
What is a Web Service?
What is UDDI?
What is DISCO?
What is WSDL?
What the different phase/steps of acquiring a proxy object in Web service?
What the different phase/steps of acquiring a proxy object in Web service?
What is file extension of Web services?
Which attribute is used in order that the method can be used as WebService?
What are the steps to create a web service and consume it?
Do webservice have state?

Caching Concepts
What is an application object?
what is the difference between Cache object and application object?
How can get access to cache object?
What are dependencies in cache and types of dependencies?
Can you show a simple code showing file dependency in cache?
What is Cache Callback in Cache?
What is scavenging?
What are different types of caching using cache object of ASP.NET?
How can you cache different version of same page using ASP.NET cache object?
How will implement Page Fragment Caching?
Can you compare ASP.NET sessions with classic ASP?
Which are the various modes of storing ASP.NET session?
Is Session_End event supported in all session modes?
What are the steps to configure StateServer Mode?
What are the steps to configure SQLServer mode?
Where do you specify session state mode in ASP.NET?
What are the other ways you can maintain state?
What are benefits and Limitation of using Hidden fields?
What is ViewState?
Does the performance for viewstate vary according to User controls?
What are benefits and Limitation of using Viewstate for state management?
How can you use Hidden frames to cache client data ?
What are benefits and limitations of using Hidden frames?
What are benefits and limitations of using Cookies?
What is Query String and What are benefits and limitations of using Query Strings?
What is Absolute and Sliding expiration?
What is cross page posting?
How do we access viewstate value of this page in the next page ?
Can we post and access view state in another application?
What is SQL Cache Dependency in ASP.NET 2.0?
How do we enable SQL Cache Dependency in ASP.NET 2.0?
What is Post Cache substitution?
Why do we need methods to be static for Post Cache substitution?

What is Object Oriented Programming?
What is a Class?
What is an Object?
What is the relation between Classes and Objects?
What are different properties provided by Object-oriented systems?
How can we achieve inheritance in VB.NET?
what are abstract classes?
What is a Interface?
What is difference between abstract classes and interfaces?
What is a delegate?
What are Events?
Do events have return type?
Can events have access modifiers?
Can we have shared events?
what is shadowing?
What is the difference between Shadowing and Overriding?
what is the difference between delegate and events?
If we inherit a class do the private variables also get inherited?
What is the different accessibility levels defined in .NET?
Can you prevent a class from overriding?
what is the use of “Must inherit” keyword in VB.NET?
Do interface have accessibility modifier?
What are similarities between Class and structure?
What is the difference between Class and structure’s?
What does virtual keyword mean?
What are shared (VB.NET)/Static(C#) variables?
What is Dispose method in .NET?
What is the use of “Overrides” and “Overridable” keywords?
Where are all .NET Collection classes located?
What is ArrayList?
What is a HashTable?
What are queues and stacks?
What is ENUM?
What is nested Classes?
What is Operator overloading in .NET?
For the below code which constructor will fire first?
What is the significance of Finalize method in .NET?
How can we suppress a finalize method?
What is the use of DISPOSE method?
How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method?
In what instances you will declare a constructor to be private?
Can we have different access modifiers on get/set methods of a property ?
If we write a goto or a return statement in try and catch block will the finally block execute?
What is Indexer?
Can we have static indexer in C#?
Can two catch blocks be executed?
What is the difference between System.String and System.StringBuilder classes?

What’ is the sequence in which ASP.NET events are processed?
In which event are the controls fully loaded?
How can we identify that the Page is Post Back?
How does ASP.NET maintain state in between subsequent request?
What is event bubbling?
How do we assign page specific attributes?
How do we ensure viewstate is not tampered?
What is the use of @ Register directives?
What is the use of Smart Navigation property?
What is AppSetting Section in “Web.Config” file?
Where is View State information stored?
what is the use of @ Output Cache directive in ASP.NET?
How can we create custom controls in ASP.NET?
How many types of validation controls are provided by ASP.NET?
Can you explain “AutoPostBack”?
How can you enable automatic paging in Data Grid?
What is the use of “GLOBAL.ASAX” file?
What is the difference between “Web.config” and “Machine.Config”?
What is a SESSION and APPLICATION object?
What is the difference between ‘Server.Transfer’ and ‘response. Redirect’ ?
What is the difference between Authentication and authorization?
what is impersonation in ASP.NET?
Can you explain in brief how the ASP.NET authentication process works?
What are the various ways of authentication techniques in ASP.NET?
How does authorization work in ASP.NET?
What is difference between Data grid, Datalist, and repeater?
From performance point of view, how do they rate?
What is the method to customize columns in Data Grid?
How can we format data inside Data Grid?
How to decide on the design consideration to take a Data grid, data list, or repeater?
Difference between ASP and ASP.NET?
What are major events in GLOBAL.ASAX file?
What order they are triggered?
Do session use cookies?
How can we force all the validation control to run?
How can we check if all the validation control are valid and proper?
If client side validation is enabled in your Web page, does that mean server side code is not run.?
Which JavaScript file is referenced for validating the validators at the client side?
How to disable client side script in validators?
How can I show the entire validation error message in a message box on the client side?
You find that one of your validations is very complicated and does not fit in any of the validators, what will you do?
What exactly happens when ASPX page is requested from a browser?
How can we kill a user session?
How do you upload a file in ASP.NET?
How do I send email message from ASP.NET?
What are different IIS isolation levels?
ASP used STA threading model, what is the threading model used for ASP.NET.?
What is the use of <%@ page aspcompat=true %> attribute?
Explain the differences between Server-side and Client-side code?
Can you explain Forms authentication in detail?
How do I sign out in forms authentication?
If cookies are not enabled at browser end does form Authentication work?
How to use a checkbox in a data grid?
What are the steps to create a windows service in VB.NET?
What is the difference between “Web farms” and “Web garden”?
How do we configure “Web Garden”?
What is the main difference between Grid layout and Flow Layout?
What’s the difference between trace and debug in ASP.NET?
How do you enable tracing in on an ASP.NET page?
Which namespace is needed to implement debug and trace ?
Can you explain the concept of trace listener?
What are trace switches?

NET Architecture
What are design patterns?
What is the difference between Factory and Abstract Factory Patterns?
What is MVC pattern?
How can we implement singleton pattern in .NET?
How do you implement prototype pattern in .NET?
What are the situations you will use a Web Service and Remoting in projects?
Can you give a practical implementation of FAÇADE patterns?
How can we implement observer pattern in .NET?
What is three-tier architecture?
Have you ever worked with Microsoft Application Blocks, if yes then which?
What is Service Oriented architecture?
What are different ways you can pass data between tiers?
What is Windows DNA architecture?
What is aspect oriented programming?

What is the namespace in which .NET has the data functionality class?
Can you give an overview of ADO.NET architecture?
What are the two fundamental objects in ADO.NET?
What is difference between dataset and data reader?
What are major difference between classic ADO and ADO.NET?
What is the use of connection object?
What is the use of command objects?
What is the use of data adapter?
What are basic methods of Data adapter?
What is Dataset object?
What are the various objects in Dataset?
How can we connect to Microsoft Access, FoxPro, and Oracle etc?
How do we connect to SQL SERVER, which namespace do we use?
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
How can we force the connection object to close after my data reader is closed?
I want to force the data reader to return only schema of the data store rather than data.?
How can we fine-tune the command object when we are expecting a single row?
Which is the best place to store connection string in .NET projects?
What are the steps involved to fill a dataset?
What are the various methods provided by the dataset object to generate XML?
How can we save all data from dataset?
How can we check that some changes have been made to dataset since it was loaded?
How can we add/remove row is in “Data Table” object of “Dataset”?
What is basic use of “Data View”?
What is the difference between “Dataset” and “Data Reader” ?
How can we load multiple tables in a Dataset?
How can we add relation between tables in a Dataset?
What is the use of Command Builder?
What’s difference between “Optimistic” and “Pessimistic” locking ?
How many ways are there to implement locking in ADO.NET?
How can we perform transactions in .NET?
What is difference between Dataset? Clone and Dataset. Copy?
Can you explain the difference between an ADO.NET Dataset and an ADO Record set?
Explain in detail the fundamental of connection pooling?
What is Maximum Pool Size in ADO.NET Connection String?
How to enable and disable connection pooling?
What extra features does ADO.Net 2.0 have ?

What is normalization? What are different types of normalization?
What is denormalization?
What is a candidate key?
What are the different types of joins? What is the difference between them?
What are indexes? What is the difference between clustered and nonclustered indexes?
How can you increase SQL performance?
What is the use of OLAP?
What is a measure in OLAP?
What are dimensions in OLAP?
What are levels in dimensions?
What are fact tables and dimension tables in OLAP?
What is DTS?
What is fill factor ?
What is RAID and how does it work?
What is the difference between DELETE TABLE and TRUNCATE TABLE commands?
If locking is not implemented, what issues can occur?
What are different transaction levels in SQL SERVER?
What are the different locks in SQL SERVER?
Can we suggest locking hints to SQL SERVER?
What is LOCK escalation?
What are the different ways of moving data between databases in SQL Server?
What are advantages of SQL 2000 over SQl 7.0?
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
What is the difference between UNION and UNION ALL SQL syntax?
How can you raise custom errors from stored procedure?
what is ACID fundamental? What are transactions in SQL SERVER?
What is DBCC?
What is the purpose of Replication?
What are the different types of replication supported by SQL SERVER?
What is BCP utility in SQL SERVER?
What are the different types of triggers in SQl SERVER?
If we have multiple AFTER Triggers on table how can we define the sequence of the triggers?
What is SQL injection?
What is the difference between Stored Procedure (SP) and User Defined Function (UDF)?

What is UML?
How many types of diagrams are there in UML?
What are advantages of using UML?
What is the sequence of UML diagrams in project?
Give a small brief explanation of all Elements in activity diagrams?
Explain Different elements of a collaboration diagram?
Explain all parts of a deployment diagram?
Describe the various components in sequence diagrams?
What are the elements in State Chart diagrams?
Describe different elements in Static Chart diagrams?
Explain the different elements of a Use Case?

Project Management

What is project management?
Is spending in IT projects constant through out the project?
Who is a stakeholder?
Can you explain project life cycle?
Are risk constant through out the project?
Can you explain different software development life cycles?
What is triple constraint triangle in project management?
What is a project baseline?
What is effort variance?
How is normally a project management plan document organized?
How do you estimate a project?
What is CAR (Causal Analysis and Resolution)?
What is DAR (Decision Analysis and Resolution)?
What is a fish bone diagram?
What is Pareto principle?
How do you handle change request?
What is internal change request?
What is difference between SITP and UTP in testing?
Which software have you used for project management?
What are the metrics followed in project management?
People in your project do not peform , what will you do?
What is black box testing and White box testing?
What is the difference between Unit testing, Assembly testing and Regression testing?
What is V model in testing?
How do you start a project?
How did you do resource allocations?
How will you do code reviews?
What is CMMI?
What are the five levels in CMMI?
What is continuous and staged representation?
What is SIX sigma?
What are DMAIC and DMADV?
What are the various roles in Six Sigma implementation?
What are function points?
What are the different types of elementary process in FPA?
What are the different elements in Functions points?
Can you explain in GSC and VAF in function points?
What are unadjusted function points and how is it calculated?
Can you explain steps in function points?
What is the FP per day in your current company?
Do you know Use Case points?
What is SMC approach of estimation?
How do you estimate maintenance project and change requests?

What is XML?
What is the version information in XML?
What is ROOT element in XML?
If XML does not have closing tag will it work?
Is XML case sensitive?
What is the difference between XML and HTML?
Is XML meant to replace HTML?
Can you explain why your project needed XML?
What is DTD (Document Type Definition)?
What is well formed XML?
What is a valid XML?
What is CDATA section in XML?
What is CSS?
What is XSL?
What is element and attributes in XML?
Which are the namespaces in .NET used for XML?
What are the standard ways of parsing XML document?
In What scenarios will you use a DOM parser and SAX parser?
How was XML handled during COM times?
What is the main difference between MSML and .NET Framework XML classes?
What are the core functionalities in XML .NET framework? Can you explain in detail those functionalities?
What is XSLT?
Define XPATH?
What is the concept of XPOINTER?
What is an XMLReader Class?
What is XMLTextReader?
How do we access attributes using “XmlReader”?
Explain simple Walk through of XmlReader?
What does XmlValidatingReader class do?


What is Unicode & Why was it introduced?
Does .NET support UNICODE and how do you know it supports?
What is the difference between localization and globalization?
What architecture decisions you should consider while planning for international software’s?
How do we get the current culture of the environment in windows and ASP.NET?
Which are the important namespaces during localization and globalization?
What are resource files and how do we generate resource files?
Can resource file be in any other format other than resx extensions?
How is resource files actually used in project?
How can we use Culture Auto in project?
What are satellite assemblies?
How do we generate Satellite assemblies?
What is AL.EXE and RESGEN.EXE?
What is the use of resource manager class?
What precautions do we need to take while deploying satellite assemblies?
Can we get a strongly typed resource class rather than using resource manager?
Can you explain the fundamentals of “GetGlobalResourceObject” and “GetLocalResourceObject” functions?
Can we sign a satellite assembly?
Can you explain collation sequence in sql server?
How do we define collation sequence for database and tables?
Can we change the order in a select query with a specified collation sequence?
Can you list best practices for globalization and localization?
Why is the culture set to the current thread?

Windows Communication Foundation
What are the important principles of SOA (Service oriented Architecture)?
What are ends, contract, address, and bindings?
Which specifications does WCF follow?
What are the main components of WCF?
Explain how Ends, Contract, Address, and Bindings are done in WCF?
what is a service class?
what is a service contract, operation contract and Data Contract?
what are the various ways of hosting a WCF service?
How do we host a WCF service in IIS?
what are the advantages of hosting WCF Services in IIS as compared to self-hosting?
what are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one-way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?
Can we have two-way communications in MSMQ?
What are Volatile queues?
What are Dead letter queues?
What is a poison message?

Windows Presentation Framework
What is WPF?
What is XAML?
What are dependency properties?
Are XAML file compiled or built on runtime?
Can you explain how we can separate code and XAML?
How can we access XAML objects in behind code?
What kind of documents are supported in WPF?

Windows workflow foundation
What is Windows Workflow Foundation?
What is a Workflow?
What are different types of Workflow in Windows Workflow foundation?
when should we use a sequential workflow and when should we use state machines?
How do we create workflows using designer?
How do we specify conditions in Work flow?
How do you handle exceptions in workflow?
What is the use of XOML files.
How can we pass parameters to workflow?

What problem does Ajax solve?
What is Ajax?
What is the fundamental behind Ajax?
What is JSON?
How do we use XMLHttpRequest object in JavaScript?
How do we do asynchronous processing using Ajax?
What are the various states in XMLHttpRequest and how do we check the same?
How can we get response text?
How can we send request to the server using the XMLHttpRequest component?
How do we pass parameters to the server?
How can we create a class in JavaScript using Atlas?
How do we do inheritance-using Atlas?
How do we define interfaces using Atlas?
How do we reference HTML controls using Atlas?
Can you explain Scriptmanager control in Ajax?
Can you explain Enablepartialrendering and UpdatePanel control in Ajax?
Can you explain the concept of triggers in ‘UpdatePanel’ control?
Can you explain the ‘UpdateProgress’ component?
How can you do validations in Ajax?
How do we do exception handling in Ajax?
How do we consume web service in Atlas?
How can we consume data directly in web services?

How do we access crystal reports in .NET?
What are the various components in crystal reports?
What basic steps are needed to display a simple report in crystal?
Can crystal reports be published as a web service?
How do we invoke the crystal report web service?
How do we add formulas using crystal reports?
How do we pass parameters to crystal reports?
How do we export from crystal reports?
How do we print to printer using crystal?
How do we generate cross tab reports?
How can we do grouping in crystal?
Can you explain three-pass reporting which crystal report uses?
Can you explain reporting services architecture?
We have two IIS application ‘Reports’ and ‘Reportserver’ what do they do ?
Can you explain Report definition language (RDL) file in reporting services?
What is the basic process of making a report in reporting services?
How can we consume reports in ASP.NET?
Can you explain the difference between private and shared data sources?
How does reports caching in reporting services work ?
What are the major differences between Crystal and SQL reporting services?


What improvements are provided in ASP.NET 2.0?
How does ASP.NET 2.0 eliminate tedious coding?
How do we encrypt web.config files in ASP.NET 2.0 ?
With the above technique can you encrypt everything in the web.config file?
In .NET 1.X how was the encryption implemented for config files?
Can you explain membership and role providers in ASP.Net 2.0?
What kind of security web controls are introduced in ASP.NET 2.0?
Can you explain master pages concept in ASP.NET?
what is the concept of Web parts?
What are the different components of the web part framework?
What are partial classes in ASP.NET ?
Can you explain generics in .NET ?
Can you explain the concept of generic collection?

How to
How do you send a email using ASP.NET ?
How did you deployment and setup in ASP.NET ?

.NET 3.5
Define LINQ ?
We already have common data access model what is special about LINQ?
How can you make entity classes from the table itself ?
How can we transform LINQ to objects ?
How to transform LINQ to ADO.NET ?
How to transform LINQ to SQL ?
How to transform LINQ to XML ?
How to transform LINQ to entities ?
Can you explain Delegate Instantiation?
Can you explain Anonymous methods ?
What is Yield in LINQ ?
Can you explain Lambda Expressions ?
What are Instance methods and Extension methods ?
What are Anonymous types ?
Revision of Simple Query syntax for LINQ ?
What is silver light?


Anonymous said...

Question are good. Mainly reporting service questions. I am ready to buy this book.

Anonymous said...

and 3.5 qestion and lot more

Anonymous said...

As usual Koirala keeps his work up....Nice work champ....You are a ruler.

Anonymous said...

Good to see a chapter on reports and .NET 2.0 and 3.5.....Can not believer in this soft copy world ....hard copies also do well....I think its all about what you write.

Anonymous said...

I am your admirer the way you explain , the way you think , your knowledge ....No doubt you are the number one computer author of India......

Anonymous said...

I am not sure if you remember me..We had met in the Naukri seminar. At this age you can still code and that also code gracefully. I rarely know managers who can code at this level...Keep it up...I remember your one word, if you are coder by heart helps you in keeping you updated about ground realities.

Anonymous said...

I think one would more by reading your Q&A than reading a book on the specific topic. Your explanations are fantastic.

Keep up the good work!!

Anonymous said...

great job............

Unknown said...

this is going to be a next best question bank. please let me know when your are publishing it. good work.

Deepak Karma said...

Dear sir ! please send me details how i can buy this book online.pls send me a link.also available this book in flipcart.

Anonymous said...

HI I have your .net interview 3rd edition book.It was quite good enough for beginners.I missed cd which comes along with the book.If possible can u please put the sample resume over the internet.

Anonymous said...

It is a pity, that now I can not express - I hurry up on job. I will return - I will necessarily express the opinion on this question.

Anonymous said...

Dear sir!!!! please send me details how i can buy this book online.pls send me a link.also available this book in flipcart.