. NET project


Connection String

Server=localhost\SQLEXPRESS01;Database=master;Trusted_Connection=True
  • **Create newapi **

    dotnet webapi -o api
  • Restore Dependencies

    dotnet restore
  • Build Project

    dotnet build
  • Run Project

    dotnet run
  • Clean Project

    dotnet clean
  • Publish Project

    dotnet publish -c Release -o ./publish
  • Run Tests

    dotnet test
  • Add Package

    dotnet add package <PACKAGE_NAME>
  • List Packages

    dotnet list package
  • Remove Package

    dotnet remove package <PACKAGE_NAME>