Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 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
2long10 marks

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

dotnetclr
3long10 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
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