Tribhuvan University

Institute of Science and Technology

2080

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.

Group A

Attempt any two questions.

1

How do you cache the information of the client and what are its uses? Create a table named BAG(ID, Brand, Price, Date). Perform the following operations using Entity Framework Core.

  1. Update the Price of those Book to 2000 which are published on 2022.
  2. Delete the Book which are published in 1981
  3. Retrieve the Brand of Book having price greater than 500
2

How do you manage state on stateless HTTP? How do you validate form using JQuery? Describe with your own assumptions.

3

What are the needs for partial class and sealed class? How do you relate delegate with events? State the steps to depl0y .NET core application.

Group B

Attempt any eight questions.

4

Desribe the importance of MVC pattern in designing web applications.

5

How do you create controller? Mention some requirements for rendering HTML.

6

What is the role of adapter class in ADO.NET? List some features of URL routing.

7

Explain the chances of SQL injection attack with a scenario.

8

Define claim and policy in terms of authorization. How and when do you create hidden fields?

9

Mention the two types of services managed by IoC container and how they are registered?

10

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.

11

What are tag helpers? What tag helper provides?

12

Write short notes on (any two)

  1. Lambda Expression
  2. Cross Site Request Forgery
  3. Single Page Application