Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

What is a Web API? Explain how to create a RESTful Web API in ASP.NET Core and consume it from a client.

web-apirest
2long10 marks

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

razorviews
3long10 marks

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

mvcaspnet-core
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Differentiate between struct and enum in C#.

csharp
5short5 marks

Explain exception handling in C# with an example.

csharpexception-handling
6short5 marks

Differentiate between Entity Framework and ADO.NET.

entity-framework
7short5 marks

Explain the procedure to build, run and deploy an ASP.NET Core application.

aspnet-coredeployment
8short5 marks

What are validation controls? Explain client-side validation in ASP.NET Core.

validation
9short5 marks

Explain the role of the appsettings.json and configuration in ASP.NET Core.

configuration
10short5 marks

What is a ViewModel? How does it differ from a model?

mvcviewmodel
11short5 marks

Explain the Startup class and the Program.cs in ASP.NET Core.

aspnet-core
12short5 marks

What are tag helpers? Give two examples.

razor