Creating views

Views and traditional HTML pages are not the same thing. The pages of the ASP.NET Core MVC application are represented by views. As I pointed out earlier, controllers receive a request and handle that request. The controller can redirect you to another controller action, but it can also return a view:

  1. We will now go ahead and create the views for our application. Expand the Home folder and add a new view called ValidateOAuth to the Home folder. Just create these views without models:
  1. Add another folder to the Views folder called Twitter and add two views to that folder called ComposeTweet and HomeTimeline. After you have ...

Get C# 7 and .NET Core 2.0 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.