Intro to ASP.NET MVC 4

What You'll BuildYou'll implement a simple movie-listing application that supports creating, editing, and listing movies from a database. Below are two screenshots of the application you’ll build. It includes a page that displays a list of movies from a database

 
 
 
 
 
(5)
13,040 times
Add to favorites
2/22/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Database missing
    1 Posts | Last post November 24, 2013
    • I have download this article and when I am running it I got the following error
      
      nable to find the requested .Net Framework Data Provider.  It may not be installed.
      Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
      
      Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider.  It may not be installed.
      
      Source Error:
      
      
      Line 19: public ActionResult Index()
      Line 20: {
      Line 21:     return View(db.Movies.ToList());
      Line 22: }
      Line 23: 
      
      
      I make the appropriate changes in the config file for accessing database. I do not find any attached db with this tutorials
  • Problem with the database file
    1 Posts | Last post August 18, 2012
    • I am following the tutorial using Visual Studio 2010 and I got as far as adding some movies to the database. After I went to the data connections and opened the database to view the table and the data, I could no longer run the application.  The error said the database could not be opened.  The error continued even after I closed the connection to the database (right click and close connection on the tutorial database).  If I try to delete the database file it says it is in use by SQL Server.  I had to edit the connection string to use a new database.  Now when I go to the data connections and try to open the old database it won't let me because it says the file is in use
      
      Any idea what is going wrong and how I can delete the old database files?
      Can I view the database using the Data Connections in the Server Explorer.
  • MvcMovie.csproj cannot be opened
    2 Posts | Last post May 10, 2012
    • I just installed VS2010, SP1. When I try to open the solution, I get this message:
      '...\MVC 4\C#\MvcMovie\MvcMovie.csproj' cannot be opened because its project type (.csproj) is not supported by this verstion of the application. To open it, please use a version that supports this type of project.
      
      What do I need?
    • This usually indicates SP1 is not installed correctly. We have nearly 1,500 downloads with no reported problems. Try opening other ASP.NET MVC 3/4 projects that require SP1.
  • Why is this titled "Intro to ASP.NET MVC 4" but it shows MVC3?
    2 Posts | Last post February 18, 2012
    • The article is entitled Intro to ASP.NET MVC 4, but the screenshots and directions are for ASP.NET MVC3. What gives?
    • No, it's MVC 4 Beta. It has a lot of similarity to MVC 3. Can you point out what is not MVC 4?