Questions tagged [azure-web-app-service]

This particular label serves to cater to inquiries concerning web applications hosted on Azure. Azure App Service is an internet-based platform designed for accommodating an array of web applications, REST APIs, and mobile back ends. In its previous iteration, it was referred to as Azure Web Sites. Users have the flexibility to deploy applications developed in diverse programming languages such as .NET, .NET Core, Java, Ruby on Rails, Node.js, PHP, and Python. Additionally, they can opt for either a Windows or Linux container for deployment purposes.

Tips for preserving checkbox state?

I am currently working on a web application project for a clinic and laboratory, specifically focusing on sending tests. I have implemented the code below to select the test category first, followed by the test name related to that category. However, when ...

The deployment of a Next JS 13 app to Azure Static Web Apps is facing challenges and cannot

I'm encountering a 500 error when attempting to deploy my upcoming 13 app directory application to Azure Static Web Apps. Despite checking Azure for logs and exploring the Diagnose tab, I am unable to find any information. Here is an excerpt from my workfl ...

How can you retrieve Azure App Settings as an object with Node.js?

Can Node/Express in Azure be utilized to handle app settings as an object, akin to ASP.NET Core? For instance, if the app settings are: container:value1 = "Hello", container:value2 = "World" The goal is to retrieve an object for "container" that provide ...

Deploy Vue.js and ASP.NET Core together on Azure Cloud

I have a project that combines ASP.NET Core with Vue.js and I am trying to deploy it on Azure App Service using a CI/CD GitHub account. Following Microsoft's guide, everything seemed to be going smoothly until I encountered an error during the publish ...

What is the method to retrieve the IP address of the source accessing the MongoDB database?

I'm looking to enhance the security of my database by allowing access requests only from the app server (which runs on backend using node.js and express.js). However, when I whitelist the IP address of the app server (Azure App Service Linux), the co ...

Tips for effectively managing the timeout of server-side AJAX calls1. Maxim

I'm currently developing server code in ASP.NET with the MVC framework. The client-side code is written in javascript. When sending an AJAX request from the browser to the server, whether using JQuery or not, timeouts can be set. Additionally, the browser ...

An issue has occurred on the Windows Azure App Service: It is recommended to manually install the sqlite3

I'm facing a challenge while attempting to run my web app on a Windows Azure App Service. The back-end of my app is developed in Node.js/Express using TypeScript (compiled with tsc, not Webpack) and integrates Sequelize to connect to a SQLite 3 database s ...

Is it possible to identify which modules in the package.json file need to be compiled?

When deploying to Azure sites, issues may arise if one of your npm modules requires compilation. Is there a simple method to review the packages.json file in order to alert users not on Windows when they might encounter problems? ...

Encountering 404 errors when reloading routes on an Angular Azure static web app

After deploying my Angular app on Azure static web app, I encountered an error. Whenever I try to redirect to certain routes, it returns a 404 error. However, if I navigate from one route to another within the app, everything works fine. I have attempted t ...

Securing a Node.js server with Azure AD OAuth 2.0

I recently developed a server in node.js and successfully deployed it to Azure WebApp. Now, I am looking to implement service-to-service authentication using Azure AD OAuth similar to this example. I have previously configured this on another WebApi serv ...

Having trouble deploying Next.js on Azure due to an error indicating that the function content size was too large

Encountering difficulties when attempting to deploy the Next.js SSR app on Azure static-web-app. I have included the necessary configurations in the yml file to limit caching, but I am still receiving an ERROR: "The size of the function content was too lar ...

Debbuging problems with Azure web sockets and Socket.io

I'm currently developing a multiplayer chess game using NodeJS and socket.IO. I've been facing challenges trying to host it on Azure. I've attempted various approaches, including: Enforcing the use of WebSockets by adding the following code: io.configur ...

Tips for implementing React on Azure Web App with the Azure App Service extension in Visual Studio Code

I attempted to troubleshoot by following numerous questions and blogs online, but I was unsuccessful. I have developed a basic React application with this particular configuration: https://i.stack.imgur.com/FNlmR.png It functions properly locally. After ...

Azure deployment of React web app is restricted due to permission denial

I'm facing an issue while trying to deploy my React web app on Azure through a GitHub workflow. After committing changes, I encountered an error during the build process which is shown in this screenshot: https://i.stack.imgur.com/UkEOE.png I experienced ...

Encountered an issue when attempting to deploy ASP.NET Core / Angular app to Azure from Github repository

After creating a default project using dotnet new angular -o Homepage4, I ran the project with dotnet run and everything worked fine. I then saved the project to my GitHub repository. Now, I want to build my Azure site from the GitHub repository. In my Az ...

Navigating directly to URLs in Angular Universal with iisnode

My issue involves an Angular Universal application. While everything runs smoothly locally with express, and inside of node, deploying the production build to IIS with iisnode results in a 500 Internal Server Error when navigating directly via URL. Unfor ...

Encountered an "next: not found" error when attempting to launch nextjs standalone within Azure Web App

