Tribhuvan University
Bachelor of Science in Computer Science and Information Technology
Semester 6 · TU Board 2078
Course Title: NET Centric Computing (CSC367)
Full Marks: 60Pass Marks: 24Time: 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.(2 × 10 = 20)
- 1.10
Differentiate between struct and enum. Why do we need to handle the exception? Illustrate with an example with your own customized exception.
- 2.10
Explain the procedure for building, running, and deploying .NET core applications. Write a program to show the possibility of SQL injection attack.
- 3.10
What are the advantages of stateless HTTP in ASP.NET core application? Create a method to insert a record (3, "John , 12000") onto the table Employee having fields Employeeld(int), Name varchar(200), Salary(int) using Entity Framework.
Group B
Attempt any eight questions.(8 × 5 = 40)
- 4.5
Define open redirect attacks. Discuss about docker and containerization.
Answer comingAlso asked in 2081
- 5.5
What is named and positional attribute parameters? Describe the .Net architecture design and principles.
- 6.5
Explain about request and response message format with example.
- 7.5
Why do we need to validate the form? How can you use react for this?
- 8.5
Define data model and data context. What does URL routing mean?
- 9.5
Give an example to manage the session state.
- 10.5
How can you prevent SQL injection attack? Explain with an example.
- 11.5
Explain the process to deploy the core application.
Answer comingAlso asked in 2081
- 12.5
Write short notes on (any two)
a.LINQ
b) Open Redirected Attack
c) Query String
— The End —