HTML and CSS Reference
In-Depth Information
Figure 13-11. Selecting the Internet template
4.
You will create a separate web page that supports the chat sessions. In the Solution
Explorer, right-click the Views\Home folder and select the Add ➤ View links.
5.
In the Add View dialog box, enter the name Chat , make sure the razor view engine
is selected, and all check boxes are unselected. Click the Add button to add the view.
6.
In the Controllers folder, open the HomeController.cs file. Add the following method
to the HomeController class:
public ActionResult Chat()
{
ViewBag.Message="Respond to chat";
return View();
}
 
Search WWH ::




Custom Search