4 Asp Net Core Architecture And Mvc Pattern

NET Centric Computing · Unit 4

ASP.NET Core Architecture and MVC Pattern

Exam-focused notes for ASP.NET Core Architecture and MVC Pattern (NET Centric Computing, BIT351): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.

What this unit covers

  • ASP.NET Core architecture overview
  • MVC pattern components
  • Controllers and action methods
  • Action results
  • URL routing and features
  • View rendering with HTML
  • Razor templating engine

MVC pattern components

208110 marks

What are the tasks of ASP. NET web forms? Explain the MVC pattern of ASP.NET.[10]

--- ASP.NET Web Forms is a web application framework that provides an event-driven programming model for building dynamic web pages. The major tasks of ASP.NET Web Forms are: - Web Forms handle the rendering of HTML pages to the client browser. - The .aspx ...

Full solved answer →
2081.15 marks

Describe the MVC pattern in ASP.NET. [5]

MVC (Model-View-Controller) is a software architectural design pattern that separates an application into three interconnected components, promoting organized code, separation of concerns, and easier maintainability. --- - Represents the data and business l...

Full solved answer →

Controllers and action methods

208110 marks

How do you create Controllers, Actions and Action results? Explain.[10]

Note: The reference notes did not contain specific content on this topic. The following answer is based on standard ASP.NET MVC curriculum as taught in TU BSc CSIT, using correct and widely accepted terminology. --- A Controller is a class that handles inco...

Full solved answer →

View rendering with HTML

20815 marks

How rendering HTML with views is done? Explain. [5]

In Express.js (Node.js framework), rendering HTML with views means generating and sending dynamic HTML pages to the client using a template engine. Instead of writing static HTML, views allow embedding dynamic data into HTML templates. --- The most commonly...

Full solved answer →

URL routing and features

208010 marks

Define URL routing with its features. Discuss about ASP.Net core architecture.[10]

--- URL Routing is a mechanism in ASP.NET Core that maps incoming HTTP request URLs to specific controller actions or middleware handlers. Instead of mapping URLs directly to physical files on the server, routing interprets the URL pattern and dispatches th...

Full solved answer →

Razor templating engine

05 marks

Explain about Razor. [5]

Razor is a markup syntax (view engine) used in ASP.NET MVC and ASP.NET Core for creating dynamic web pages by embedding server-side code (C or VB.NET) directly into HTML markup. Note: Reference notes were not available for this topic; the following is based...

Full solved answer →