This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 569
24. Test the Application
eiximenis edited this page Apr 17, 2018
·
1 revision
We have successfully:
- converted our WCF service to run in a container
- converted our SQL database to run in a container
- added high DPI support to the WinForms application
Now that we have everything together, let's test and verify that it all works together.
Start a new debug instance for our docker-compose project. When the build process finishes and the containers run, you will see a browser window pop up with the WCF service. This will provide us the IP address at which our WCF service is running.
After you have that IP, you can copy it into App.config inside the WinForms project at the definition of the endpoint:
<endpoint address="http://<INSERT_IP_ADDRESS_HERE>:80/CatalogService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICatalogService"
contract="eShopServiceReference.ICatalogService" name="BasicHttpBinding_ICatalogService" />
Once you've edited the App.config to point to the container, you'll be able to succesfully launch the WinForms app. Should everything go as expected, you'll be greeted with a High DPI-aware WinForms app!
Keep reading to learn about how to add Kubernetes support
- 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