azure-api-apps

How to combine azure AppServices API, Mobile and Web apps

梦想与她 提交于 2019-12-11 13:54:01
问题 We are are on the start of our project and want to decide what technologies that Azure provides we can utilize. Firstly we are going to have mobile application and later web application. For both of this we need API. I really don't want to create separate api for mobile and web. That's why I guess we need to have a common base API which mobile and web apps will reference and extend with mobile and web specific logic. What we want to be common is user database and authentication (social

Azure API App proxy generation error

守給你的承諾、 提交于 2019-12-11 10:41:08
问题 I was able to successfully create a test API and host in Azure. However when I try to create the proxy client, I receive the following error. [Fatal]Error generating service model: The operation 'Get' has a body parameter, but did not have a supported MIME type ('application/json') in its Consumes property. Exception: There was an error during code generation when trying to add a client for the Microsoft Azure API App Generating client code and adding to project failed I checked the Swagger

Azure App Service API gets FileNotFoundException: Could not find file 'D:\home\site\wwwroot\MyApi.xml when trying to start swagger

谁都会走 提交于 2019-12-11 08:03:24
问题 I am working on an ASP.NET Core 2.2 API deployed to Azure App Services. I am deploying to a DEV slot. I am using Swagger, which works fine on my localhost, but when I go to the URL of by DEV slot and use /swagger, I get the error; FileNotFoundException: Could not find file 'D:\home\site\wwwroot\MyApi.xml I have the following in my *.csproj file; <PropertyGroup> <GenerateDocumentationFile>true</GenerateDocumentationFile> </PropertyGroup> And when I go to Kudu for the DEV slot, I can see the

“Permissions for service are set to internal but this request was external” for app in same resource group

╄→гoц情女王★ 提交于 2019-12-11 02:48:37
问题 The Azure API app documentation briefly describe three methods of protecting the API app. One of them is the internal accessibility settings: “Internal - Only other API apps or web apps in the same resource group are allowed to call the API app.” I have create another Azure API app in the same resource group and hosting plan. But a get a HTTP 403 authorization failure with the following error message when I try to connect to the interal API app from the Web App: “Permissions for service are

IP address of Azure API App and how to restrict IPs

倾然丶 夕夏残阳落幕 提交于 2019-12-11 01:45:13
问题 I have deployed API App written in Java Servlet. What I want to know is, that IP address of my API App and the way to allow requests from only one or two IP addresses meaning I want to restrict every IPs except for those. seems like IP addresses are shared once i deploy several APPs in one region. anyway please give me some advice : ) 回答1: There is a range of ip addresses that can be used by azure web apps - basically you are having your site hosted in a web farm that is on a vnet managed by

Azure App Service ApiApp

夙愿已清 提交于 2019-12-10 21:48:08
问题 I am trying to create an API App in Azure App Service with PowerShell. The cmdlet I am calling always create a Web App by default. If it is possible, I would like to know how I can specify the type/kind to be Api App instead of Web App ? New-AzureRmWebApp -Name $name -Location $location -AppServicePlan $plan -ResourceGroupName $resourceGroup From my reading there is not much different between both except the icon, is it worth it to set the type to "Api App" if it's what my app is all about? I

Azure API App “No ApiApp installed that can handle forward request to https://my.customdomain.com”

一世执手 提交于 2019-12-10 21:43:44
问题 I added a custom domain name for an Azure API App (actually on the underlying API app host ). The `https://microsoft-apiappXXXXXXXX.azurewebsites.net/ address still works but the custom domain yields the following error in the browser: <Error> <Message> No ApiApp installed that can handle forward request to https://my.customdomain.com/ </Message> </Error> I've configured a custom SSL certificate, but with or without it, I get the same issue (minus the SSL warning when the custom SSL is not

Azure Active Directory Application Permission Change Delay

一曲冷凌霜 提交于 2019-12-10 17:25:11
问题 I am using Azure Active Directory to give my application access to the Microsoft Graph API. When I make permission changes (e.g., read/write access for various types of data) I am noticing a delay from when the changes are saved and when I am able to access the new data through the API. I do notice, however, that after some time my API calls start to work. My questions are Is this expected behavior? Is there documentation somewhere that explains what permissions are needed for each Microsoft

Access security to an Azure App Service API App

南笙酒味 提交于 2019-12-10 10:39:10
问题 We have a system that is based on 2 tiers, a Backend tier and a Frontend tier, right now both are Azure WebSites communicating trough WebAPI. I wan't to move the backend WebAPI to API App - question is - if it's possible to configure the security of an API App in such way, that it is only accessible from the configured Frontend ASP.NET MVC 6 Web application (hosted in Azure WebSites). We planned to use Active Directory as an authentication method between the frontend Web App and the backend

Remote Debugging - Web App Azure

老子叫甜甜 提交于 2019-12-08 16:13:50
问题 I am trying to remote debug an Asp.Net Core Web Application (with Web API) project deployed as an Azure App Service with Visual Studio 2017 Professional. Followed the instructions as documented here. Essentially, using the Server Explorer-->App Service-->Attach Debugger Also, enabled the necessary firewall ports as mentioned. The ones I opened are TCP (4022, 4023) and UDP (3702). Also, ensure remote debugger application is in allowed list of apps in Windows Firewall. Documentation for the