Thursday, 25 December 2014

Few more interview Questions :

Asp.net :
RowDataBound.
what is Session ? Seesion[var] -- what does this mean..?
how do you store value inside a session.
HttpHandler -- Example
HttpModule -- Example
EnableSessionState -- pagewise and for the entire site.
Webfarms :  http://www.codeproject.com/Articles/114910/What-is-the-difference-between-Web-Farm-and-Web-Ga
webgarden :  http://www.codeproject.com/Articles/114910/What-is-the-difference-between-Web-Farm-and-Web-Ga
Windows authentication
FormsAuthentication
ViewState can store an object ? yes http://msdn.microsoft.com/en-us/library/ms178198(v=vs.85).aspx
Application Pool -- can one app pool have more than one application. What does this pool contain.
worker process
Threads
Find Control in the page.
FindControl of a master page
How will yoiu get the control of a master page inside your pageload
Can you create a server control?
Causes Validation
Dfference between a server control and user control.
In user control how too acces the page controls.
session state -- different modes.
IF you dont want to use the session in one particular page what will you do.
what happens when web.config is modified and the user is already logged in.
how many worker processa are there in Application pool :only 1

C# :
const -- uses
readonly -- uses
abstract class
interface
method overriding -- example. where to use when
method overloading -- example.where to use when
method hiding and example.where to use when
IEnumerable and IQueryable.[lazy loading] http://www.codeproject.com/Articles/732425/IEnumerable-Vs-IQueryable
why do we need abstract class
can a class have virtual methods.
string
how will you find the number of  vowels in a string. [http://stackoverflow.com/questions/18109890/c-sharp-count-vowels]
Factory pattern -- where do we use it.
Singleton-- where do we use it
can we instantiate an abstract class.
If not the what does classA a = new B(); will say ?
What are delegates 
What are multicast delegates.
If an exception occurs in multicastdelegates will the next delegates execute..?
what is an event..? 
xml serialisation
datacontract serialisation
Fault Exception.
why do we need datacontract serialisation
what is messagecontract.
What is shallow copy and deep copy
Memberwise clone 
how can you copy the data of an object into another object. http://msdn.microsoft.com/en-us/library/system.object.memberwiseclone(v=vs.110).aspx;
what is reflection
some example of the reflection in Page class.
What is serialization ?http://msdn.microsoft.com/en-IN/library/ms233843.aspx
what is the difference between properties and methods.?when to choose what ? http://msdn.microsoft.com/en-us/library/vstudio/ms229054(v=vs.100).aspx

SQL Server :
What is a Function?
What is a Stored procedure?
Different types of functions : Scalar and Table valued functions?
How to remove the duplicate entries in the table.?
Ans: http://www.besttechtools.com/articles/article/sql-query-to-delete-duplicate-rows
What is a Cursor?
Alternate for a cursor?
Distinct rows in a table without using distinct ?.-- Group by
What is rowcount


JQuery :
Differences Windows.Onload and $.Document.Ready function : Ans:http://www.dotnetbull.com/2013/08/document-ready-vs-window-onload.html
How to get the list of all the divs in a page ?
How to set alternate colors for the divs in the page ?



No comments:

Post a Comment