Professional Documents
Culture Documents
1. Can you declare the override method static while the original method is
non-static?
No
You can¶t, the signature of the virtual method must remain the same, only
the keyword virtual is changed to keyword override.
3. A project on which you are working calls for you to store small amount of
frequently changing information about a page on the client.
For this project, security is not a worry. Which is the best method to use
A cookie
Event Handling
PreInit
Init
InitComplete
LoadComplete
PreRender
Unload
In cookies
Session Identifiers
Sessions are identified by a unique session identifier that can be read
using the SessionID property. When session state is enabled for an
ASP.NET application, each request for a page in the application is
examined for a SessionID value sent from the browser. If no SessionID
value is supplied, ASP.NET starts a new session and the SessionID for that
session is sent to the browser with the response.
SessionID values are stored in a cookie, by default, but you can also
configure your application to store SessionID values in the URL for a
"cookieless" session
6. What is the name given to the type of assembly that contains localized
resources?
Satellite
Hub
Indicates whether the page should be compiled with debug symbols. true if
the page should be compiled with debug symbols; otherwise, false.
Because this setting affects performance, you should only set the attribute
to true during development
8. Security is very important on any web site. By default, a .Net web site is
configured with which of the following authentication types?
Answer 1 & 4
Integrated Windows authentication
Performance Counters
Data Readers
The .NET Framework SDK provides a set of performance counters that you
can use to track the performance of an application
**10.Do I need IIS to develop a Web application in ASP.NET 2.0?
No
If you are using Visual Studio, you can use the ASP.NET Development
Server built into Visual Studio to test your pages. The server functions as a
local Web server, running ASP.NET Web pages in a manner virtually
identical to how they run in IIS. To deploy
**11.______ is the Microsoft IIS server running, handling ASP.NET
requests among other things
inetinfo.exe
aspnet_isapi.dll
12. What the 1st method that is fired during the page load?
Init()
Load()
Occurs when the server control is initialized, which is the first step in the its
lifecycle
13. What namespace does the Web page belong in the .NET Framework
class hierarchy?
System.Web.UI.Page
System.Web.Control
14. When you have a complex control, like DataGrid, writing an event
processing routine for each object (cell, button, row, etc.) is quite tedious.
The controls can ____ __ their eventhandlers, allowing the main DataGrid
event handler to take care of its constituents.
bubble event
Page class
Web class
ControlToValidate
boolean
string