Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created an ASP.NET MVC 3 web application and installed mvcscaffolding by this way:

"Install-Package MvcScaffolding".

Then i created a model named Team like:
C#
public class Team
   {
       public int TeamId { get; set; }
       [Required]
       public string Name { get; set; }
       public string City { get; set; }
       public DateTime Founded { get; set; }
   }


I Scaffolded then it by this way: "Scaffold Controller Team" on Package Manager Console menu.

that was also successfully worked. but I can run the project successfully it shows "page not found"
I also tried to install entity framework by this way "Install-Package EFCodeFirst.SqlServerCompact"

it failed. but why?
I am beginner. So please put your answer details.

Thanks in advance
Posted
Comments
Sampath Lokuge 4-Jun-14 7:19am    
Have you followed any article ? If so plz share it with us ?
Er Daljeet Singh 4-Jun-14 8:54am    
What's your exact problem you are saying "Page Not found" its another issue if have problem with entity framework then let us know.
rayhan12345 5-Jun-14 0:12am    
My actual problem is "Install-Package EFCodeFirst.SqlServerCompact" failed to run.
rayhan12345 5-Jun-14 2:04am    
YEs I got it!!! thanks all for response.

1 solution

I am just missing connection string in web config.......:-(
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Jun-14 20:31pm    
Not an answer. Such posts are considered as abuse. Instead, please use comments and/or "Improve question".
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900