0

I have an ASP.NET Core Web API that sends HTTP requests to on-prem resources. This is made possible by adding Hybrid Connections to the App Service (under "Networking"). This works fine.

I added integration tests which call my API endpoints. When I run these tests in the Azure DevOps pipeline, obviously these on-prem resources are unavailable because there are no Hybrid Connection involved.

Can I configure the WebApplicationFactory to use Hybrid Connections?

Kristoffer Jälén
  • 4,112
  • 3
  • 30
  • 54

1 Answers1

0

I ended up running the pipeline on a self-hosted agent instead. Then my on-prem resources are available.

Kristoffer Jälén
  • 4,112
  • 3
  • 30
  • 54