in

How do I run a local MVC application with Entity Framework from another computer?


I am currently learning MVC with Individual Accounts Authorization and Entity Framework. My database (mdf) is in App_Data (T-Sql, Sql Server Express) and my connection string is pointing to this file. When pushing to Git I have this database file approved in my .gitignore even though it’s a database file. My solution has two projects (layers). This is the general structure (I am not allowed to embedd images because on my current low reputation since I am a new user):

Structure

This is a simple test application that I will not deploy. However, when opening my solution from another computer I both need to restore nuget packages and then enable migrations.

I want this solution to be fully runnable from another computer that has Visual Studio installed. How do I achieve this?



Source: https://stackoverflow.com/questions/70630588/how-do-i-run-a-local-mvc-application-with-entity-framework-from-another-computer

NHS Warns of Hackers Targeting Log4j Flaws in VMware Horizon

Wallert — Email alerts for your non-custodial wallet