I am using the tutorial from the ASP.Net MVC site to upgrade my skills to ASP.Net MVC 3, Entity Framework, SQL CE 4.0 etc. However, I am using Visual Studio 2010 Professional, not Express. On this lesson the SQL CE 4.0 database Movies.sdf is supposed to be created automatically and stored in App_Data. However, the program runs fine, I can create, insert items, stop debugging and restart and the data is still there. However there is no Movies.sdf file in the App_Data folder or any other folder in the project.
I downloaded Visual Studio 2010 Express, ran through the steps again for the tutorial, and the file is created in App_Data this time.
My question is: Where is the |DataDirectory| pointing to in Visual Studio 2010 Professional and why is it different from VS 2010 Express? Is there any way I can check before running a program where |DataDirectory| is set to?