Chapter 17

 < Day Day Up > 

A1:

False. A web.config file is not required.

A2:

pageOutput in the web.config file specifies whether the trace log is appended to the Web page for display on the client's browser. If set to false, the output can be viewed in the trace.axd file in the application's root.

A3:

  1. Windows, Forms, and Microsoft Passport authentication are offered by .NET.

  2. Authentication is specified using the <authentication> element of the web.config file.

  3. Authentication verifies that a user is who he says he is; authorization determines what actions the user may perform or what resources he may access.

  4. The Page.User property provides information about a user.

A4:

Out-of-Process Session management supports storing state information on a server on process on another server.

A5:

 <%@ OutputCache Duration="180"  VaryByParam="*"                                 VaryByCustom="Browser" %> 

A6:

A data cache is read-only versus read/write for application state data. However, a data cache is much more flexible: An expiration can be assigned to it, and it can be tied to other objects, causing the cache data to be removed if the objects' value changes.

A7:

ASP.NET periodically invokes a resource scavenging process that removes less important data from a data cache. Importance is determined by priority. Thus, setting a high priority reduces the chance of the data cache being removed.

A8:

As a request or response passes through the HTTP pipeline, an Application object fires a series of events that may be handled by an HTTP module or in the global.asax file.

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net