azure-api-apps

What is the difference between Azure API Apps and Azure Service Fabric?

时间秒杀一切 提交于 2019-12-24 06:45:30
问题 I am using Azure Table storage to store the data of my application. I need to build an API to retrieve the data from Azure table storage. There are like a million records in the table. In the initial stage, my API would be getting approximately 100-1000 hits per day. What would be the best choice to develop that API on, API apps or Service Fabric? 回答1: It depends on a lot of aspects: How do you want to maintain it? What performance requirements do you have? Do all those 100-1000 hits per day

How can i integrate Azure Mobile App win Azure API app

拥有回忆 提交于 2019-12-23 17:24:23
问题 We are building a mobile cross platform solution with Xamarin (Xamarin.Forms). We developed a backend API in Azure with Azure API Apps. Now we want to integrate and use Mobile Apps (Mobile Services) but using Azure API Apps we created previously. I see this BUILD presentation https://channel9.msdn.com/Events/Build/2014/3-623 and the idea i think is to use ApiController and call to Azure API Apps there. Is this correct? Some sample? How can i do? I must have 2 projects API Apps + Mobile Apps?

Increase the maximum request length in a Azure Api App

一个人想着一个人 提交于 2019-12-23 17:12:24
问题 I have created an Azure Api App which I will use to upload files. These files will be > 4mb hence the need to increase the maximum request length. I have added the following to Web.config: <system.web> <httpRuntime executionTimeout="7200" targetFramework="4.5" maxRequestLength="2097152" /> </system.web> I have also added: <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2097152000" /> </requestFiltering> </security> </system.webServer> Yet I still get

Hosting Flask(python) API on Azure API

ε祈祈猫儿з 提交于 2019-12-23 06:07:19
问题 Team, I have been trying to host flask API on Azure API app. And it's not working. Azure API app is working. Hosting page opens up with python version as 3.6.6. I am not able to host simple hello world project and different errors I am getting are as follows. Can't add handlers in web.config. if added 500 error. Can't install flask from kudu. Getting permission error. When installed with --user, flask is installed to user folder. Changed path to include this folder but still can't import

Manage versioned API in Azure API Manager

时光毁灭记忆、已成空白 提交于 2019-12-22 12:18:13
问题 I´m looking into host our web API in Azure using an API app. I am using the Azure API Manager in front of the API App to expose the developer portal to some of our consumers. The web API is built in .NET core and it has version support using the URL (https://example.com/api/v2/controller...). I have given it swagger support and one swagger.json is created for each version. These swagger files I use in my ARM templates to set up API Manager and expose this versioned API. When adding a version

How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure?

一曲冷凌霜 提交于 2019-12-20 14:17:11
问题 How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure? I have created ASP.NET Core 2.0 Web API (Server-Side app) application and inside that created Angular 6.0 app (Client-Side app). Both apps are build and running successfully in a local environment (Database - MongoDB: mLab server). Now, I want to deploy an angular app with .net core web API app to Azure environment in a single web app service (where client app and server app (web API) will serve). However, I

How to consume Azure REST API App with Azure Active Directory authorization On

妖精的绣舞 提交于 2019-12-19 11:47:27
问题 I have deployed an API App to Azure, but I am having problems creating API Client if Authentication (with AAD) is set to ON. When I try to generate service client (when Authentication is OFF), then client code is generated (it's done with Autorest) and code is working, but when I switch Authentication ON (and Action to take when request is not authenticated is set to Login with Azure Active Directory ), then 1) service call returned 401 Unauthorized (without redirecting to AAD login page) 2)

“Unauthorized” when invoking an API App from Azure Scheduler with Azure AD OAuth authentication

限于喜欢 提交于 2019-12-12 12:32:37
问题 I have an API App which I have secured with Azure Active Directory authentication. Actions of this API App I want to invoke with Azure Scheduler. I entered tenant id, client id & secret into the Scheduler action. When I schedule or run the job I get: Http Action - Response from host 'xxxx.azurewebsites.net': 'Unauthorized' Diagnostic application log gives me: JWT validation failed: IDX10214: Audience validation failed. Audiences: 'https://management.core.windows.net/'. Did not match:

401 error when authenticating to an Azure API App using AAD

若如初见. 提交于 2019-12-12 08:48:58
问题 I have an API app that has been working fine with a Gateway Host and now that the gateway host is being deprecated I'm trying to follow the Migration Guide. I've redeployed my service using the 2.8.1 SDK and can log into the service with a browser using AAD or a Microsoft account and use Swagger to test the service. However, I'm trying to get a client to access the service using a ClientId and Secret. The code is able to get the access token from AAD but I always get a 401 error whenever I

Azure app cannot connect to Media Services using C#

Deadly 提交于 2019-12-11 19:28:00
问题 I am trying to use Azure Media Services to encode videos uploaded to my web app. Now that ACS is removed from AMS .net extensions and api, it seems the only way to connect is using Azure AD credentials. So I have registered service principal with AAD and Granted contributor right on AMS. All the permissions seems correct and I try to run this sample code and Azure refuses to issue token. Fails on line 80: IAsset sourceAsset = _sourceContext.Assets.Where(a => a.Id == _sourceAssetID).First();