1.
What will the following code snippet is written in web.config file do?
"<configuration> <
location path = ""
XYZ "" >
    <
    system.web >
    <
    authorization >
    <
    deny users = "" * "" / >
    <
    allow roles = ""
Admin "" / >
    <
    /authorization> <
    /system.web>"
2.
In ASP.NET, which of the following statements about master pages is correct:
1. The master page Init event occurs before the page Init and Load events.
2. The master page Load event occurs after the page Init and Load events.
3.
In ASP.NET, which of the following restrictions are applicable to a COM class:
1. The class must not inherit from other classes.
2. The interfaces cannot be implemented.
3. The class should not have globally unique identifier attribute.
4.
In .NET, if the current request is a postback, in which of the following general-page lifecycle stages is the page state loaded from the server memory?
5.
What is the use of the following .NET code:
Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 1, 0, 0))
Response.Expires = 0
Response.CacheControl = "no-cache"
6.
Which of the following is not a valid value that can be set under the Cache-Control property of ASP.NET?
7.
Which of the following processes automatically connects page events and event-handling functions in a ASP.NET page?
8.
In .NET, which of the following lifecycle stages occurs before the lifecycle of an ASPX page begins?
9.
In .NET, which of the following allows a postback?
10.
Which of the following statements differentiates ASP.Net from ASP?