ASP.Net MVC project run in another computer

.net asp.net-mvc c# entity-framework-6

Question

I have ASP.Net MVC project with local database of Visual Studio 2013 and I am using this database to my project through Entity Framework 6.0. I am interesting when I copy this project's folder from C:\Users...\Documents\Visual Studio 2013\Projects to another computer, if local database and it's data will be in this project and if I will able to run this project as in my computer? P.S I am using database first model. After big search I discover that database file is in location C:\Users...\AppData\Local\Microsoft\VisualStudio\SSDT, so probably problem is that. Project willn't run in other computer because database isn't in the folder

1
0
12/29/2016 2:45:39 PM

Popular Answer

As long as the other machine have installed at least the same version of VS then you will be able to run the application without problems. Anyway, if you have any problem with the database you always can run the scripts again and the Seed method that will insert your default values.

2
12/29/2016 12:56:42 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow