ASP interview questions – page 9

537 questions. Tap “Show answer” to check yourself.

Advertisement
  1. How we implement Web farm and Web Garden concept in ASP.NET?At least give an example

  2. How to validate xmlschema in xml document?

  3. What is the difference between Cookies collection and Form/Querystring collection?

  4. What is ClientCertificate collection?

  5. How to maintain ViewState of dynamically created user controls? For example, If I am creating few instances of a User control using LoadControl(...) method, then how do I make sure that the viewstate of all these controls is during postbacks?

  6. What is http header

  7. DIff. between Friend and Protected Friend.

  8. Which method get called between a object is declared and it is collect by the garbage collector.

  9. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

  10. Where would you use an iHTTPModule, and what are the limitations of any

  11. Which namespace is used to get assembly details?

  12. What is a Form collection?

  13. Advertisement
  14. Explain the differences between Server-side and Client-side code?

  15. Explain what a diffgram is, and a good use for one

  16. How can i decrypt a password that had already encrypted using MD5 format in ASP.NET?orHow can I compare password that entered by a user with the encrypted password ( encryption had done using MD5 format) ?

  17. 1)How will you load dynamic assembly? How will create Assemblies at run time? 2)How to maintain View State of dynamically created user controls? For example, If I am creating few instances ?

  18. Whats the use of @ Register directives ?

  19. What is IPostBack? How to use it?

  20. One aplication have 50 pages out of 50 , 5 pages shouldn't ask user name and password other 45 should ask user name and password?how will you write the code in web.config?

  21. How to create a package for web application with components that shared with other applications?

  22. How to update the data in dataset

  23. What r the ASP.NET list controls and diff. between them?

  24. How does u call and execute a SP in .NET?

  25. In order to get assembly info whcih namespace we should import?

  26. Advertisement
  27. While searching a record in database it accepts all the letters and special characters.but,i enter Apostrophe it is showing error(Cannot perform 'Mod' operation on System.String and System.String) like this...how to clear this bug?

  28. How does u get record no from 5 to 15 from a dataset of 100 records?

  29. What is the difference between Querystring collection and Form collection?

  30. What type of code (server or client) is found in a Code-Behind class?

  31. What is the default size cache?

  32. What are the differences between ASP and ASP.NET and is ASP.NET backward cmpatible to ASP.

Advertisement