Complete List of Terms and Definitions for dot not web

Terms Definitions
Ch 1Members of Page Class - OnPreRender() (METHOD) raises the PreRender event. Protected method derived from the CONTROL class
Ch 1handle? When an object takes some action in response to another event.
Ch 1UICulture of page directive culture setting for gui
Ch 1Members of Page Class - ErrorPage (PROPERTY) Specifies error page to redirect client on error
Ch 14 services provided by CLR to code? 1) Compilation2) Code safety verification3) Code execution4) Automatic Memory management
Ch 1Event handling (3 steps) 1) handle eents by overriding the virtual protected method of the base class2) handle events by attaching a delegate to the event3) handle events of the Page class through AutoEventWireup
Ch 1SRC of page directive source filename of the code behind class that is dynamically compiled when the web page is requested. VS.Net does not use this since it precompiles the code behind class
Ch 14 steps to publishing event? 1) define delegate type that specifies the prototype of the event handler. 2) Define event based on delegate type3) define a protect virtual method that raises the event4) when it occurs, invoke the protected virtual method defined in the preceding step
Ch1Directives, where? can be placed anywhere in page, but usually at the top in <%@ %> tags
Ch 1Managed Apps? Apps run under the CLR
Ch 1register directive registers a custom server control or user control to be used in an aspx
Ch 1Inheritance Allow you to create new types based on existing types
Ch 1CLR provides a managed, language agnostic environment for running apps
Ch 1 Members of Page Class - Client Target Info about client browser and its abilities
ch 13 benefits of precompiling? 1) catch any compilation errors before deploying the web page2) do not have to distribute source code of code behind file3) if development and deployment use diff versions of .Net Framework, pre-compilation ensures that it is compiled using the proper version of the Framework libraries
Ch 1code behind and src src file is compiled at runtime, codebehind attribute only used during VS.Net development; not recognized by ASP.Net
Ch 1Members of Page class - onUnload (METHOD)Raises the unload event. Protected method derived from the CONTROL class
Ch 1CLR is based on what? CLI (Common Language Infrastructure)
ch 1number of page directives allowed? 1 and ONLY 1
Ch 1EnableViewStateMAC of page directive indicates whether encrypted view state should be verified against MAC to assure that is is not tampered with
ch 1ClassName of page directive specifies name for the dynamically generated class file for the aspx
Ch 1Where will an objects members be created? In the HEAP, and just stores a pointer to that memory.
Review 1AdRotator control? 1) Display randomly selected ad banner on web page.2) uses settings in an XML advertisement file
Review 1When to set properties? 2 times 1) design time2) run time
Ch 1outputcache directive? Controls the output caching of aspx page or ascx file
Ch 1Namespace and inheritance hierarchy? Have nothing to do with each other. May inherit accross classes.
Ch 1delegate special class with an object capable of storing methods with a particular prototype
Ch 1Everytype is derived from what? The Object class of the System namespace
Ch 1Members of the page class - Visible (PROPERTY)Indicates whether the page should be displayed
Ch 17 Advantages of ASP.NET 1) Enhanced Applications Development Model2) Rich Class Library Support3) Performance4) Scalability5) Security6) Manageability7) Extensibility
Ch 1How does ASP.Net know whether to compile a page? It maintains a link between the source and the dll. If the timestamps are different then it RECOMPILES!
Ch 1STRUCT and inheritance? STRUCT type values cannot be used for INHERITANCE
aspnet_isapi.dll? calls the asp.net worker process
Ch 1Web garden? Processing is distributed between different processors in a multi-processor computer
Ch 1Members of Page Class - OnError (derived from what class) (Method) Raises error event. Protected method derived from TemplateControl class
ch 1outputcache directive controls the output caching of an aspx or ascx
Ch 1What class does a compiled page directly inherit from? System.Web.UI.Page
Ch 1Advantage - Enhanced Applications Development Model 1) Treat html elements as objects2) Maintains states for you
ch 1how does a subscriber class subscribe to a publisher? by registering an appropriate event handler
Ch 1Import directive? imports a namespace into the page, user control, or application
Ch 1Members of Page Class - EnableViewState Indicates whether viewstate is maintained
Ch 1Members of the Page class -Server (PROPERTY)Access to the server objectd associated to the page
Ch 1Framework Class Library? Collection of Reusable types allowing you to develop a variety of apps
ch 1reflection? technique that allows you to dynamically get information about types.
Review 14 list web server controls? 1) ListBox2) DropDownlist3) CheckboxList4) RadioButtonList
Review 1Calendar control? Display a single month on a web page. Select dates and move to previous month
Ch 1declaration of variables and the render blocks A BIG NO NO! declaration of variables is class level code
ch 1how do you register an event handler? encapsulate the event handler in a delegate object and add the delegate to the eventAddHandler Me.PreRender, AddressOf Me.Page_PreRender
Review 1Setting control property at design time? Specify desired property value in control's property window
Ch 1ASP.Net compilation? ASP.Net pages are compiled into a class before execution.
Ch 14 Stages in ASP.Net processing? 1) Page Initialization (init)2) User code initialization (load)3) PreRender (prerender)4) PageCleanup (unload)
Ch 1Derived class? In INHERITANCE, it's the new type inheriting attributes from the BASE CLASS
Ch 12 main components of the .Net framework 1) CLR2) FCL (Framework Class Library)
Ch 12 security modes in .Net? Forms authentication and Passport authentication
Ch 1LCID of page directive? Defines 32 bit locale identifier for code in the page
Ch 1How many base classes can a derived class have in VB.Net? ONLY 1
Ch 1Advantage - Extensibility Can write your own custom components
Ch 1Buffer of page directive indicates if http response buffer is enabled. Default is TRUE
Ch 15 compilers provided by MSFT? 1) C#2) VB.Net3) Managed C++4) Jscript.Net5) Java.Net
Ch 1Reference types? Another name for classes, because they use pointers
Review 1Client side event handling (good for what?) MouseMove or KeyPresssame techniques still work in handling events for HTML server controls
Ch 1vbc.exe? The VB.Net compilerConverts the source file to a .dll
Review 1preferred way to add client side event handling code for web server controls? Use the ATTRIBUTE property
Ch 1What are the 2 main parts of the ASP.Net infrastructure? 1) Set of classes and interfaces for enabling communication between browser and web server in the System.Web namespace2) A RUNTIME HOST to handle web requests. Loads CLR into a process, creates application domains in the process, then loads and executes the code within the application domains.
ch 1page directive specifies page related attributes that are used by the .net compiler when the web client requests the aspx page
Ch 1Compiler options of page directive indicates the compiler options and switches to be passed to the compiler
Ch 1Members of Page Class - Error (EVENT) Occurs when an unhandled exception happens
Ch 1Members of Page Class - MapPath (METHOD) Returns the actual physical path corresponding to a virtual path
ch 1description of page directive represents description of the page. PAGE COMPILERS IGNORE THIS!
ch 1calling a derived class and exam tip about base class? your derived class should call the base class from an overridden method to achieve full functionality of the base class
ch 1define the pre-render event? Public Event PreRender As EventHandler
Ch 13 steps to subscribing to event? 1) implement event handler with signature specified by delgate object of event2) create a delegate object for the event3) attach the event handler to the event
Ch 1handling events by attaching the delegates? set AutoEventWireup to FALSE!
Ch 1Advantage - Manageability config files are stored as simply plain textMost config changes do not require a server restart
Ch 1Classes? ecapsulates field, property, methods, and events for a user defined type
aspnet_wp.exe ASP.net worker process.
Ch 1 Inherits of page directive represents name of code-behind class that contains code for the aspx page
Ch 15 important things provided by PageClass? 1) State Management2) Access to intrinsic objects3) Information about client4) Access to controls placed on page5) notifications for handling page level events
Ch 1Advantage - Security has access to built in .Net security modes.
Ch 1Application domains. Provide a secure unit of processing the isolates running applications. Ensure that code running in one process cannot adversely affect code in another process
Ch 1EnableSessionState property of page directive whether Session state is enabled True, Read Only, False. Default is TRUE
Review 1preferred way of creating web forms and VS.Net? code behind with precomilation
ch 1what is this?Public Delegate Sub EventHandler(sender As Object, e As EventArgs) definition of event handler
Review 1Directives, 4 options Allow you to specify various compiler options1) Caching2) Set references3) Import namespaces4) Register controls
Ch 1Members of the page class -Trace (PROPERTY)Returns the trace context object for the current HTTP request
Ch 15 important parts of VS.Net? 1) IDE (development, compilation, debugging, and deployment)2) Editing tools3) Integrated Debugging4) Deplyment Tools5) Automation
Ch 1How is FCL organized? Into hierarchical namespaces
Ch 1what if you do not want to inherit from the base class? you must attach a delegate object to the event instead
Review 1HTML server controls? 1) exist to provide easy migration path for existing web forms2) runat=server makes it easy to convert!
Ch 1Advantages - Rich Class Library Support Many classes accessible to any ASP.Net programs
ch 1ClientTarget of page directive represents the target user agent according to which page should be rendered
Review 1Server Controls? (2 things and also 2 categories) 1) Directly accessible on Web server2) HTML server controls and Web server controls
Ch 1autoEventWireUp of page directive indicates if asp should connect methods with specific names such as Page_Init and Page_load...default TRUE. Pages created using VS.Net, default is FALSE
ch 1reference directive indicates a web page or user control that should be compiled and linked during compilation of the aspx page that contains the reference directive (can be aspx or ascx)
Ch 1CodePage of page directive indicates the culture code page value
ch 1culture of page directive sets the culture
Review 1Code-behind? 3 things 1) separate user interface from business logic2) UI is in aspx file3) business logic code is in .vb file
Ch 1Members of Page Class - OnLoad() (METHOD) Raises the Load event (protected event derived from control class)
Ch 18 directives? 1) Assembly2) Control3) Implements4) Import5) OutputCache6) Page7) Reference8) Register
Review 1What does asp.net do with HTML server controls? 2 things and 2 events that it can raise? 1) analyzes HTTP post to find any events need to be raised at server side and raises all such events2) ServerClick or ServerChange event
Review 1SRC attribute?Inherits attribute? 1) specifies name of code-behind file2) specify name of class that contains the code for the aspx page
Ch 1event arguments, what? and type? -specifies data associated with an eventeventargs type
Ch 1Members of Page Class - Controls Returns ControlCollection object that represents collection of all page controls
ch 1how to precompile? 1) open VS command prompt2) make sure bin sub-directory exists3) vbc /t:library /r:[framework system dll] /r:[framework system web dll]/out:[bin] file.vb
Ch 1WarningLevel of page directive warning level at which compilation should be stopped....values 0 through 4
Ch 1advantages of attachiung a delegate object to event instead of inheriting from base class? 4 steps 1) more flexible2) delegates allow attaching single event handler to multiple events3) delegates allow to dynamically add and remove event handlers for event4) subscriber class not required
Review 1Page Directive? Used to specicfy page related attributes that helps ASP.Net know how to compile and execute thep page.
Review 1Web server controls? 1) Rich and consisten programming model that integrates with .Net framework
ch 14 overview steps to publishing and subscribing to an event? 1) Publishing event2) Subscribing to event3) Event handling4) Handle event by overriding the virtual, protected method of the baseclass
ch 1protected virtual methods and classes? each class creates this protected method that notifies the other event handlers when the event occurs
Ch 1Event handling? enables a class to notify other classes when something of interest happens.
Ch 1Advantage - Scalability Support Web Gardens and Web Farms
Ch 1Compilation error messages? By default, Only displays the full error message when you're running the code from a browser on the IIS server.
ch 1implements directive? indicates that the aspx page or the ascx file implements the interface specified by the Interface attribute of the directive
Review 12 container controls? 2 things 1) Placeholder and Panel. 2) Organize other controls at design time or on the fly!
Ch 1Steps to deliver a page? 6 steps 1) IIS identifies it as a .net request and passes it to aspnet_isapi.dll2) aspnet_isapi.dll passes it to aspnet_wp.exe3) Compiles aspx into an assembly, creates application domain, and tells CLR to execute the assembly in the domain4) Assembly uses various classes in FCL to do its job and generate a response5) Worker process (asp_wp.exe) collects response, creates response packet and passes it to IIS.6) IIS forwards response back to the client machine
ch 1AddHandler ensures that the event handler will be added to the LINKED LIST, but not remove existing event handlers that are registered with the event
Ch 1What namespaces does the Page class derive from? 3 1) System.Web.UI.TemplateControl2) System.Web.UI.Control3) System.Object
Review 1How is an ASP.Net app executed? Through a series of request and response messages between client and browser.
Ch 1Members of Page Class - OnInit() (derived from what class?) (METHOD)Raises InitEvent. Derived from Control class
Ch 1event handlers 1) a method that performs custom actions in response to event notifcation.2) return void3) 2 arguments - 1 specifying object where event occured, second argument is object of type eventargs or a derived class
Review 1Autopostback? 3 controls that have it...and what happens 1) DropDownList2) RadioButton3) CheckboxWhen set to TRUE causes immediate postback of page when changed.
Ch 1Members of Page Class - RenderControl() (METHOD) Outputs content of a page to a HTMLTextWriter object and stores tracing information about the control if tracing is enabled
ch 1ildasm.exe MSIL disassembler. Use it to display type info about programs that you write.
Ch 1Members of Page Class - Load (EVENT)Occurs when page is loaded into memory
Ch 1Control directive? specifies user control related attributes that are used by asp.net compiler when the ascx file is compiled
Ch 1what if you can't see .vb file corressponding to an aspx? VS.Net hides it in default view - click SHOW ALL FILES in tool bar
ch 12 arguments of event handlers? 1) object that triggered event (the publisher)2) second argument is of type eventargs or a derived class therein.
Ch 1Members of the page class -Session (PROPERTY)Returns the session state object applicable for the current HTTP request
Ch 1SmartNavigation of page directive whether smart navigation is enabled. preserves scroll position and element focus when page is refreshed. Only supported in IE 5. Default it FALSE
other mechanism for handling events raised by the Page Class? AutoEventWireup
ch 1library vs namespace? library is a physical unit that stores namespaces. namespaces are the class
Ch 1Members of the page class -Validators (PROPERTY)Returns a collection of all validation controls contained in a page
Ch 1Members of Page Class - Application Returns the application state object for the current HTTP request
Ch 1Solutions and Projects A project can have many solutions in it
Ch 1CLI compliant compilers compile the source to what intermediate format? when? using what CIL (common intermediate language)As run timeUsing Just In Time compiling
Ch 1Members of Page Class -IsPostBack (Property) indicates whether the page is loaded on a client postback
Ch 1Transaction of page directive...4 options indicates whether transactions are support on page. Derfault is DISABLED and other possible is NOT SUPPORTED, SUPPORTED, REQUIRED, and REQUIREDNEW
Ch 1Advantage - Performance (2 things) Compiled before executed which is better than INTERPRETTED.Also caching
Ch 1Members of Page Class - PreRender() (EVENT) Occurs wen a page is about to render contents
Ch 1What happens if you define a method in between these tags and why:<% %> You will get an error. .net creates everything between those tags as 1 method. You cannot create a method in a method.
Ch 1code between #region and #end region? only used at design time in visual designers, not present in compiled code
Ch 1Members of Page Class - Request() (PROPERTY) Returns the request object that contains information about the current HTTP request
ch 1adding event handlers of the load event? must be done by adding new instances of the delegate to it.
Ch 1TraceMode of page directive indicates how trace messages are to be displayed when tracing is enabled. Default is SORTBYTIME and other possible is SORTBYCATEGORY
ch 1debug of page directive indicates if compilation should include debug symbols
ch 1what is this a definition of:Public Delegate Sub EventHandler(By Val Sender As Object, ByVal e As EventArgs) Delegate
Ch 1Web farm? Processing is distributed between different computers
Ch 1aspCompat of page directive indicates whether page is to be executed using a Single Threaded Apartment model. DEFAULT is false!
ch 1what are namespaces good for? to organize classes and other programming elements...this is done by enclosing all of the code in a namespace
Ch 1Value type? In vb.net, similar top reference type however they don't use a pointer to store data. They simply store the data directly
Ch 13 features of the .Net Development environment 1) Consistent Development Model2) Robust Execution Development3) Support for Standards (XML, SOAP, CLI)
ch 13 benefits of web forms? 1) support code behind for separation of business logic fro UI2) provide event based programming model3) support for RAD tools such as VS.Net
Ch 1What is in the .Net framework SDK? 5 things 1) .Net framework2) Language Compilers (command line)3) Tools and debuggers VB, C#, JScript, non-optimizing C++4) Tools and Debuggers5) Documentation
Ch 1Namespaces Allow you to avoid confusion and conflicts by logically grouping the many .Net classes
ch 1link UI and business logic when they're in separate files? using SRC and Inherits directives
Ch 1.net user interface and business logic separation of GUI and business logicAKA code-behind
Ch 1Base class? In INHERITANCE, it's the original type used to create the DERIVED CLASS
Ch 1Assembly directive? 2 things links an assembly to the web application during compilation. Similar to /reference switch in vbc.exe
Ch 1 Members of Page Class - Response reponse object for the current http request
ch 1attaching an event handler to the Load event? only through its delegate object
Ch 1Raising the event? The process of one class generating an event notification for another class.
Ch 1Members of Page Class - Cache Returns the cache object of the application to which the page belongs
Ch 1Members of Page Class -IsValid (PROPERTY) Indicates whether all validation controls on a page succeeded
Ch 1errorpage of page directive Specifies error page where user is directed
ch 1content tpye of page directive mime type
Ch 12 distinct pieces of a VS.Net web form? ui in aspxbusiness logic in .vb
ch 1invocation of 3 steps in ASP.NET page 1) onInit2) onLoad3) onPreRender
Ch 1Difference betwixt Properties and Fields? Property is not a storage location, but rather a set of accessors that contain code to be executed when the property value is read or written.This allows properties to preprocess data before it is read or written.
Ch 1ResponseEncoding Defines response encoding for the page such as UTF7Encoding, UTF8Encoding, ASCIIEncoding, UnicodeEncoding and so on
Ch 1event? based on what? publisher subscriber model
Review 13 types of buttons? 1) Button2) LinkButton3) ImageButton
Review 1How to load control dynamically? 1) Reserve space with placeholder or panel control.2) Create controls in code by declaring and instantiating variables of the proper class3) add new controls to the Controls collection of Panel or Placeholder
Ch 1code behind? The concept of separating GUI and business logic
ch 1removeHandler? removes event handler from the registered event handlers
ch 1what happens when a method name is used with the AddressOf operator? It works as a reference to the actual method definition
Review 1What if you are precompiling the code behind file? Then you need not specify the SRC attribute
Ch 1 Members of the page class - SmartNavigation (PROPERTY)Indicates whether smart navigation is enabled for the page
Review 1Where to define class level code? NOT in between the render blocks!!
ch 1significants of imports directive? just include the namespace with imports, and compiler knows to look for classes in those namespace. this SAVES typing
Ch 1Strict of page directive whether page should be compiled using Option Strict. Default is FALSe
Review 1each aspx file? derives from? 1) converted to a class that derives from System.Web.UI.Page.Class2) Compiled to a dll when the page is opened in browser for first time
Ch 1CLI provides what? A rich type system
Ch 1EnableViewState of page directive indicates whether view state is maintained for page and containers. Default is TRUE
Ch 1Language of page directive? any .net programming language
Ch 1Explicit of Page directive whether all variables must be explicitly declared. default FALSE!
Ch 1Trace of page directive indicates whether page level caching is enabled
Ch 1What is the System namespace in the FCL? Serves as the ROOT NAMESPACE
Ch 1What is an object? An instance of a class.Created from class blueprint, but PHYSICALLY exist in memory
Ch 1Members of the page class -Unload (EVENT) occurs when a page is unloaded from memory
Review 1How to access HTML controls in VS.Net? 2 things 1) Use the HTML tab of VS.Net2) Not programatically accessible on the web server
Ch 1 Members of Page Class - Init (EVENT) Occurs when page is initialized (first step in the page life cycle)
Ch 1Directives? Specify settings used by the page compiler when it processes the .Net pages.
Review 17 advantages of .Net 1) enhanced application development model2) rich class library support3) performance4) scalability5) security6) manageability7) extensibility
ch 1what does AutoEventWireup require? using specific names for the event handlers of Page class events. Has to be of type Page_eventNameie Page_Init, Page_Load, Page_PreRender
Review 1Setting control properties at runtime? assigns value using control.property = value syntax