azure-web-sites

Azure multiple sites in virtual directories

我只是一个虾纸丫 提交于 2019-12-12 23:20:15
问题 I have 3 asp.net core sites I need to deploy on the same domain (subdomains will not work with my SSL certificate). https://my-site.com (Single page app) https://my-site.com/api (Web api) https://my-site.com/identity (Identity server) When I deploy the api and identity projects, they work fine. However, when deploying the single page app, api and identity stop working. The page cannot be displayed because an internal server error has occurred. The error appears instantly so it's probably

WebApp in AppServices vs CloudService

旧街凉风 提交于 2019-12-12 21:25:34
问题 Is WebApp (formerly Azure Website) in the newly announced "Azure AppService" the preferred approach to building highly scalable web applications as opposed to using "Azure CloudServices"? My original understanding was that web applications hosted as "Azure CloudServices" would scale better and "Azure Websites" were for simpler web sites/applications. I'm building a web application and scalability is a big concern. Which is the "better" approach? 回答1: Your exact answer might depend on what you

Blob storage access from Azure App Service

て烟熏妆下的殇ゞ 提交于 2019-12-12 20:39:27
问题 I have an issue with accessing blob storage from an App Service Mobile App (Not MobileService). I previously have had a MobileService running that accessed the Blob Storage in the following way: // Set the URI for the Blob Storage service. Uri blobEndpoint = new Uri(string.Format("https://{0}.blob.core.windows.net", storageAccountName)); // Create the BLOB service client. CloudBlobClient blobClient = new CloudBlobClient(blobEndpoint, new StorageCredentials(storageAccountName,

Azure traffic manager and https endpoint

让人想犯罪 __ 提交于 2019-12-12 18:36:09
问题 I have a Website running on Azure. I added a custom domain and an SSL to enable https access to it. All is fine. Few days ago Azure had a network issue in a datacenter where my website is hosted( West Europe) and of course my site was affected during that time. So i've decided now to put my site under traffic manager and deploy it in 2 regions. Configuring Http acces with ATM works. But when i switch to Https( choosing https protocol in ATM config page) all endpoints get "Degraded" status. so

DNS: High Availability with Azure Web Apps + Traffic Manager

霸气de小男生 提交于 2019-12-12 17:18:37
问题 I have a client with the following setup: DNS is NetworkSolutions. Their minimum TTL for a DNS entry is an hour. An Azure Web App hosting a standard MVC site. Azure Traffic Manager set to priority. Our A record points to the Azure Web App's IP address. Our CNAME for www and various other subdomains points to our Traffic Manager endpoint. Our Traffic Manager endpoint then points to [siteName].azurewebsites.net. Our naked domain simply 301 redirects to our www. My goal is to have a hot standby

How do I give permission to publish websites to Azure?

浪尽此生 提交于 2019-12-12 16:40:14
问题 How do I give someone permission to publish an ASP.NET MVC website to Azure without just handing over my personal credentials? 回答1: Using the new Azure Resource Manager (ARM) you can use Role Based Access Control (RBAC) to grant a user a certain access on a certain Azure resource that you own. There are 3 default RBAC roles: Owner , Contributor and Reader . If you want a user to be able to publish to a site without giving them your personal creds you should be able to add then as a

Create an Azure Website with PowerShell and FTP

℡╲_俬逩灬. 提交于 2019-12-12 16:08:48
问题 I need to write a PowerShell script that automatically creates an Azure Website and deploy the content of a local file system. Seems that Azure PowerShell SDK doesn't provide a way to copy files to a website so we want to use FTP as a deploy method. To get the correct FTP endpoints and credentials the only way that I have found is to call an Azure Management Rest API: Get a Site’s Publish Profile. But this API as other Azure Management API requires a certificate. I have found the following

Configure WAF Application Gateway in front of App Services [closed]

十年热恋 提交于 2019-12-12 15:33:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I have a VNET with two App Services and one Windows VM in Azure. They are in the same VNET using VPN point-to-site. I want to protect this environment with a WAF and have read that I can use Application Gateway WAF instead of the very expensive setup with App Service Environment and

Azure WebJob Deploy Error ManagementCertificatePath

大憨熊 提交于 2019-12-12 14:40:21
问题 I'm trying to deploy 2 WebJobs; 1 continuous and 1 scheduled. Part way through the deployment, the following errors happen: Error 1 The "ManagementCertificatePath" parameter is not supported by the "CreateScheduledWebJob" task. Verify the parameter exists on the task, and it is a settable public instance property. Error 2 The "CreateScheduledWebJob" task could not be initialized with its input parameters. Any ideas how to fix this? Update: I've updated all the NuGet packages and came across 2

Intermittent MongoDB Connection Issue: An attempt was made to access a socket in a way forbidden by its access permissions

て烟熏妆下的殇ゞ 提交于 2019-12-12 14:08:23
问题 I get the following exception thrown occasionally when trying to write documents to my collection. I am using MongoDB 3.0.7 hosted in mLabs. Our application is hosted in Azure (as a Web App) and I am using the C# 2.2.3 SDK. MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 191.235.xxx.xxx:54128 at System.Net.Sockets