Attempt any Eight questions.
[8*5=40]
4.
How do you create controller? Mention some requirements for rendering HTML. [5]
5.
What is the role of adapter class in ADO.NET? List some features of URL routing. [5]
6.
Explain the chances of SQL injection attack with a scenario. [5]
7.
Define claim and policy in terms of authorization. How and when do you create hidden fields? [5]
8.
Mention the two types of services managed by IoC container and how they are registered? [5]
9.
Differentiate between generic and non-generic collections. Write a simple program to create generic class with generic constructor, generic member variable, generic property and generic method. [5]
10.
Write short notes on: (any two) a. Lambda Expression b. Cross Site Request Forgery c. Single Page Application [5+5+5]
11.
What are tag helpers? What tag helper provides? [5]
12.
Describe the importance of MVC pattern in designing web applications. [5]