Tribhuvan University
Institute of Science and Technology
2081
Bachelor Level / sixth-semester / Science
Computer Science and Information Technology( CSC367 )
NET Centric Computing
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 8 + 8
Time: 3 Hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.
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: