-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplified local docker setup for MVP site #237
Conversation
Tested on my local, but does not work well all the time. This shows up sometimes:
then using the answer from here https://stackoverflow.com/a/70895415/856045 I've added an environment variable named So I think this ticket has to be worked on a bit more. |
Interesting @sebastiantecsi, do you have steps to reproduce both of the different errors you've seen above. According to Google the Env Var should fix the rude error issue? |
In my case VS could no longer build due to the DLL files being locked by the dotnet process in the container:
This caused issues with the intellisense. Beyond that I could see the hot reload in the logs but subsequent requests actually didn't reflect the edits. |
You can reproduce it usually when you have a bunch of files modified and saved all at the same time.
Save the file. All should be good.
So yes, the env var
So, I guess this has to be investigated a bit more. |
Looks like this is known issue with MS docker .net tools, and Hot Reload isn't supported in Docker yet. See microsoft/DockerTools#322 Closing this PR now, but issue #16 will remain open so we can revisit this when the functionality is available. |
This commit simplifies the local docker setup for the MVP site.
As this was migrated from old site, which was hosted in AKS, we had some functionality that was no longer required. Also, as we had upgraded to .NET 6 some functionality that was custom built is now provided OOTB by the framework.
Changes include
Types of changes
Checklist:
Closes #16