NETInterviewQuestions-6thEdition NewBook
NETInterviewQuestions-6thEdition NewBook
Note
This Book is a sample book, to let the readers know what kind of quality we deliver. We
insist to all readers to buy hardcopy for the below reasons: -
1 The hardcopy does not costs more than 200 INR if you are in India and for outside its
not more than 20 dollars. Its worth than jamming your office printer and making zeroxes
of 500 pages.
2 Second a hard copy is hard copy, you can carry with you, you own it, you can fold
the pages , make notes. For interview question books its the best choice.
So if you agree to that below are the sources for off line buying and online..Why read
PDFs, how about a self owned hard copy.
http://www.amazon.co.uk/NET-Interview-Questions-Shivprasad-
Koirala/dp/8183331475/sr=1-1/qid=1171080126/ref=sr_1_1/026-1891118-
8556445?ie=UTF8&s=books
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,
BHATINA(PUNJAB)-2237387,
CHENNAI-28410796,28550491
DELHI/NEWDELHI-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
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
Mail bpb@vsnl.com for more details. If you want to write to the author mail
shiv_koirala@yahoo.com.
Chapter 3: OOPS
What is Object Oriented Programming?
What is a Class and object?
What are different properties provided by Object-oriented systems?
How can we implement encapsulation in .NET?
Whats the difference between abstraction and encapsulation?
How is inheritance implemented in .NET?
What are the two different types of polymorphism?
How can we implement static polymorphism?
How can we implement dynamic polymorphism?
What is the difference overriding and overloading?
What is operator overloading?
What are abstract classes?
What are abstract methods?
What is an Interface?
Do interface have accessibility modifier ?.
Can we create an object of abstract class or an interface?
What is difference between abstract classes and interfaces?
An abstract with only abstract method, how is it different from interfaces?
If we want to update interface with new methods, what is the best practice?
What is a delegate?
How can we create a delegate?
What is a multicast delegate?
What are Events?
What is the difference between delegate and 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?
If we inherit a class do the private variables also get inherited?
How can we stop the class from further inheriting?
What is the use of Must inherit keyword in VB.NET?
What are similarities between Class and structure?
What is the difference between Class and structures?
What does virtual keyword mean?
What are shared (VB.NET)/Static(C#) variables?
What is ENUM?
What is nested Classes?
If you create the child class object which constructor will fire first?
In what instances you will declare a constructor to be private?
Can we have different access modifiers on get/set methods of a property?
Will the finally run in this code?
What is Indexer?
Can we have static indexer in C#?
Chapter 4: ADO.NET
What are the different components in ADO.NET?
What is the namespace in which .NET has the data functionality class?
When should we use System.Data.SqlClient and System.Data.OleDB ?
What is difference between dataset and data reader?
What is the use of command objects?
What are Dataset objects?
What is the use of data adapter?
What are basic methods of Data adapter?
How can we fire a simple SQL Statement using ADO?
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?
How do you fill the 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 which rows have changed since dataset was loaded?
How can we add/remove row is in Data Table object of Dataset?
What is basic use of DataView?
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?
Whats difference between Optimistic and Pessimistic locking?
How many ways are there to implement optimistic locking in ADO.NET?
How can do pessimistic locking?
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 are themajor differences between classic ADO and ADO.NET?
Chapter 5: ASP.NET
What are the different events which fire ASP.NET page life cycle?
What are Httphandlers and HttpModules?
What is the difference between Httphandlers and HttpModules?
How do we write a Httphandler ?
How do we write anHttpModule?
Can you explain how ASP.NET application life cycle works?
In which event are the controls fully loaded?
How can we identify that the Page is Post Back?
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?
How can we create custom controls in ASP.NET?
How many types of validation controls are provided by ASP.NET?
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, will server side code still 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?
If a validation is very complex what will you do ?
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?
What are the various ways of authentication techniques in ASP.NET?
Can you explain Forms authentication in detail?
How do I sign out in forms authentication?
If cookies are disabled how will forms authentication work?
How do we implement windows authentication?
How can we do single sign on in ASP.NET?
Can you explain membership and role providers in ASP.Net 2.0?
Can you explain master pages concept in ASP.NET?
So how do you create master pages?
What is the concept of Web parts?
What are partial classes in ASP.NET ?
What is the difference between data grid and grid view?
What is difference between Grid view, Data list, 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?
What are major events in GLOBAL.ASAX file?
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?
How to use a checkbox in a data grid?
What is the difference between Web farms and Web garden?
How do we configure Web Garden?
Whats 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?
What is an application object?
What is the use of cache 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?
Do session use cookies?
Is Session_End event supported in all session modes?
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?
How do we ensure viewstate is not tampered?
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 the current page in the next page ?
Can we post and access view state in another ASP.NET page?
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?
How do we encrypt web.config files in ASP.NET?
In .NET 1.X how was the encryption implemented for config files?
How do you send an email using ASP.NET ?
How did you deployment and setup in ASP.NET ?