You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a Blazor Web App with Interactive WebAssembly or Interactive Auto render modes and Container Support enabled, Visual Studio generates a Dockerfile for both the Server and Client projects.
The Client project is compiled and served by the Server project and is not intended to run as a standalone container. Therefore, generating a separate Dockerfile for the Client project appears unnecessary and may cause confusion regarding the intended containerization model.
Expected Behavior
A Dockerfile should be generated only for the Server project.
Since the Client project is a dependency of the Server project and is not intended to run as an independent container, a separate Client-project Dockerfile should not be created.
Steps To Reproduce
Open Visual Studio 2026 Insiders [12023.133] Professional.
Is there an existing issue for this?
Describe the bug
When creating a Blazor Web App with Interactive WebAssembly or Interactive Auto render modes and Container Support enabled, Visual Studio generates a Dockerfile for both the Server and Client projects.
The Client project is compiled and served by the Server project and is not intended to run as a standalone container. Therefore, generating a separate Dockerfile for the Client project appears unnecessary and may cause confusion regarding the intended containerization model.
Expected Behavior
A Dockerfile should be generated only for the Server project.
Since the Client project is a dependency of the Server project and is not intended to run as an independent container, a separate Client-project Dockerfile should not be created.
Steps To Reproduce
Exceptions (if any)
None.
.NET Version
11.0.100-preview.7.26381.103
Anything else?
Visual Studio: VS 2026 Insiders [12023.133] Professional
OS: Windows 11 Enterprise
Evidence:
• Interactive WebAssembly: https://github.com/BharatRamsf3693/BlazorWebApp-ContainerSupport-Validation/blob/main/ContainerSupport-On-CreationDialog/InteractiveWebAssembly/InteractiveWebAssembly.Client/Dockerfile
• Interactive Auto: https://github.com/BharatRamsf3693/BlazorWebApp-ContainerSupport-Validation/blob/main/ContainerSupport-On-CreationDialog/InteractiveAuto/InteractiveAuto.Client/Dockerfile