Tribhuvan University
Institute of Science and Technology
Model-Set
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.
What is the difference between abstract class, interface, and sealed class? When would you use each? Write a program demonstrating the use of abstract class with abstract methods and sealed class to prevent inheritance.
What are different Action Result Types in ASP.NET Core MVC? Explain with examples. Design an API Controller that returns JSON response for a Product entity (ProductId, Name, Price, Category) with GET, POST, PUT, and DELETE operations.
Differentiate between .NET, .NET Core, and Mono frameworks. Explain the compilation and execution process of .NET applications covering CLI, MSIL, and CLR. Discuss different hosting models for ASP.NET Core applications: IIS, Nginx, Kestrel, and Docker containerization.
Section B
Attempt any EIGHT questions.
What are indexers in C#? How are they different from properties? Explain with an example.
Explain the async/await pattern in C#. Why is asynchronous programming important in web applications? Provide a simple example.
Describe the ASP.NET Core architecture overview. How does it differ from traditional ASP.NET framework architecture?
What is model binding in ASP.NET Core? Explain server-side model validation with data annotations.
Explain the role of Connection, Command, Reader, and Adapter classes in ADO.NET. How do they work together to perform database operations?
What is TempData? How is it different from Session state and ViewData? When would you use TempData over other state management techniques
Explain the use of Cache as a server-side state management strategy. What are the benefits of caching in web applications?
Compare Angular and React frameworks for building Single Page Applications (SPA) with ASP.NET Core backend. What are the advantages and disadvantages of each?
What is ASP.NET Core Identity? Explain the process of adding authentication to an application and configuring identity services.
What is the ASP.NET Core Module? How does it work with IIS to host ASP.NET Core applications?
Write short notes on (any two):