ASP.NET Fundamentals
Covers core ASP.NET concepts including custom controls, state management, configuration files, and the event-driven processing model.
Questions
Custom Controls are derived from which of the classes
- System.Web.UI.Webcontrol
- System.Web.UI.Customcontrol
- System.Web.UI.Customcontrols.Webcontrol
How ASP.Net Different from classic ASP?
- Scripting is separated from the HTML, Code is interpreted seperately
- Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server
- Code is separated from the HTML and interpreted Code is interpreted separately
What's the difference between Response.Write() andResponse.Output.Write()?
- Response.Output.Write() allows you to flush output
- Response.Output.Write() allows you to buffer output
- Response.Output.Write() allows you to write formatted output
- Response.Output.Write() allows you to stream output
Why is Global.asax is used?
- Implement application and session level events
- Declare Global variables
- No use
There can be more than 1 machine.config file in a system
- True
- False
What is the extension of a web user control file?
- .Asmx
- .Ascx
- .Aspx
Which of the following is true?
- IsPostBack is a method of System.UI.Web.Page class
- IsPostBack is a method of System.Web.UI.Page class
- IsPostBack is a readonly property of System.Web.UI.Page class
The number of forms that can be added to a aspx page is.
- 1
- 2
- 3
- More than 3
How do you manage states in asp.net application
- Session Objects
- Application Objects
- Viewstate
- All of the above
Which property of the session object is used to set the local identifier?
- SessionId
- LCID
- Item
- Key
Select the caching type supported by ASP.Net
- Output Caching
- DataCaching
- a and b
- none of the above
Where is the default Session data is stored in ASP.Net?
- InProcess
- StateServer
- Session Object
- al of the above
Select the type Processing model that asp.net simulate
- Event-driven
- Static
- Linear
- Topdown