Friday 30 September 2011

.Net Interview Questions Part 3

  1. Write a program to create a user control with name and surname as data members and login as method and also the code to call it.
  2. How can you read 3rd line from a text file?
  3. Explain the code behind wors and contrast that using the inline style.
  4. Explain different types of HTML, Web and server controls.
  5. What are the differences between user control and server control?
  6. How server form post-back works?
  7. Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?
  8. How would ASP and ASP.NET apps run at the same time on the same server?
  9. What are good ADO.NET object to replace to ADO Recordset object.
  10. Explain the differences between Server-side code and Client-side code.
  11. What type of code(server or client) is found in a Code-Behind class?
  12. Should validation (did the user enter a real date) occur server-side or client-side? Why?
  13. What does the “EnableViewState” property do? Why would I want it on or off?
  14. What is the difference between Server.Transfer and response.Redirect? Why?
  15. Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced.NET component?
  16. Let’s say I have an existing application written using VB6 and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to.NET?
  17. If I am developing an application that must accomodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
  18. What are ASP.NET web forms? How is this technology different than what is available though ASP(1.0-3.0)?
  19. How does VB.NET achieve polymorphism?
  20. How does C# achieve polymorphism?
  21. Can you explain what is Inheritance and an example in VB.NET and C# of when you might use it?
  22. Describe difference between inline and code-behind?
  23. What is loosely coupled solution in.NET?
  24. What is diffgram?
  25. Where would you use an iHTTPModule and what are the limitations of any approach you might take in implementing one?

0 comments:

Post a Comment

INDIA ENOW

How do u rate my blog?

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More