microsoft/generator-docker

DotNet dockerfile.debug should use restore, while release should use publish

SteveLasker opened this issue · 1 comments

Our inner loop development story focuses on the .net restore capabilities as thats how the standard IIS Express functionality works. The dockerfile.debug should mount the source and use dotnet watch for monitoring changes, allowing the developer to achieve edit & refresh during development, including debugging, while release should mimic the production deployment using the optimized base image and published output.

+1 to seeing dotnet watch in Dockerfile.debug