How to deploy Custom Azure Api App using PowerShell? - azure-api-apps

We have developed a custom API App connector and have created Logic App using this. We are able to deploy the Custom Api App using Visual Studio but unable to find a way to deploy it using PowerShell.
We have created a deployable zip package for the Api App (similar to Web Apps) but not sure how to publish/deploy it.
Any help is appreciated.

Api Apps also need to be deployed with an App Service Plan, Gateway Host, Gateway, and an API App Host.
See this example template.
For more information read here:
https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-arm-with-api-app-provision/

Related

Can I run my Azure Static Web App and ASP.NET web API locally?

In Azure, I have a Static Web App and an ASP.NET web API (running in App Service).
Following this guide on Microsoft learn https://learn.microsoft.com/en-us/azure/static-web-apps/local-development, I know it's possible to run a static web app and an azure functions API locally, but I can't find anything about a different kind of API.
When I run the CLI command " swa start dist/MyApp.front-end --api-location 'C:\GIT\MyApp.Backend'" I get the error:
[api] Unable to find project root. Expecting to find one of host.json, local.settings.json in project root.
This makes sense... because my project has appsettings.development.json instead of the local.settings.json, but I was hoping it was smart enough to use the other files.
Does anyone have any experience with running a static web app and asp.net api locally with the static web app CLI?

How do I deploy a netcore IHosted Service console App in Azure?

I'm new into Azure (so excuse me in advance if question does not make sense) and I would like to implement self-hosted net core service for a background process using IHost without the MVC funcionallity. We are not working with containers at the moment, so the question is which is the best way to deploy this IHost service in azure, is it possible to deploy it as an app service even if we are not using any mvc api functionallity? Thanks!
Best way that meet our requirements is to deploy the self-hosted console app(IHosted Service) straight to an Azure App Service. This deployment automatically generate a Webjob(within the mention App Service) running the console app.

Azure management API nodejs sdk for managing web apps

I am trying to provision a web app through Azure nodejs SDK
Are there any examples or repos that help in doing this?
Create a new web app.
set up the deployment source to bitbucket
sync with deployment source.
setup the environment variables
restart the app.
All of this done through management API...
Any inputs or guidance?
You can check out the official code sample for managing your web apps here.
This code sample includes the following:
create a resource group
create a hosting plan
create a website
list websites in a resource group
get details for a given website
update site config for a website
For other operations please refer to the SDK documentation for WebApps.

Deploy a django app into azure app service

I've followed the microsoft guide to deploy a flask app into an azure app service.How can I do the same with a django application?
This tutorial describes how to run an application using the Django web framework on Azure App service web app, please refer to it.
Update:
configuring the web config for and existing django app is not being convered in this tutorial
You could try to create a Django app on Azure portal, and then you could view app project structure and files in App Service Editor, you will see a sample web.config under project folder that would be a reference/guidance for configuring web.config.
On the other hand, you could refer to this article to modify or create a web.config file for your Django app.

How can a node.js app be deployed to azure via appveyor (pulled from github)?

I currently have a .net and an angular app, both deployed to azure via appveyor. Now I want to add a node.js app, also in a github repo, also to be deployed via appveyor and into azure.
However I have no idea where to start.
What kind of azure app should I create? Just the standard web app service?
How do I deploy this to azure via appveyor?
What kind of azure app should I create? Just the standard web app
service?
At first, I could share Azure App Service plan and when we selected one of them with you. Please refer to this document(https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/ ). Then, for selecting which one service plan, it depended on the site load and requirements. It is not relation to deployment channel.
How do I deploy this to azure via appveyor?
You can try to follow this guide Deploying using Web Deploy, mark Package Web Applications for Web Deploy check box in the settings=>build tab of your project in appveyor.
Then login Azure Management Portal and download publish profile.Specify the following deployment settings in AppVeyor:
Server: https://<publishUrl>/msdeploy.axd?site=<msdeploySite>
Website name: <msdeploySite>
Username: <userName>
Password: <userPWD>
NTLM: disabled
Replace <publishUrl>, <msdeploySite>, <userName> and <userPWD> with values from downloaded publishing profile XML file, in the deployment tab.

Resources