.NET Framework installation and configuration with Azure App Service
Use this workflow with the Add New .NET Framework agent wizard to ensure you have all the steps covered for installing and configuring the .NET Framework agent with a the Azure App Service. Using the wizard is the simplest way to deploy a new agent.
Before you begin
Make sure you have everything you need before you start.
The agent will need to be able to reach your Contrast instance. It can be a local/on-premise instance or a hosted instance. A proxy can be configured if the environment has limited network access.
It must use supported versions, frameworks, and tools
Understand the order of precedence
You will also need access to a command line interface (with a chosen directory for downloading the agent) and your organization's instance of Contrast
Start the .NET Framework agent wizard
Select Add New at the top of the Contrast web interface.
Select the Application card.
Under Select a language, select .NET Framework.
Select the operating system you are using.
Select an application
Locate an ASP.NET Framework web application where you can add the Contrast extension.
If you do not have a web app, create an application hosted on Azure App Service. Then, publish your application to Azure and confirm that it works as expected without Contrast.
Configure application settings
Configure the displayed settings to let the agent connect to Contrast. Add the displayed values in the Application Settings section of the Environment variables blade for your application.
Add extension for the application
In the Azure Portal, select your hosted application.
Select Extensions.
Select Add.
Select Contrast .NET Framework Site Extension for Azure App Service.
Select OK and agree to the Terms and Conditions.
Wait a few seconds and confirm the site extension is correctly installed.
Go back to the application overview and Restart the application.
Go to the application, and confirm the application is reporting to Contrast.
Verify the agent deployment
Interact with your application as you normally would. For example, interact with your application's web interface or send API commands
Go to the Contrast web interface and select Applications in the header.
Verify that you see the name of your application in the list.
Select servers in the header.
Verify that you see the name of your local server in the list.