Setup:
We need to attach sql server db to localdb
-
Open Microsoft SQL Server Management Studio
-
Connect database engine
-
for Server name use (localdb)\MSSQLLocalDB
-
Now connect
-
Select Databases and attach MDF file in project folder( .\Database\Transfermarket.mdf')
-
Now run project in Visual studio.
-
Browser will open with all available API calls https://localhost:44383/swagger/index.html