[latihan]Memulai dengan ASP.NET MVC 5 – Adding a View

>Razor code註解符號 @*…….*@

>A controller class is where you write the code that handles the incoming browser requests, retrieves data from a database, and ultimately decides what type of response to send back to the browser.

>A view template should never perform business logic or interact with a database directly. Instead, a view template should work only with the data that’s provided to it by the controller. Maintaining thisseparation of concernshelps keep your code clean, testable and more maintainable.


Tinggalkan Komentar

Harap dicatat: Moderasi komentar diaktifkan dan dapat menunda komentar Anda. Tidak perlu mengirimkan kembali komentar Anda.