Skip to content

Commit

Permalink
added dotnet container to web app, and updated rest client urls
Browse files Browse the repository at this point in the history
  • Loading branch information
aaberg committed Nov 17, 2021
1 parent b8c2aa9 commit e2ae3c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions infrastructure/webapp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ resource "azurerm_app_service" "swapi_app_service" {

site_config {
dotnet_framework_version = "v6.0"
linux_fx_version = "DOTNETCORE|6.0"
}

app_settings = {
Expand Down
10 changes: 7 additions & 3 deletions restclient/swapi.rest
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@ GET https://localhost:5001/error

###
# @name GetFilmsDev
GET https://swapi-dotnet-dev.azurewebsites.net/swapi/films
GET https://swapi-dotnet-app-dev.azurewebsites.net/swapi/films
Accept: application/json

###
# @name GetPeopleDev
GET https://swapi-dotnet-dev.azurewebsites.net/swapi/people
GET https://swapi-dotnet-app-dev.azurewebsites.net/swapi/people


###
# @name GetVersionDev
GET https://swapi-dotnet-dev.azurewebsites.net/version
GET https://swapi-dotnet-app-dev.azurewebsites.net/version

###
# @name GetErrorDev
GET https://swapi-dotnet-app-dev.azurewebsites.net/error

0 comments on commit e2ae3c1

Please sign in to comment.