Asp.net mvc3.0 for beginners -- add, delete, and modify the content of an article (1)

Source: Internet
Author: User

I haven't updated my blog for a long time because of my review of the final exam. Today I have nothing to do with it. I have been taking an internship for my first company for nearly a few days. I will share some mvc3.0 things I have learned during the trial, I hope to help beginners like me, and I hope the elders can give me some suggestions. Thank you first!
I really wanted to learn MVC before I had an internship. But after reading some documents, I felt that the water was so deep that I didn't insist on reading it. MVC is short for model, view, and contorl, that is, model, view, and controller. Here is a good blog for beginners -- Zhang Ziqiu's blog Http://www.cnblogs.com/zhangziqiu/archive/2009/02/27/aspnet-mvc-1.html ). I am very helpful in understanding basic concepts.
When I first came to the company, I wrote Asp.net because I didn't have MVC learning experience before. Program Development experience. So the project manager assigned me a task to implement Article Add, delete, modify, and pagination of the content, filter by category, and change the content to Ajax without refreshing data acquisition and submission, the time is 5 to 10 days (I heard the pressure at that time, but I still had a lot of internship opportunities if I couldn't finish it. After all, I am still in school ). As a result, I calmed down and began to learn materials. Next I will tell you how I 've been here over the past few days.
This is basically the first day. I re-installed my computer in the morning. The company installed the English version. It was a good senior. I used the English version of the system for the first time. After installing the system, start the IIS service by yourself. Otherwise, the programs in Vs will not be executed. IIS simple installation and configuration in Windows 7 (detailed illustration): http://ons.me/147.html
Then install vs2010 and sql2008. To download the installation of aspnetmvc3toolsupdatesetup.exe, this is to create the MVC program must be installed, you can go to the Microsoft official website to download, as follows: http://www.microsoft.com/zh-cn/download/details.aspx? Id = 1491 download and install it on your own. After installation, restart vs2010.
It's time for dinner. In the afternoon, I found some examples of creating an Asp.net mvc3.0 project and learned how to connect the three layers. The error message is: The provider did not return a providermanifesttoken string. the reason seems to be that I created an empty project, and the controllers Folder does not contain control. As a result, at startup, global. the default display page cannot be found for the route set in the asax file.
First, I created a database in SQL Server,

Database Structure

Create a project in vs2010, name it atriclemanagersystem, add an item in the models folder, and select ado.net Object Data Model in the data column.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.