Saturday, May 23, 2009

Good Article For Caching and Remoting

http://quickstart.developerfusion.co.uk/QuickStart/aspnet/doc/caching/fragment.aspx

ASP.NET Interview questions

ASP.NET Interview questions
Following are basic ASP.NET interview questions asked for 1+ year experience in ASP.NET:-

1. Difference between .NET 1.1 VS .NET 2.0 VS .NET 3.5.
2. New features of .NET 3.5.
3. What is 3 tire and n-tire application?
4. Explain page events in asp.net.
5. Explain .NET assembly.
6. Explain .net 2.0 framework assembly.
7. Different types of assemply.
8. How to create strong name?
9. What is DLL Hell problem? how it is overcome?
10. Whats is authentication and authorization?
11. What is different type of authentication?
12. Need of authentication.
13. Explain differnt validation control?
14. What is 'control to validate' propety?
15. Explain events of Grid view control?
16. Whis is performance wise better Grid view, Repeater Control?
17. Code to bind datagrid with connection.
18. How to register javascript from code-behind?
19. What are client side and server side state management?
20. What is hidden field? How you can use it?

Close connection after fetching data by DataReader

 using (SqlDataReader reader =

command.ExecuteReader
(CommandBehavior.CloseConnection))
{
dt.Load(reader);
}