deloyed to azure web apps but not working because flurl is a bit wonky...will probably revert to http client

This commit is contained in:
TomPallister 2016-10-05 21:35:54 +01:00
parent d86a52c1b8
commit 27f012135d
4 changed files with 69 additions and 55 deletions

View File

@ -26,3 +26,5 @@ Priorities
- Logging
- Rate Limiting
- Then a big list of cool things...
## How to use

View File

@ -0,0 +1,4 @@
ReRoutes:
- DownstreamTemplate: http://www.bbc.co.uk
UpstreamTemplate: /
UpstreamHttpMethod: Get

View File

@ -1,4 +1,6 @@
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0",
@ -34,7 +36,12 @@
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
"preserveCompilationContext": true,
"copyToOutput": {
"include": [
"configuration.yaml"
]
}
},
"runtimeOptions": {
@ -49,11 +56,12 @@
"Views",
"Areas/**/Views",
"appsettings.json",
"web.config"
"web.config",
"configuration.yaml"
]
},
"scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}
}
}

View File

@ -1,4 +1,4 @@
ReRoutes:
- DownstreamTemplate: http://localhost:51879/
UpstreamTemplate: /
HttpMethod: Get
UpstreamHttpMethod: Get