Skip to content

.NET application for debugging Azure FunctionApp in complex environment

License

Notifications You must be signed in to change notification settings

vjirovsky/azFuncDebugger

Repository files navigation

Azure Functions Environment Debugger

Tool screeshots

Description

This .NET tool is for Cloud Solution Architects and Cloud Engineers to debug Azure Functions applications, deployed in large complex (typically corporate) environments, with firewalls, network security groups, App Service Environments and other tool.

License

The tool is released under the MIT License, see LICENSE file.

Installation

You can install this debugger by setting up configuration variable to pre-compiled package on GitHub:
WEBSITE_RUN_FROM_PACKAGE = https://github.com/vjirovsky/azFuncDebugger/releases/download/v0.7/pre-release.zip

Alternatively you can publish this codebase to given FunctionApp via Visual Studio (Code).

Usage

Open a URL https://<<hostname>>/RunTests. All tests will be displayed on this page.

For tool configuration set following Configuration variables:

  • TEST_DNS_RESOLVE_DOMAIN = <<comma-delimited list of domains>> - performs resolutions of given domains via all available DNS servers
    e.g. TEST_DNS_RESOLVE_DOMAIN = azure.com,someonpremresource.contoso.internal,vjirovsky.cz

  • TEST_HTTPCLIENT_GET_URL = <<url to test>> - performs HTTP request to given URL via same outbound connectivity configuration as the real application will use
    e.g. TEST_HTTPCLIENT_GET_URL = https://vjirovsky.cz

Content Storage Access Simulator

The tool/debugger has built-in simulator for testing access to content storage (in case the application doesn't use package deployment). You can test desired configuration with setting up follow variables:

  • TEST_CCONNECTIONSTRING = <<connection string as in WEBSITE_CONTENTAZUREFILECONNECTIONSTRING variable>>
    e.g. - TEST_CCONNECTIONSTRING = DefaultEndpointsProtocol=https;AccountName=xyzmystorageaccount;AccountKey=xxxxxxxxxxxxxxxxxxxxxxxx;EndpointSuffix=core.windows.net

  • TEST_CSHARE = <<file share name as in WEBSITE_CONTENTSHARE variable>>
    e.g. - TEST_CSHARE = myfilesharestorage

Issues

Please report any issue into GitHub issues.

About

.NET application for debugging Azure FunctionApp in complex environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages