Question1. The following techniques can be employed to handle state on the web:
(i) QueryString
(ii) Cookies
(iii) Session
Explain the implications of HTTP being the stateless protocol referring to each of the above-mentione techniques.
Question2. Illustrate the purpose of following Server techniques:
(i) Server.Execute()
(ii) Server.Transfer()
Question3. Illustrate the use of the following Page directive:
(i) <%@ Page ClientTarget=”downlevel” %>
(ii) <%@ Register TagPrefix=”Forum” TagName=”Subject” Src = ”application.ascx” %>
Question4. Make a distinction between a private assembly and a shared assembly.
Question5. List all four main techniques to maintain exceptions in ASP.NET.
Question6. Describe fully the major steps to create and use the Business Component.
Question7. Using a Hyperlink control, write a program which changes the Hyperlink target destination depending on time as follows:
(i) Before noon: link to file morning.aspx
(ii) After noon: link to file afternoon.aspx
(iii) The hyperlink text should also change accordingly referencing either the text “Morning Help” or “Afternoon Help”.