azure-web-sites

Deploy Azure application ASP.NET with C# - Error CrystalReports

老子叫甜甜 提交于 2020-03-28 06:41:11
问题 I come to ask for guidance to this great Microsoft .NET community I am a Java dev and I have always worked with architectures designed for Java environments. I ended up having the opportunity to implement an ASP project. NET with C # in a clound environment at AZURE. A great learning experience for those who have never worked or studied tools and languages ​​of the .NET ecosystem. If anyone knows how to guide me, I would be very grateful, I already did the study on the Internet about the

“Use a tenant-specific endpoint or configure the application to be multi-tenant” when signing into my Azure website

风格不统一 提交于 2020-03-21 11:08:06
问题 I'm getting this error after I sign into my Azure website: AADSTS50194: Application 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx' is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after '10/15/2018'. Use a tenant-specific endpoint or configure the application to be multi-tenant. 回答1: It turns out that my account was not actually on Azure AD, so I needed to check "Accounts in any organizational directory" under "Supported

Configuring AppSettings with ASP.Net Core on Azure Web App for Containers: Whither Colons?

大兔子大兔子 提交于 2020-03-17 10:45:27
问题 Consider this appsettings.json : { "Parent": { "ChildOne": "C1 from secrets.json", "ChildTwo": "C2 from secrets.json" } } According to Microsoft (https://blogs.msdn.microsoft.com/waws/2018/06/12/asp-net-core-settings-for-azure-app-service/), if an app using this config was deployed to an AppService in Azure, the config could be overwritten by creating Application settings in Azure in the style Parent:ChildOne / Parent:ChildTwo . To be clear: using colons to target a specific piece of config.

Configuring AppSettings with ASP.Net Core on Azure Web App for Containers: Whither Colons?

懵懂的女人 提交于 2020-03-17 10:45:25
问题 Consider this appsettings.json : { "Parent": { "ChildOne": "C1 from secrets.json", "ChildTwo": "C2 from secrets.json" } } According to Microsoft (https://blogs.msdn.microsoft.com/waws/2018/06/12/asp-net-core-settings-for-azure-app-service/), if an app using this config was deployed to an AppService in Azure, the config could be overwritten by creating Application settings in Azure in the style Parent:ChildOne / Parent:ChildTwo . To be clear: using colons to target a specific piece of config.

Authentication failed for Azure Git

不打扰是莪最后的温柔 提交于 2020-03-17 08:18:21
问题 I'm trying to clone my webapp in Azure. When I run git clone https://username@appname.scm.azurewebsites.net:443/appname.git the terminal asks me for my password. But when I fill in my password, it keeps saying that the authentication has failed. Even though I changed my password plenty of times in the Portal (Settings -> Set deployment credentials). Any reason it keeps saying that my authentication has failed? 回答1: I had the same problem with my site and it turned out the issue is with the

Remove CNAME after Azure has verified the domain

醉酒当歌 提交于 2020-03-06 09:54:08
问题 Once I have verified my domain in Azure with the CNAME record, can I remove the CNAME record safely from my DNS server without breaking anything? 回答1: You can safely delete the awverify records. Those are used only when validating the custom domain (while associating a new domain in the portal) and post that, they are not used so feel free to remove them. 来源: https://stackoverflow.com/questions/37715005/remove-cname-after-azure-has-verified-the-domain

cannot convert to microsoft.azure.cosmosDB.table.itableentity

拥有回忆 提交于 2020-03-03 08:07:28
问题 I'm trying to insert some test values into an Azure table using storage connection string. When I tried to perform insert operation it showing error as cannot convert TableStorage.RunnerInputs to Microsoft.azure.cosmosDB.table.itableentity. I'm working on this with the reference to https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-dotnet * CloudStorageAccount storageAccount = CloudStorageAccount.Parse( CloudConfigurationManager.GetSetting("StorageConnectionString")); /

Do I really need 2 SSL certifications to redirect a naked domain to www?

半世苍凉 提交于 2020-03-02 17:13:33
问题 I have a website, which I only want to be used with the https://www-prefix. I have to 2 url-redirects configured in my web.config (asp.net MVC on Azure websites), one from http to https, and one from naked domain to www.domain. I initially bought an SSL certificate for my www.domain.com only, but then when someone would enter the naked domain, he would get a browser warning/block before the redirect could even happen. Eventually I bought a 2nd SSL cert. for my naked domain as well and it all

How to route to another path with Azure Application Gateway?

旧巷老猫 提交于 2020-02-23 06:43:11
问题 I want to redirect a URL-path in my Azure Web App service to another URL-path using Azure Application Gateway. How to avoid redirection to include the original path? I have an ASP.NET framework 4.7 Web App service in Azure with two APIs: https://myapp.azurewebsites.net/api/values/{int} -> respons 200 https://myapp.azurewebsites.net/api/forbidden -> respons 403 Then I have an App Gateway http://myapp.northeurope.cloudapp.azure.com With path-based route http://myapp.northeurope.cloudapp.azure

Azure Web App for Containers networking VNET

怎甘沉沦 提交于 2020-02-23 03:24:50
问题 I'm exploring Azure but unable to figure out how to allow my App service to connect to the VNET I created so it can access the HDInsight cluster. My scenario is this, I'm running a Kafka HDInsight cluster deployed in the VNET I created and I need to also deploy my Azure Web App for Container in the same VNET so it can connect to the Kafka brokers. I haven't seen a good documentation on this, need help on how to set the Azure app service to connect to my VNET over a private network? The