| 1. Whats the sequence in which ASP.NET events are processed ? |
| 2. In which event are the controls fully loaded ? |
|
|
| 3. How can we identify that the Page is PostBack ? |
| 4. How does ASP.NET maintain state in between subsequent request ? |
| 5. What is event bubbling ? |
| 6. How do we assign page specific attributes ? |
| 7. Administrator wants to make a security check that no one has tampered with ViewState , how can we ensure this ? |
|
|
| 8. Whats the use of @ Register directives ? |
| 9. Whats the use of SmartNavigation property ? |
| 10. What is AppSetting Section in Web.Config file ? |
| 11. Where is ViewState information stored ? |
| 12. Whats the use of @ OutputCache directive in ASP.NET? |
|
|
| 13. How can we create custom controls in ASP.NET ? |
| 14. How many types of validation controls are provided by ASP.NET ? |
| 15. Can you explain what is AutoPostBack feature in ASP.NET ? |
| 16. How can you enable automatic paging in DataGrid ? |
| 17. Whats the use of GLOBAL.ASAX file ? |
| 18. Whats the difference between Web.config and Machine.Config ? |
| 19. Whats a SESSION and APPLICATION object ? |
| 20. Whats difference between Server.Transfer and response.Redirect ? |
| 21. Whats difference between Authentication and authorization? |
| 22. What is impersonation in ASP.NET ? |
| 23. Can you explain in brief how the ASP.NET authentication process works? |
| 24. What are the various ways of authentication techniques in ASP.NET? |
| 25. How does authorization work in ASP.NET? |
| 26. Whats difference between Datagrid , Datalist and repeater ? |
| 27. From performance point of view how do they rate ? |
| 28. Whats the method to customize columns in DataGrid? |
| 29. How can we format data inside DataGrid? |
| 30. How will decide the design consideration to take a Datagrid , datalist or repeater ? |
| 31. Difference between ASP and ASP.NET? |
| 32. What are major events in GLOBAL.ASAX file ? |
| 33. What order they are triggered ? |
| 34. Do session use cookies ? |
| 35. How can we force all the validation control to run ? |
| 36. How can we check if all the validation control are valid and proper ? |
| 37. If you have client side validation is enabled in your Web page , Does that mean server side code is not run? |
| 38. Which JavaScript file is referenced for validating the validators at the client side ? |
| 39. How to disable client side script in validators? |
| 40. I want to show the entire validation error message in a message box on the client side? |
| 41. You find that one of your validation is very complicated and does not fit in any of the validators , so what will you do ? |
| 42. What is Tracing in ASP.NET ? |
| 43. How do we enable tracing ? |
| 44. What exactly happens when ASPX page is requested from Browser? |
| 45. How can we kill a user session ? |
| 46. How do you upload a file in ASP.NET ? |
| 47. How do I send email message from ASP.NET ? |
| 48. What are different IIS isolation levels? |
| 49. What is view state and use of it?
The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested for the first time versus when the form is posted (sent to the server), which allows you to program accordingly.
|
| 50. What are user controls and custom controls?
Custom controls:
A control authored by a user or a third-party software vendor that does not belong to the .NET Framework class library. This is a generic term that includes user controls. A custom server control is used in Web Forms (ASP.NET pages). A custom client control is used in Windows Forms applications.
User Controls:
In ASP.NET: A user-authored server control that enables an ASP.NET page to be re-used as a server control. An ASP.NET user control is authored declaratively and persisted as a text file with an .ascx extension. The ASP.NET page framework compiles a user control on the fly to a class that derives from the System.Web.UI.UserControl class.
|
| 51. What are the validation controls?
A set of server controls included with ASP.NET that test user input in HTML and Web server controls for programmer-defined requirements. Validation controls perform input checking in server code. If the user is working with a browser that supports DHTML, the validation controls can also perform validation using client script. |
| 52. What's the difference between Response.Write() andResponse.Output.Write()?
The latter one allows you to write formattedoutput |
| 53. What methods are fired during the page load? Init()
When the page is instantiated, Load() - when the page is loaded into server memory,PreRender () - the brief moment before the page is displayed to the user as HTML, Unload() - when page finishes loading.
|
| 54. Where does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page
|
| 55. Where do you store the information about the user's locale?
System.Web.UI.Page.Culture
|
| 56. What's the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?
CodeBehind is relevant to Visual Studio.NET only.
|
| 57. What's a bubbled event?
When you have a complex control, likeDataGrid, writing an event processing routine for each object (cell, button,row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.
Suppose you want a certain ASP.NET function executed on MouseOver over a certain button.
|
| 58. Where do you add an event handler?
It's the Attributesproperty, the Add function inside that property.
e.g. btnSubmit.Attributes.Add("onMouseOver","someClientCode();")
|
| 59. What data type does the RangeValidator control support?
Integer,String and Date.
|