Question from the ASP .NET test

Create a controller named "UsersController", with an action "Index".,In the Index.cshtml file, define the following directive @model MvcApplication.Model.User

Hard

You are in charge of developing an ASP.NET MVC 3 application. You need to set up a page to list the users of your application.

The class representing a user is called MvcApplication.Model.User and the page must be accessible via the url http://localhost/Users/.

What do you need to set up to achieve this goal?

Author: Nicolas LaurentStatus: PublishedQuestion passed 367 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!