In Asp .Net core 2.1, the default web application template is razor page.
In Razor Page: Model, View & Controller resides in the same page. Its good for pages which does not have much dyanmic data.
Razor page is part of MVC. Razor page is good in maintaining views. You can do 80% of functionalities in Razor page itself if you are not using Ajax Calls or JavaScript coding.
MVC is preferred to retrieve data,
In Razor Page: Model, View & Controller resides in the same page. Its good for pages which does not have much dyanmic data.
Razor page is part of MVC. Razor page is good in maintaining views. You can do 80% of functionalities in Razor page itself if you are not using Ajax Calls or JavaScript coding.
MVC is preferred to retrieve data,
Razor Page
HTML Views
| MVC/Web API
REST API calls, SOA
|
No comments:
Post a Comment