Update adding-view.md (#2412)
parent
de05c02e52
commit
d21eeda7a3
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
---
|
||||
title: Adding a view | Microsoft Docs
|
||||
author: rick-anderson
|
||||
description:
|
||||
|
@ -14,6 +14,8 @@ uid: tutorials/first-mvc-app/adding-view
|
|||
---
|
||||
# Adding a view
|
||||
|
||||
By [Rick Anderson](https://twitter.com/RickAndMSFT)
|
||||
|
||||
In this section you're going to modify the `HelloWorldController` class to use Razor view template files to cleanly encapsulate the process of generating HTML responses to a client.
|
||||
|
||||
You'll create a view template file using Razor. Razor-based view templates have a *.cshtml* file extension, and provide an elegant way to create HTML output using C#. Razor seamlessly blends C# and HTML, minimizing the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow.
|
||||
|
|
Loading…
Reference in New Issue