azure-web-app-service

Azure Back end app services with no public ip

橙三吉。 提交于 2021-01-28 22:53:17
问题 I'm trying to create an environment in azure with a front end (publicly addressable) app service and several back end app services containing war and web api apps. There should be no way the back end can be addressed publicly. Note I want app services, not cloud services. I know I need a vnet but I can't get my head around how to remove the default public endpoints for my back end apps. How do I set such an environment up? 回答1: Take a look at the App Service Environment, you get fine grained

Is there a way to change date of Azure App Service which had a linux based container deployed

不想你离开。 提交于 2021-01-28 20:10:05
问题 I need to change the date / time of my Azure App Service. This will help me in time travelling the API to a past date. I have used linux based image of .Net Core API, deployed as container in Azure App Service. In this API I have a method which currently returns the system date and time. I know there is a way to set the timezone. This can be part of the dockerfile. I am trying to look for a similar way to change the date. 回答1: There are multiple ways to get the current time. You can set the

Azure Active Directory always redirects to '~/.auth/login/done' when deployed to Azure despite working on localhost

。_饼干妹妹 提交于 2021-01-28 18:42:18
问题 So I'm developing an ASP.NET Core app (.NET Core 2.0), hosted as App Service on Azure. I want to implement authentication with Azure AD, using a single tenant (so only account from our company). I actually added all necessary code, registered the app and configured everything in App Service (at least I think so) and it even works without any problems when I run it locally. The problem occur when I publish the app to Azure and try to log in there. Instead of being redirected to the view of my

ASP.NET MVC; compiling to x64 versus anyCPU for 64bit, difference?

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-28 11:47:57
问题 I am running Visual Studio 2017, ASP.NET 4.7 and MVC 5, for developing against IIS Express and Azure App Services. It is currently 32bit. I want to convert it to 64bit I see 2 options: Explicitly setting x64 in the Solution's configuration via the "Active" tab. Explicitly setting AnyCPU in the Solution's configuration via the "Active tab. I have set IIS Express to 64bit and will have set the Azure App Service instance to 64bit. I have a feeling that 2) is best practice since the web server

Providing user parameters in azure active directory authentication

吃可爱长大的小学妹 提交于 2021-01-28 11:46:14
问题 I have created a azure web application. This application has been enabled with azure active directory authentication. When authentication process starts first the user email is asked. If I already know the user email address can this step be avoided. In the process if I already have user email id, it should directly go to next step. How this can be controlled from web application? 回答1: Sample login url: https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=.....

Combine results of several pipeline jobs into azure web app package

狂风中的少年 提交于 2021-01-28 08:53:10
问题 We're in the process of moving our product to an azure web app. We have an extensive existing pipeline containing multiple parallel jobs. One of these jobs compiles a asp.net web application. Some others compile a vue.js website. Currently, the results of the web application and the vue projects are combined in a separate stage, using a powershell script. Now I can convert the publish step of the web application to generate a deployment package for azure. But what is the best way of also

Combine results of several pipeline jobs into azure web app package

怎甘沉沦 提交于 2021-01-28 08:31:06
问题 We're in the process of moving our product to an azure web app. We have an extensive existing pipeline containing multiple parallel jobs. One of these jobs compiles a asp.net web application. Some others compile a vue.js website. Currently, the results of the web application and the vue projects are combined in a separate stage, using a powershell script. Now I can convert the publish step of the web application to generate a deployment package for azure. But what is the best way of also

NameServer ns3-02.azure-dns.org. should be in proper format

╄→гoц情女王★ 提交于 2021-01-28 08:05:11
问题 After creating DNS zone in azure I opened my domain name cpanel and add nameservers then it gives following error: NameServer ns3-02.azure-dns.org. should be in proper format I was looking for this error in google but I haven't found any solutions. I want to host my blogging site on azure. 回答1: Your steps are correct. If you encounter this problem, it should be a problem with the domain name provider. Juunas's suggestion is right, adding nameservers does not require dots at the end. According

Get the list of azure web app settings to be swapped using PowerShell

怎甘沉沦 提交于 2021-01-28 06:25:01
问题 When we perform the swap through the azure portal, it gives us the warning & informative messages regarding the settings to be swapped. Just like in below image: My question is, is there any way I can get these messages list (regarding the settings) through PowerShell code? I tried googling it but couldn't find any way. 回答1: The direct solution is to use the Invoke-RestMethod to request the API captured in the Portal. The problem is that this is a non-public AP I, and we don't know if it has

Web App on Azure loaded slow after applying custom domain

若如初见. 提交于 2021-01-27 07:26:37
问题 I just started hosting my website on Azure. Initially when uploading and hosting the website on xxxx.azurewebsites.net, the performance and response was great. After adding a custom domain (Bought from Godaddy), the performance became worst and it would take 1 min for a page to load. xxxx.azurewebsites.net -> loaded in few seconds xxxx.com -> loaded in almost a minute Is there anything im missing here? In General Configuration, I have enabled Always On but the performance is still the same