What is ASP.NET Core MVC (A Summery)

Thusitha Wijerathne
Sep 6, 2018 · 1 min read

Specification :

  • Lightweight.
  • Open Source.
  • Highly Testable (TDD-Test Driven Developments).
  • Build dynamic websites using patterns-based way.
  • Follow clean Separation Of Concerns(SOC).
  • Follows the Single Responsibility Principle.
  • Gives full control over markup.

Model :

  • This is the state of the App.
  • Perform business logic and operations.
  • There is a ViewModel type to display data on View (Controller will populate those data from Model).

View :

  • Presenting data through interfaces.
  • It will use Razor View Engine to render those interfaces.
  • Logic should have to display data from complex Models.
  • View should contain minimal logic implementations.

Controller :

  • Basically handle user interactions.
  • Handle user inputs and interactions.
  • Process and work with Model and finally select a View to render.
  • Act as the initial entry point.
  • Responsible for selecting which model types to work with and which view to render.

REFERENCES :

https://docs.microsoft.com/en-us/aspnet/core/mvc/overview?view=aspnetcore-2.1

Thusitha Wijerathne
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade