• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/56

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

56 Cards in this Set

  • Front
  • Back

Application state



Session state

Application state enables sharing of data across multiple sessions



Session state manages data sent from one page to be used by another page later.

HttpContext

HttpContext is a class that includes the intrinsic objects: Request and Response.

What four levels of the ASP.NET framework assist with state management control?



a.analysis, design, code, and test


b.client, server, host, and domain


c.application, state, page, and request

c.application, state, page, and request

What data types can be stored in view state?
a. strings, integers, Boolean, arrays, arraylist, hash table and custom type converters
b. name, IP address, URL
c. vectors, pixels, void, and media types

a. strings, integers, Boolean, arrays, arraylist, hash table and custom type converters

Page life cycle events

Page life cycle events occur when an ASP.NET page is requested by a browser, such as PreInit, Load, and Render

Control events



Application events

Control events are initiated by actions performed on specific controls, such as a Button control’s Click event or a TextBox control’s TextChanged event.



Application events are invoked by the HttpApplication object (such as BeginRequest,
EndRequest, and Error) during the lifetime of an application.

Session

Session events occur during a user’s session.

Which type of control is best for adding a dynamic calendar to the site?
a. user control
b. validation control
c. server control

c. server control

To ensure that the user enters the data in the correct format for
the currency converter, what controls must be included?
a. user controls
b. validation controls
c. web controls

b. validation controls

What type of control allows the user to modify the appearance
and behavior of the user interface directly from the browser?
a. web control
b. user control
c. server control

a. web control

User controls



Server controls

User controls may contain HTML markup, web controls, and server controls, created using a visual design surface resulting in an .ascx file.



Server controls can be used in .aspx pages, user controls, and other server controls, rendering HTML markup when viewed in an ASP.NET web page.

Web controls



Validation controls

Web controls define the methods, properties, and events common to all controls in the WebControls namespace.



Validation controls inherit from the base Web Control class providing validation functions using very specific sets of rules that are applied to user-entered data.

Web.config



Machine.config


Web.config contains configuration settings for an ASP.NET web application.



Machine.config contains the ASP.NET settings that apply to the entire web server.

Remoting



Channels transport

Remoting can be used to communicate with other application domains in the same process, or components that may exist in other processes, and so on.



Channels transport messages between applications across remoting boundaries, whether between application
domains, processes, or computers

DataSet objects note

Because DataSet
objects may store a
large amount of data in
memory, they are often
very resource-intensive,
and should be used
judiciously.

DataSet

DataSet is a memory-resident representation of data that provides a consistent relational programming model regardless of the source of the data it contains.

DataReader



Data binding

DataReader is a lightweight, high-performance data access object used for read-only access.



Data binding establishes a connection between an ASP.NET web page control and a data source.

What is the first step in creating a basic Windows Communication Foundation (WCF) service?
a. configure a WFC client
b. create a WFC client
c. define a WFC service contract

c. define a WFC service contract

What is the last step in creating the WFC service?
a. compile the service code, using the ServiceModel Metadata Utility Tool
(Svcutil.exe) to create the WCF client
b. define a WFC service contract
c. implement the service contract

