Now that we have the MVC controller and view ready to load the database content, we need to change the application landing page, and its main layout from the generic template code generated by Visual Studio, to our TextScoreDashboard application code.
All we want on the application landing page right now is a link to the Documents view, where we can browse the text scores.
Let's see how we can change the application home page by performing the following steps:
- To modify the landing page, navigate to Views -> Home -> Index.
- Replace the existing code with the following:
@{ ViewData["Title"] = "Home Page"; } <h2>Text Sentiment Scores Dashboard</h2> <div class="main-content"> <ul> <li> @Html.ActionLink("Document ...