2081
.NET 2081
Section A
Attempt any TWO questions.
-
Distinguish between collection and generics. What are named and positional attribute parameters? Write a program to create your own exception when the user gives subject name than “C#”.
-
How do you create controller? Illustrate with an example. Describe the procedure of rendering HTML with Razor with scenario.
-
List some advantages of Entity Framework over ADO.NET. Assume a database named “IOST” with a table FACULTY(Course_Name, CourseID, No_of_Semester, fee). Insert some records using ADO.NET and retrive the fee of records having name CSIT.
Section B
Attempt any EIGHT questions.
-
Describe the procedure of deploying .NET core application.
-
How does ASP.NET core MVC provides patterns-based way to build dynamic website? Explain.
-
Define state management. Explain the parts of state management on the client side.
-
Write a program to validate the form that takes input user name, password and phone number using JQuery. All fields must be non-empty and phone number must contain exactly 10 digits.
-
Distinguish between roles and policies. Explain about Kestrel web server in ASP.NET core.
-
Describe the life cycle of Dependency Injection container.
-
Create a class named EMPLOYEE as super class and ENGINEER and DOCTOR as sub class. Make your own assumptions as properties and methods.
-
What is the task of ORM? Discuss about open redirect attacks.
-
Write short notes on:
- Polymorphism
- Hidden Field