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):


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?


NHS Warns of Hackers Targeting Log4j Flaws in VMware Horizon

Wallert — Email alerts for your non-custodial wallet