Created
June 2, 2018 17:12
-
-
Save maciejgos/4bc0650aa72dd94e61b798e94da83aeb to your computer and use it in GitHub Desktop.
Azure Functions CLI v2.0.1-beta.28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<TargetFramework>netstandard2.0</TargetFramework> | |
<AzureFunctionsVersion>v2</AzureFunctionsVersion> | |
</PropertyGroup> | |
<ItemGroup> | |
<None Update="host.json"> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</None> | |
<None Update="proxies.json"> | |
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
</None> | |
<None Update="local.settings.json"> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
<CopyToPublishDirectory>Never</CopyToPublishDirectory> | |
</None> | |
</ItemGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.13" /> | |
</ItemGroup> | |
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json.schemastore.org/proxies", | |
"proxies": { | |
"mock1": { | |
"matchCondition": { | |
"route": "api/mock/getwelcomemessage", | |
"methods": [ | |
"GET" | |
] | |
}, | |
"backendUri": "", | |
"responseOverrides": { | |
"response.statusCode": "200", | |
"response.statusReason": "OK", | |
"response.headers.Content-Type": "application/json", | |
"response.body":{ | |
"message":"Hello from mock" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment