azurevisual-studio-2015azure-app-api

Cannot find equivalent tooling in Azure API Apps using VS 2015


I am using this video as a reference. It is basically explaining how to build Azure Api Apps using VS 2013. I want to do the same in VS2015 and have installed the latest Azure SDK. I am finding the following things missing and not able to find its equivalent in VS2015 or any documentation that says how its done differently using VS 2015

Here are a list of the things that I was not able to find:

  1. At 4.58 into the video the option to right click and convert a regular Web Api app into a Azure App Api.
  2. At 5.23 the apiapp.json file is no longer available in a VS 2015 Api App project. What if I want to change the swagger url? Where do I configure that?
  3. At 12.13 into the video there is an option to generate an Azure Api App client. I could not find this either in VS 2015. All I have is this belowenter image description here

Am I bound to only provide urls for published API? What if I moved the API to a different URL later? I have not been thru this process yet so my next question is where do I configure the URL, which can possibly change as I move from DEV all the way thru to PROD.

Is there something missing in my tooling? Do I need to install something else other than the latest Azure SDK? How do I do those three items if my azure tools are up to date. I am using Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40518.2


Solution

  • Back in December 2015, Microsoft made several changes/improvements to API Apps (they are listed here).

    1-This feature no longer exist, you need to add the Swashbuckle nuget package manually.

    2-The apiapp.json file is no longer used. Look for the SwaggerConfig.cs class in the App_Start folder.

    3-The option has been renamed. Right-Click on the project in Solution Explorer and select Add/REST API Client...