c# - Azure webjob calling internal service -
i have console app calls wcf service. wcf service on azure cloud service vm, , wcf service accessible internally (using windows creds). cloud services vm has been added our domain.
i have deployed console app azure webjob. living in azure app services web app - there no related web app.
when run webjob, "system.servicemodel.endpointnotfoundexception: there no endpoint listening at..." exception. seems expected since azure app services web app not on domain or talking internal dns.
my question, can/how can add vm backing azure app services wep app our domain? , if not, options there getting webjob talk internal dns?
in general when trying connect on-premise resources or other private networks within azure, there few options can check out:
option #1: app service environents: https://azure.microsoft.com/en-us/documentation/articles/app-service-app-service-environment-intro/
app service environments isolated running single customer's applications, , deployed virtual network. customers have fine-grained control on both inbound , outbound application network traffic, , applications can establish high-speed secure connections on virtual networks on-premises corporate resources.
this give flexibility because of virtual network, @ highest cost premium offering.
option #2: app service hybrid connections: https://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-overview/
hybrid connections feature of azure biztalk services. hybrid connections provide easy , convenient way connect web apps feature in azure app service (formerly websites) , mobile apps feature in azure app service (formerly mobile services) on-premises resources behind firewall.
i'm less familiar option, it's design work app service these types of scenarios. may difficult use if require access internal dns or domain controller, however.
option #3: service bus relay: https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-relay/
the service bus relay service enables build hybrid applications run in both azure datacenter , own on-premises enterprise environment. service bus relay facilitates enabling securely expose windows communication foundation (wcf) services reside within corporate enterprise network public cloud, without having open firewall connection, or require intrusive changes corporate network infrastructure.
this option has been around while , designed connecting wcf services. it's not specific azure app service (as can tell article) might still good, light-weight fit scenario. however, not dns , on-premise domain controller.
Comments
Post a Comment