Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Explain Razor view engine. Discuss layouts, partial views, view components and tag helpers with examples.

razorviews
2long10 marks

Describe the MVC design pattern. Explain the architecture and design principles of the ASP.NET Core framework with a diagram.

mvcaspnet-core
3long10 marks

Write methods to insert, update, delete and read data using Entity Framework Core in an ASP.NET Core application.

entity-frameworkcrud
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