Question1. What is the purpose of a StateBag class?
Question2. Describe five benefits of using virtual directories while developing an ASP.NET web application.
Question3. List the sequence of events in a page execution lifecycle.
Question4. When you add items to Application State, the items can be accessed within multiple web pages concurrently. This fact can result in conflicts and problems.
(i) Analyze and explain fully what is incorrect in the ASP.NET extract codes given below.
(ii) Make necessary amendments to the codes to provide an appropriate solution to the underlying problem.
Question5. Compare manual and automatic data binding in a .NET application.
Question6. Describe three ways to prevent SQL database injection attacks.