Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

What is URL routing in ASP.NET Core? Explain conventional routing and attribute routing with examples.

routing
2long10 marks

Explain model binding and validation in ASP.NET Core MVC. How are data annotations used for client-side and server-side validation?

model-bindingvalidation
3long10 marks

Explain the structure of the .NET framework. Discuss the Common Language Runtime (CLR), assemblies and the Common Type System.

dotnetclr
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Explain the difference between TempData, ViewData and ViewBag.

state-management
5short5 marks

What is LINQ? Write a LINQ query to filter a list of integers.

linqcsharp
6short5 marks

Explain the lifecycle of a request in ASP.NET Core MVC.

pipeline
7short5 marks

What is the difference between AddSingleton, AddScoped and AddTransient?

dependency-injection
8short5 marks

Explain garbage collection in the .NET framework.

dotnet
9short5 marks

What is a partial view? When is it used?

razorviews
10short5 marks

Explain the difference between authentication and authorization in ASP.NET Core.

security
11short5 marks

What is asynchronous programming in C#? Explain async and await.

csharpasync
12short5 marks

Explain the use of migrations in Entity Framework Core.

entity-framework