Differentiate between error and exception. Write a program to take the input for any five subjects and throw the exception if the given marks is negative or exceed 100.
What do you mean by dependency injection and IOC container? Describe the methods for creating controller and action with example.
Why do we need reader and adapter class? Using ADO.NET, in a relation BOOK (id, author, name, price), delete the books having price less than 500.
Attempt any Eight questions
[8x5=40]Explain about MSIL and CLR.
Describe the MVC pattern in ASP.NET.
How do you create form using React? Illustrate with an example.
Define cookies. What are the uses of hidden fields?
Why do we need to validate form in client side? Justify with an example.
Illustrate the concept of SQL injection with an example.
List the uses of docker. How do you secure controller and action methods?
What is the use of session state? Discuss about single page application.
Define JSON. What is the use of base keyword? Give an example.