azure-api-apps

Azure API Authentication

这一生的挚爱 提交于 2019-11-28 06:30:57
问题 I am using Azure API's in C# code and used below libraries using Microsoft.Rest; using Microsoft.Rest.Azure.Authentication; using Microsoft.Azure.Management.DataLake.Store; using Microsoft.Azure.Management.DataLake.StoreUploader; using Microsoft.Azure.Management.DataLake.Analytics; using Microsoft.Azure.Management.DataLake.Analytics.Models; using Microsoft.WindowsAzure.Storage.Blob; To create connection with Azure, private static ServiceClientCredentials AuthenticateAzure(string domainName,

What is the difference between an API App and a Web App?

青春壹個敷衍的年華 提交于 2019-11-28 03:44:43
I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another. I can create a new .NET solution with API controllers and deploy this as a Web App, so why would I specifically require an API App? Are these optimized specifically for ASP.NET Web API, where as Web Apps are for delivering HTML? Updating the answer to current state of Azure, App Services now replaces all Mobile, Api and Web Apps flavors as a single app framework with all the functionality rolled over to make things more accessible

How to enable BLOB-logging for a Node.js Api App on Azure?

☆樱花仙子☆ 提交于 2019-11-27 09:53:52
I have a node.js api app on azure. I use bunyan to log every request to sdtout . How can I save and read the log files? I enabled BLOB-logging. The only thing that shows up in my storage is a bunch of csv-files. Here is an example: | date | level | applicationName | instanceId | eventId | pid | tid | message _______________________________________________________________________________________________________________________________________________________________ | 2017-05-17T14:21:15 | Verbose | myApp | tae9d6 | 636306276755847146 | 13192 | -1 | SnapshotHelper::RestoreSnapshotInternal

Azure - ADlsError / WebHDFS error while deleting ADLS file

只愿长相守 提交于 2019-11-27 08:53:40
问题 I am using C# for ADLS authentication and wants to do some file operation like delete, rename. Using below code for authentication and delete operation var context = new AuthenticationContext("https://login.windows.net/" + tenantId); ClientCredential clientCredential = new ClientCredential(appId, secretKey); var tokenResponse = context.AcquireTokenAsync("https://management.azure.com/", clientCredential).Result; var accessToken = tokenResponse.AccessToken; using (var client = new HttpClient())

What is the difference between an API App and a Web App?

主宰稳场 提交于 2019-11-27 05:11:58
问题 I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another. I can create a new .NET solution with API controllers and deploy this as a Web App, so why would I specifically require an API App? Are these optimized specifically for ASP.NET Web API, where as Web Apps are for delivering HTML? 回答1: Updating the answer to current state of Azure, App Services now replaces all Mobile, Api and Web Apps

How to enable BLOB-logging for a Node.js Api App on Azure?

会有一股神秘感。 提交于 2019-11-26 14:56:56
问题 I have a node.js api app on azure. I use bunyan to log every request to sdtout . How can I save and read the log files? I enabled BLOB-logging. The only thing that shows up in my storage is a bunch of csv-files. Here is an example: | date | level | applicationName | instanceId | eventId | pid | tid | message _______________________________________________________________________________________________________________________________________________________________ | 2017-05-17T14:21:15 |