Saturday, March 26, 2011

dotnet online training

Online training for dotnet at affordable price. It includes C#,ASP.NET, VB.NET.
Linq, Webservices, ajax, wcf basics also covered.
Money back guarantee if not satisfied.

Saturday, March 19, 2011

how to get job in .net

1. join some .net training.
2. learn all the basics of dotnet.
3. most frequently questions of dotnet include
 a. difference between stored procedure and functions
 b. what are generics what are the benefits of generics and why to go for generics?
c. What are collections?
d. difference between array and array list?
e. difference between arraylist and dictionary
Ans: arraylist is accessed using index whereas dictionary is accessed using keys.
f. difference between interface and abstract classes.
g. what is singleton class?
h. what is the use of static class?
i.what are the advantages of using stored procedure?
j. how many clustered index are possible
Ans:1
k. difference between clustered and non clustered index?
l.what is viewstate?
m.asp.net page lifecycle?
n. state management techniques in asp.net
o. caching. types of caching?
p.types of joins/
4. learn how to display data in gridivew, update and delete the data using gridivew.

microsoft interview questions

latest Microsoft interview questions. .net technical

1. difference between virual and abstract methods?
Ans:
Virtual methods must contain implementation whereas abstract methods must not have implementation.
Virtual methods may or may not be overridden in child class whereas abstract methods must be overriden in child class.

2. Can we have virtual constructors?
Ans: No.

3. If we disable the viewstate for the page is the text of textbox retained after postback?
Ans: Yes.

4.What is ViewState?
Ans: ViewState is used to retain property values of control even after postback to the same web form.

5.how to prevent instance of a class to be created?
Ans:
1. make the constructor of the class as private
2. make the class as sealed class.

6. what is the use of constructor?
Ans: To initialize the datamembers of the class.

7. what is abstract class?
Ans: A class with atleast one method declared as abstract and the class must have the abstract keyword.

Sunday, March 13, 2011

when is viewstate data saved and loaded in asp.net page lifecycle

LoadViewState event is fired after Page_Init event and before Page_Load event is fired and viewstate data is stored after Page_PreRender and before Page_Render events that is in the SaveViewState event.

Difference between ReadOnly and const keywords

Difference between ReadOnly and const keywords
Readonly fields can be initialized either in the declaration of the ReadOnly fields or in the constructor in the same class.
Const field is different from readonly.
A const field can only be initialized while declaring the field whereas A readonly field can be initialized either at the declaration or in a constructor.
A const field is a compile-time constant. The readonly field can be used for runtime constants