azure-web-sites

Antivirus for Azure App Services

旧巷老猫 提交于 2019-12-06 15:46:49
If a malicious user tamper with the file placed in AppServices and incorporate the virus, is there a way to know that? For example, installing antivirus software on a virtual machine and keep it in the same way. http://stackoverflow.com/questions/38387004/antimalware-for-azure-app-services I am looking at this URL for reference and I understand that using Tinfoil Security meets the requirements. However, Tinfoil Security can not be used because the license I use is Japanese CSP. https://www.microsoft.com/en-us/TrustCenter/Security/ThreatManagement I also saw this URL, but my English skill is

Using WebDeploy (MSDeploy) to deploy to a Microsoft Azure Website target doesn't work

耗尽温柔 提交于 2019-12-06 15:28:36
I'm trying to deploy my web app via Visual Studio 2015's "Publish" functionality to an Azure website/app service staging slot and I receive the following errors: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred. Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10. Updating file (xxxxxxxxxxxxx__staging\bin\EntityFramework.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5):

Scaling Orchard with Azure Web Sites

时光总嘲笑我的痴心妄想 提交于 2019-12-06 14:18:21
问题 I am currently experimenting with installing Orchard on Azure using the recently released "Web Sites" functionality. I have successfully installed and setup Orchard using the template from the gallery and so far everything seems to be going well. My question is: If I scale up the site to use 3 instances is there anything special I need to do to ensure that the instances all work from the same cache? So a new page appears on all instances at once. I have a little experience with Umbraco and I

How to run node.js in azure webjobs?

偶尔善良 提交于 2019-12-06 14:00:51
问题 I am having several node js script files.I have to run these js files in azure web jobs.can any one tell me the detail step for how to add the node.js files in azure web jobs and also how to run these web jobs. 回答1: If you have a file with a .js extension it'll be run as a node program Full documentation on Azure Web Jobs here: https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/ 回答2: It's relatively easy if you know some undocumented details :) The key concept

Azure websites complaining Role environment . FAILED TO INITIALIZE on startup

余生长醉 提交于 2019-12-06 13:56:36
my question is similar to Azure websites complaining Role environment . FAILED TO INITIALIZE Error that I see in the Azure App Service Support Event Viewer: " 9236 w3wp Role environment . FAILED TO INITIALIZE. hr: -2147024891 " It happens every single time on startup of the website. Other than that - website functions just fine. Except, randomly (it might take 10-30 minutes) it stops with "The application was terminated." (i see this error through azure application logs). I am not sure if these two things are related, but I am trying to first fix the "FAILED TO INITIALIZE" issue. I don't have

Identityserver4 with azurewebsites.net domain - how to get ssl thumbprint

血红的双手。 提交于 2019-12-06 13:32:28
问题 I want to host identity server 4 on azurewebsites.net https but I am not sure how to find ssl certificate of my someapp.azurewebsites.net sub domain so I can use it as thumbprint? Is that even possible to obtain ssl certificate that is running on your webapp on azurewebsites.net subdomain? 回答1: One way to use a self-signed certificate to use for token signing with IdentityServer4 is to store the certificate with the application under the 'wwwroot' folder. You can use OpenSSL to generate a

Azure SQL Database sometimes unreachable from Azure Websites

谁说胖子不能爱 提交于 2019-12-06 13:05:09
I have a asp.net application deployed to Azure websites connecting to Azure SQL Database. This has been working fine for the last year, but last weekend I have started getting errors connecting to the database giving the following stacktrace. [Win32Exception (0x80004005): Access is denied] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes

Add a Azure WebApp to an Existing VPN using a Point-to-Site connection (RM Powershell)

我的未来我决定 提交于 2019-12-06 11:58:55
问题 I have hunted around for an answer to this, but I am not having much luck. All the articles I can find are either setting up a Point-to-Site or are instructions for classic Azure, not Azure 2.0 (Resource Group) Currently, we are dialing up a whole new resource group everytime we do a new built. This consists of Web apps and SQL DBs. When we have a new build we start up the new and del the old resource group. Simple. To minimize the start-up time we have a static resource group that isn't

Getting the azure app service slot name on startup?

十年热恋 提交于 2019-12-06 11:09:02
How can I get the name of the slot (production or staging) of my app service when the asp.net core process starts. The HTTP_HOST environment variable doesn't appear to be set on startup and I have no http request to inspect. If we want to get the host name, you could use the environment variable WEBSITE_HOSTNAME to do that. var hostName = Environment.GetEnvironmentVariable("WEBSITE_HOSTNAME"); If you run it on the slot environment then you will get the value youwebsiteName-slotName.azurewebsites.net . Or if you run it on the production environment you will get the value youwebsiteName

Azure ASP.NET RC1 Deployment Failure

时光怂恿深爱的人放手 提交于 2019-12-06 10:32:59
I have an ASP.NET Core RC1 application that is deployed to Azure via GitHub deployment (i.e., I commit source to GitHub and the application is built/deployed by Azure). Everything worked fine up until sometime within the last 5 days. I successfully deployed my application 5 days ago (~2016-05-16). Today I made a change and tried to deploy again but the deploy failed. I attempted to deploy again (thinking the problem may be transient) and encountered the same problem. I then tried re-deploying the previous known good commit, which failed again (note: project.lock is in source control). I then