- Open your favourite terminal and navigate to the repository folder Lavinia-api which contains the file
Api.csproj
- Type
dotnet run
Enter
- Repeat steps 1 through 2 from Running the Development build
- Type
dotnet publish -c Release -o out
, whereout
can be any desired path or folder. - Navigate to the
out
directory specified in step 2., typedotnet Api.dll
and the application should start on port5000
for http and port5001
for https.
In both running the development build and publishing a runnable, cross-platform .dll, there will be a terminal window that specifies what link to test the API at, usually in the form localhost:<port>
. Navigate to localhost:<port>
for API documentation and available requests.