a. compile the service code using the ServiceModel Metadata Utility Tool to create the WCF client
(http://msdn.microsoft.com/en-us/library/aa347733.aspx)

After the service is compiled using the ServiceModel Metadata Utility
Tool, what type of file is created to specify the configuration to the client?
a. an HTML file
b. an XML file
c. a JavaScript file

b. an XML file

The basic life cycle of a WFC application

1. Define the service contract.
2. Implement the contract.
3. Configure the service by specifying endpoint information and other behavior
information.
4. Host the service in an application.
5. Build a client application.

Which DataSource would be used to provide access to ASP.NET server
controls such as TreeView or Menu Control?
a. LinqDataSource
b. SqlDataSource
c. XmlDataSource

The DataSource that would provide access to ASP.NET server controls such as TreeView or Menu Control is:
c. XmlDataSource

What is a benefit of using DataSource controls?
a. reduce the amount of code required to access data
b. provide quicker access to the data
c. allow the user to access more data at one time

A benefit of using DataSource controls is:
a. reduce the amount of code required to access data

LinqDataSource

LinqDataSource enables the use of LINQ in an ASP.NET Web page through markup text to retrieve and
modify data from a data object.

ObjectDataSource

ObjectDataSource represents a business object that provides data to data-bound controls in multitier web
application architectures.

XmlDataSource

XmlDataSource belongs to the family of data source controls in ASP.NET, which
enables a declarative data-binding model against a variety of underlying data stores.

SqlDataSource

SqlDataSource represents a connection to an ADO.NET SQL database
provider, such as Structured Query Language (SQL), OLEDB, ODBC, or Oracle.

Typically, each binding has four components:
a. a binding target object, a path to the value in the binding source, data conversion default value, and
collection view
b. a binding target object, a target property, a binding source, and a path to the value in the binding
source
c. a target property, a binding source, data conversion default value, and a path to the value in the
binding source

b. a binding target object, a target property, a binding source, and a path to the value in the
binding source

What are the four levels of error handling in a web application?
a. page level, application level, server level, and GUI level
b. code block error handling, page level, server level, and IIS level
c. code block error handling, page level, application level, and server level

c. code block error handling, page level, application level, and server level

handler

A handler processes a particular type of message. This might be a separately defined method or an anonymous delegate (inline code).

Which of the following is NOT a benefit of client-side scripting:
a. it increases user interactivity
b. it allows pages to share scripts
c. it is functional on all browsers

c. functional on all browsers. The browser must be enabled to run scripts

Which of the following is NOT a benefit of client-side scripting:
a. it increases user interactivity
b. it allows pages to share scripts
c. it is functional on all browsers

b. The number of scripts that can be attached to one page is limited. There is no limit.

Which of the following is NOT a scripting language:
a. Perl
b. AJAX
c. Java

c. Java. It can be confusing, but JavaScript and Java are two different development languages
with distinct purposes.

Client-side scripting

Client-side scripting runs within the user’s web browser and generate elements such as alert displays, confirmation boxes, and pop-up windows.

Web form applications created with AJAX feature:
a. automatic login security
b. interactive UI elements such as progress indicators, tooltips, and pop-up windows
c. a design to send and receive data for each user request, including the visual design
of the page

b

AJAX provides:
a. support for most browsers
b. a Microsoft AJAX library that includes both JavaScript and C# programs
c. a timer control to send complete postbacks every five minutes

b

How does forms-based authentication determine a user’s access to the site?
a. redirects the user to a login page and compares the user’s credentials to a
list of valid users
b. creates a cookie that contains the user’s name and role
c. requires the user to have a Windows account that can be authenticated by a Web server

a redirecting the user to a login page and comparing the user’s credentials to a list of
valid users

Forms authentication



Windows authentication



Authorization

Forms authentication uses an authentication ticket that is created when a user logs on to a site; then it
tracks the user throughout the site.
Windows authentication is an ASP.NET web application that relies on the Windows operating system to
authenticate the user.
Authorization determines whether an identity should be granted access to a specific resource.

Which of the following form the fundamental unit of deployment?
a. assemblies
b. configuration files
c. web application projects

a. assemblies

Why do assemblies need a strong name that is fully qualified?
a. the name is used to deploy an assembly into the GAC (Global Assembly Cache)
b. the name is used at run time to locate the assembly and impacts the scope and use by an application.
c. the name is used to provide security permissions.

b. the name is used at run time to locate the assembly and impacts the scope and
use by an application

Assemblies

Assemblies are the building blocks of Microsoft .NET Framework applications; they form the fundamental
unit of deployment, version control, reuse, activation scoping, and security permissions.

A Web Application Project

A Web Application Project is a model for creating a web application (a set of clients and servers
that cooperate to provide the solution to a problem); the structure and build semantics
closely resemble the project model in Visual Studio® .NET.

A Web Site Project

A Web Site Project is a model for creating a website (a group of related HTML documents
and associated files, scripts, and databases that is served up by a server on the World Wide Web);
the structure is a Windows-style arrangement of files and folders that dynamically compile
when a site is opened.

AppSettings

AppSettings section of the configuration file contains a series of name/value
pairs use for various purposes.

When deploying an ASP.NET application, where are the configuration settings stored?
a. Microsoft IIS metabase
b. XML files
c. HTML files

b. XML files

Which of these describes an MSI deployment?
a. creates a Microsoft Windows installer package with instructions and data to install an application
b. copies the entire directory with the application and configuration files at one time
c. publishes a non-updatable application to the Web server

a. creates a Microsoft Windows installer package with instructions and data to install an
application

Manuel knows that the configuration of an ASP.NET installation depends upon
the destination’s version of IIS. If the A. Datum Corporation is using
Windows 2000 Server®, which version of IIS will be running?
a. IIS 5.0
b. IIS 6.0


c. IIS 7.0

a. IIS 5.0

An MSI file

An MSI file (Microsoft Windows Installer package (.msi) is a file containing the instructions
and data required to install an application.

ASP.NET configuration data

ASP.NET configuration data is stored in XML text files named web.config. that can appear
in multiple directories in ASP.NET applications.

What is an application pool?
a. a group of one or more URLS that are served by a worker process or set of worker processes
b. a group of configuration files that are stored in the same directory as the content
c. something that contains any project created at an HTTP location in the new project dialog box

a. a group of one or more URLS that are served by a worker process or set of worker processes

If an error occurs when adding an application pool, what is a good place
to start looking for problems?
a. check to make sure the pool name is unique
b. check the settings in the web.config file
c. check the GAC (Global Assembly Cache)

a. check to make sure the pool name is unique

New input states support supported by IE

Search state


<input id="search" type="search" placeholder="Search..."/>



Telephone state


<input id="work_phone" type="tel" required placeholder="(425) 555-0067"/>



URL and Email states


<input type="url" name="myUrl"/> <input type="email" name="myEmail"/>



Number states


Range state

The progress element

The progress element, defined in section 4.10.16 of the HTML5 specification, creates a bar that shows the progress of a task (determinate mode), or shows that a task is running but percentage of completion isn't known (indeterminatemode), or both.

JSON sample - model the data bellow



Phone


Home: 609


Mobile: 204

{"phone":{"home":"609","mobile":"204"}}

Code string in JSON

String use "" - "first_name": "Dale"


Int use numerals - "age": 26


Bool - true/false - "enrolled":true


Unknown - null - "married":null


Object - "address": {"street": "Home", "number":12}

The progress element Indeterminate mode syntax

<progress>fallback text</progress>