This project is read-only.


Oct 24, 2011 at 11:02 AM



I've been searching around for the database, is there one? If not are there any instructions to get this sample working?


Thanks in advnace

Oct 24, 2011 at 8:46 PM

Hi Tony:

The sample uses the Entity Framework 4.1. EF 4.1 can create a database based on C# class definitions automatically. All you need is a local instance of SQL Express. 

Let me know if you have a specific problem or error. 

Oct 25, 2011 at 2:15 PM
Edited Oct 25, 2011 at 3:42 PM



I think i should go through the examples first and get back to you, thanks.



Oct 26, 2011 at 2:37 PM

To get around the HTTPS requirements, remove the [RequireHttps] attribute on the AccountController. It's easier to get setup and running without this attribute, otherwise you'll need to go through the steps to get an SSL endpoint up and running (which isn't really needed just to run and experiment with the application).  

May 27, 2013 at 3:17 PM

I have the same problem, there no database created when I compiled the application. I have sql server express 2012 in my machine and follows all steps In the example ,
When I made connection to the database, test connection is successful but no OdeToFoodDb is no where to found, would you help


Lan Nguyen
May 29, 2013 at 9:17 AM
Hi Lan:

Is there an error message when you run the program? If not, in 2012 the database should go to the (localdb)\v11.0 instance.