dotnet

Interview Questions and Answers

dotNET

Question:
Describe the complete lifecycle of a Web page.
Answer:

When we execute a Web page, it passes from the following stages, which are collectively known as Web page lifecycle:
  • Page request - During this stage, ASP.NET makes sure the page either parsed or compiled and a cached version of the page can be sent in response
  • Start - During this stage sets the Request and Response page properties and the page check the page request is either a postback or a new request
  • Page Initialization - During this stage, the page initialize and the control's Unique Id property are set
  • Load - During this stage, if the request is postback, the control properties are loaded without loading the view state and control state otherwise loads the view state
  • Validation - During this stage, the controls are validated
  • Postback event handling - During this stage, if the request is a postback, handles the event
  • Rendering - During this stage, the page invokes the Render method to each control for return the output
  • Unload - During this stage, when the page is completely rendered and sent to the client, the page is unloaded.

  • --- >>>

    dotNET - Questions
    1. How do you prevent a validation control from validating data at the client end?
    Answer
    2. Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared Web hosting platform?
    Answer
    3. Explain the Application and Session objects in ASP.NET.
    Answer
    4. What are the different ways to send data across pages in ASP.NET?
    Answer
    5. What do you mean by the Web Part controls in ASP.NET?
    Answer
    6. What type of the CatalogPart control enables users to restore the Web Parts that have been removed earlier by the user?
    Answer
    7. What is ASP?
    Answer
    8. What is the lifespan for items stored in ViewState?
    Answer
    9. How information about the user's locale can be accessed?
    Answer
    10. How do you sign out from forms authentication?
    Answer
    11. What is the difference between a default skin and a named skin?
    Answer
    12. What is IIS? Why is it used?
    Answer
    13. What is Query String? What are its advantages and limitations?
    Answer
    14. Which method is used to force all the validation controls to run?
    Answer
    15. How can you send an email message from an ASP.NET Web page?
    Answer
    16. What is the default timeout for a Cookie?
    Answer
    17. Explain file-based dependency and key-based dependency.
    Answer
    18. Explain login controls.
    Answer
    19. What is the difference between page-level caching and fragment caching?
    Answer
    20. Which method is used to post a Web page to another Web page?
    Answer
    21. How can you enable impersonation in the web.config file?
    Answer
    22. What are the major built-in objects in ASP.NET?
    Answer
    23. Where should the data validations be performed-at the client side or at the server side and why?
    Answer
    24. Why do we need nested master pages in a Web site?
    Answer
    25. To which class a Web form belongs to in the .NET Framework class hierarchy?
    Answer
    26. What does the "EnableViewState" property do? Why do we want it On or Off?
    Answer
    27. Which event determines that all the controls are completely loaded into memory?
    Answer
    28. What is the function of the CustomValidator control?
    Answer
    29. What is Role-based security?
    Answer
    30. What are the HTML server controls in ASP.NET?
    Answer
    31. Where is the ViewState information stored?
    Answer
    32. What is the difference between absolute expiration and sliding-time expiration?
    Answer
    33. What is difference between a Label control and a Literal control?
    Answer
    34. What is the use of the Global.asax file?
    Answer
    35. What are the Culture and UICulture values?
    Answer
    36. Which control will you use to ensure that the values in two different controls match?
    Answer
    37. What is the use of the tag in the web.config file?
    Answer
    38. Can you post and access view state in another application?
    Answer
    39. What events are fired when a page loads?
    Answer
    40. Write three common properties of all validation controls.
    Answer
    41. What happens if an ASP.NET server control with event-handling routines is missing from its definition?
    Answer
    42. What are server-side comments?
    Answer
    43. How can we provide the WebParts control functionality to a server control?
    Answer
    44. What is cross-page posting in ASP.NET?
    Answer
    45. What are Web server controls in ASP.NET?
    Answer
    46. What is the difference between a HyperLink control and a LinkButton control?
    Answer
    47. What are the various ways of authentication techniques in ASP.NET?
    Answer
    48. What does the WebpartListUserControlPath property of a DeclarativeCatalogPart control do?
    Answer
    49. What is the use of web.config? What is the difference between machine.config and web.config?
    Answer
    50. Can we validate a DropDownList by RequiredFieldValidator?
    Answer
    General Knowledge Quiz
    3001 Bizarre Facts
    Dictionary
    Elementary English Grammar Test
    Standard English Grammar Test
    Advanced English Grammar Test
    Daily English Quiz
    English Test
    Grammar Examination
    ESL / EFL Test
    Grammar Test
    Antonyms
    Synonyms
    Homonyms
    Vocabulary Examination
    Word Analogy
    Vocabulary Flashcards
    Idioms
    Idioms Quiz
    Quantitative Aptitude Test
    iQ Quiz Game
    Verbal Reasoning Quiz - Mind Game
    English Question Answer
    Vocabulary Game 1
    Vocabulary Game 2
    Scramble Word Game
    Common Mistakes
    Confusing Words
    Basic English Usage
    English Grammar
    Prepositions
    English Phrases
    Learn English
    Word Game
    Interview Questions and Answers
    Educational Quiz Games