Note: In order to ensure readability, controller, View, Model, Route, action and other asp.net mvc core words in the text are not translated.
Iteration 1-Creating an application
In this series, we will create a contact management application from start to start. We can use it to manage contact information for relatives, friends, and co-workers, such as first name, phone number, e-mail address, and so on.
We will develop this application iteratively, and gradually expand and improve the application during each iteration.
This iteration
In this first iteration, we will build the Contanct Manager's most basic application in the quickest and easiest way. In the next iteration, we will gradually improve the design of the application.
The contact Manager is a basic database-driven application. You can use it to create new contacts, edit existing contacts, or delete those contacts.
In this iteration we will complete the following steps:
Build the ASP.net MVC application.
Establish a database.
Use AEF to establish the entity model.
Create a controller action and a view to list the contacts that exist in all databases.
Also, create controller action and view to add new contacts to the database.
Create a controller action and view implementation to edit an existing contact record in the database.
Establish the controller action and view to implement the delete operation on the contacts that already exist in the database.
Development environment
My development environment is the asp.net MVC Framework rc2,visual Studio 2008sp1,sql2005sp2
The specific installation method or something here is omitted, the predecessors have said too much. You can go to heavy pawnage, Q.lee.lulu blog to see.