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 439 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Subscribe to the ItemDataBound event of the ListView control and then dynamically instantiate the user control corresponding to the current product type.3
Add an OutputCachingAttribute attribute to the Index action of the UserController.5
Add the following event handler:5
How to get the first element of an array in C#2
How to get the first element of an array in C#2
Create a MasterPage called Layout.master with two ContentPlaceholder controls to represent the two variable areas of the page.,Create the web pages using the following directive below:2
What interface should I implement to make my class serializable in .NET?