1

I've published multiple asp.net mvc sites up to Azure with great success. So I expected the same ease of success with a Web API site. No such luck. It says the Web App has been successfully created but there is nothing there yet. I've read about the new "API Apps" but shouldn't I be able to use a regular "App Service"? All the tutorials I saw for the "API Apps" make it look unfriendly and overly complex to set up. Maybe I'm being a wimp but I still believe in the KISS Principle.

Marcus

6
  • 2
    I'm sorry, but what is your question? Which error are you receiving? Commented Dec 7, 2015 at 17:16
  • That's the problem, there is no error. It says the "web app has been successfully created" but "there is nothing there yet". I am using "Continuous Deployment" from GitHub and can tell that is working. Since it is a "web service" and not a "web site" I tried connecting using PostMan but it says that endpoint does not exist. Commented Dec 7, 2015 at 17:51
  • Did you remove the sample controller that returns fake data? without the URI it's hard to help you. I'm assuming that you forgot a '/api/ControllerName' for example... Commented Dec 7, 2015 at 18:04
  • 1
    Yes, it should work. I recommend you create a sample controller that return a string for example, just to be sure that it's note a problem with your webapi project. Besides that, try publish your api in a web app and do the same tests. After that, you should know what was the problem. Commented Dec 8, 2015 at 10:53
  • I will try that again. I've done this several times already to see if it is me. This time I will review every step. Thank you all for your feedback. Commented Dec 9, 2015 at 12:37

1 Answer 1

2

Web APIs as part of the ASP.NET MVC framework can be deployed as Web Apps

Here is a tutorial Create a REST service using ASP.NET Web API and SQL Database in Azure App Service

API Apps is one of four app types offered by Azure App Service. It's new and still in preview... So you will find bugs...

Sign up to request clarification or add additional context in comments.

2 Comments

Then I will leave it alone for now. I will definitely follow that tutorial this time around to see what I am doing wrong. Thank you.
I don't know what I did differently this time but it works. I appreciate you giving me the confidence I was on the right track.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.