I am having issues deploying my application built with Next.js on an Azure Web App. Despite following the guidelines provided by Microsoft, I encountered a problem while trying to deploy. After compiling the application with the "standalone" flag as instru ...

Error 403 occurs when attempting to access Azure blob storage blobs using a generated SAS token

I have been working on incorporating images from Azure blob storage into my web application for some time now. Here is the SAS token for my storage account: ?sv=2021-06-08&ss=bfqt&srt=sco&sp=rwdlacupiytfx&se=2022-12-09T08:03:09Z&st=2022 ...

Is it possible to execute npm commands on the Azure App console?

I'm encountering an error message whenever I attempt to execute any npm command (such as npm i) on a Windows Azure app console. The environment consists of Node v10.19.0 and Npm v6.13.4. https://i.stack.imgur.com/QyKZC.png Here is the formatted code ...

An issue arose while attempting to run the `npm install gulp` command on K

Recently, I set up an automated deployment process for my app from Github to Azure Web Apps using the Github deployment option. However, when I created a new Azure web app and deployed my application using the usual method, the Gulp functions in my gulpfil ...

Configuring Visual Studio Publish settings for Single Page Applications deployed on Azure

I have set up my Azure App Service and downloaded the publish profile settings to use FTP for publishing my single page app to Azure. However, I am interested in configuring this process in Visual Studio similar to how one would publish a .Net application ...

What steps should I take to resolve the "You do not have authorization to access this directory or page" error in Azure App Services?

Currently, I am attempting to deploy my Next.js 13 application to AppServices using Github Actions. The compilation process on Github was successful, however, I am encountering an issue where my application does not seem to be deploying or starting up prop ...

I am looking for a guide on how to use OpenLayers in an Azure WebApp. Where can I find one

While I have been able to achieve the desired functionality successfully when hosting my app with VS Code and Vite, I encountered an issue when deploying it to my Azure WebApp. Despite a seemingly successful build and deployment process, I am unable to vie ...

Exploring Azure: Obtain a comprehensive list of application settings from a deployed Node.js web application

After successfully deploying a NodeJs app to a Linux Azure AppService, I am now aiming to retrieve the server settings of this particular app-service. By enabling managed Identity for the AppService under the 'Identity' tab, I attempted to achieve this in ...

What is the process for deploying a Next.js application from a monorepo created with Turborepo to Azure Web Apps?

I manage a monorepo containing multiple nextjs apps built with Turborepo, and I want to deploy them to Azure Web App. Each app should be able to deploy independently on Azure Web App, but I also want to explore hosting them on a single Azure Web Apps insta ...

Utilize Node.js to proxy Angular requests to a service hosted on Azurewebsites

I am trying to set up a proxy post request in my Node.js server and receive a response from the target of this request. Below is an excerpt from my server.js file code where I have implemented the proxy, but I am facing a issue with not receiving any respo ...

Encountering an error following the deployment of the React application to Azure

My react application was successfully deployed on azure using a windows environment. However, upon trying to access the website, I encountered the following error message: "You do not have permission to view this directory or page." Even after adding the ...

What is the best way to handle extensionless files and serve them as text/html using Express?

Currently, I am facing an issue with serving extensionless files as text/html on my static website using Express and Nginx. Despite my attempts to modify the MIME type in a managed environment like Azure App Service on Linux, the files are still being serv ...

Troubleshooting: Next.js application deployment on Azure Web App encountering file discrepancies

I'm currently facing an issue while attempting to deploy a next.js (with typescript) application on Azure using Bitbucket pipelines. As part of my pipeline process, I build the next.js app with the following build configuration: // next.config.js /** ...

Guide on instructing Azure Web App on the location of server.js

I am facing an issue where the deployment of my site on Azure through Github actions is not serving the site correctly. According to Azure's documentation, the container should start with one of these common files: bin/www server.js app.js index ...

The container failed to acknowledge HTTP pings on port 8080, resulting in the failure to launch the Azure Linux web service

Recently, I built a Node.js application (ExpressJS) on Azure using the Linux web app service. Everything went smoothly during deployment via Kudu at first. However, when I made some code changes, the container stopped responding to HTTP pings on port 8080. ...

Encountering issues with retrieving application setting variables from Azure App Service in a ReactJS TypeScript application resulting in '

My dilemma lies in my app setup which involves a Node.js runtime stack serving a ReactJs Typescript application. I have set some API URLs in the application settings, and attempted to access them in ReactJs components using process.env.REACT_APP_URL, only ...

Struggling to deploy a Reactjs application on Azure, encountering deployment failure

My attempt to launch my reactjs application on Azure cloud platform has hit a roadblock. I have designated the git repository as the deployment source, but my deployment is failing due to numerous npm errors. The azure error log shows the following: C ...

The package.json file has a specified Node version, yet Azure is indicating that none is defined

Having trouble creating a custom deploy script for my Azure website. The errors I'm encountering seem to be related to Azure using an outdated version of Node. After researching online, the common solution is to specify the Node version in the packag ...