-
Notifications
You must be signed in to change notification settings - Fork 569
27. Quirks and Known Bugs
We are continually developing and refining the docker experience in Visual Studio--and squashing bugs in the process. There are a few notable quirks that you need to be aware of:
The file that is generated when adding docker support to the WCF service will not compile and run from the get-go. This is due to the fact that "Add Docker Support" is really only scoped to ASP.NET apps. In order for WCF to run, you have to ensure that certain features are running. To do this, make sure the dockerfile for your WCF service has these lines:
#These features are required for WCF
RUN Add-WindowsFeature Web-Server; \
Add-WindowsFeature NET-WCF-TCP-Activation45; \
Add-WindowsFeature NET-WCF-HTTP-Activation45; \
Add-WindowsFeature Web-WebSockets
We are working to bring a more intelligent functionality when adding docker support.
The WinForms project of the modernized solution contains an App.config file which, among other things, lets WinForms know where to address our WCF service. In a dev environent, this would point to "localhost:port/CatalogService.svc". This is broken on Windows. The workaround is to deploy the docker-compose project and wait until the ServiceClient window pops up and grab the IP, as demonstrated on an earlier page, testing the application
- Home
- Release notes
- e-books
-
MVC & Web Forms Samples
- Tour of the "legacy" ASP.NET web apps to modernize
- How to containerize the .NET Framework web apps with Windows Containers and Docker
- Publishing your Windows Container images into a Docker Registry
- Deploying the Apps to Azure Web Apps for Containers
- Deploying the Apps to ACI (Azure Container Instances)
- Deploying your Windows Containers based app into Azure VMs (Including CI CD)
- Deploying into local Kubernetes in Windows 10 and Docker for Windows development environment
- How to deploy your Windows Containers based apps into Kubernetes in Azure Container Service (Including CI CD)
- How to add authentication authorization with Azure Active Directory
- How to migrate the SQL database to Azure with the Azure Database Migration Service
- Using Application Insights in eShopOnContainers
- N-Tier sample: WinForms app and WFC service
- ASP.NET to Azure App Service Migration Workshop