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. [5]
Creating ASP.NET core MVC applications
1.
How does ASP.NET core MVC provides patterns-based way to build dynamic website? Explain. [5]
Hosting and Deploying ASP.NET Core Application
1.
Describe the procedure of deploying .NET core application. [5]
Introduction to ASP.NET
1.
How do you create controller? Illustrate with an example. Describe the procedure of rendering HTML with Razor with scenario. [10]
Language Preliminaries
1.
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#'. [10]
2.
Create a class named EMPLOYEE as super class and ENGINEER and DOCTOR as sub class. Make your own assumptions as properties and methods. [5]
3.
Write short notes on: a. Polymorphism b. Hidden Field [5+5]
Securing in ASP.NET Core Application
1.
Distinguish between roles and policies. Explain about Kestrel web server in ASP.NET core. [5]
State Management on ASP.NET Core Application
1.
Define state management. Explain the parts of state management on the client side. [5]
2.
Describe the life cycle of Dependency Injection container. [5]
Working with Database
1.
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. [10]
2.
What is the task of ORM? Discuss about open redirect attacks. [5]