In the DDEV project directory launch the command:
ddev get machine-rc/ddev-dotnet
Restart the DDEV instance:
ddev restart
Access .NET application on defined port (or 8080 default) via the url: https://your-project-name.ddev.site:8080/
git clone [email protected]:machine-rc/ddev-dotnet.git
cd ddev-dotnet
cd apis/Users.API
dotnet restore
dotnet build
dotnet run
http://localhost:8080 or http://localhost:8081.The project includes a Dockerfile to build a Docker image for the service.
Current structure allows support for multiple graphql services. To add a new service:
dotnet directory with the service nameDockerfile from the dotnet/Users.API directorydocker-compose.dotnet.yaml to include the new service by duplicating the dotnet-users service and changing the service name
environment section to expose the new service on a different port