Azure App Service – What is taking my disk space for my Azure Web App ?

While working on Azure App service, you may notice disk full errors. These may surface in different ways for e.g. The application may get the error “System.IO.IOException: There is not enough space on the disk”. You may see disk errors while browsing to the KUDU Console. You try to publish using VSTS or Visual Studio…

0

Unable to Create Classic Hybrid Connections

As you may already know, we recently released a change to Hybrid Connection integration with Web Apps in Azure App Service. Before this change, Hybrid Connections relied on BizTalk Services for connectivity. With the recent general availability of Azure Relay, we have changed the way Hybrid Connections work in Web Apps. Instead of using BizTalk…

0

Hybrid Connection Shows “Connected”, but Application Fails to Connect

What can you do if your Web App’s Hybrid Connection shows a status of “Connected”, but the application fails to connect to your on-premise resource? Chances are the reason is because you have configured your Hybrid Connection so that it actually gets by-passed when you attempt to connect to your on-premise resource. In this post, I’ll describe…

0

Posting a large file can fail if you enable Client Certificates

Overview If you require client certificates and POST or PUT a large amount of data, your request may fail.  This has been an issue that has existed with IIS for at least 10 years (this now applies to Azure App Services on the Windows platform as well since it uses IIS).    There is not much…

0

Publishing Azure Api App and it does not appear in the portal

Overview There have been some reports of people publishing an Azure API App and then they cannot find it in the portal Cause The most common cause is that you have not updated your Azure SDK and so you are publishing the old V1 Azure API Apps (which are no longer supported).  The UI is…

0

Enable client certificate for Azure web site fails with 400 Bad Request

  Problem: Customer follows this blog to use armclient to enable client certificate for his web site.  Issuing the armclient PUT command results in the following error: HTTP/1.1 400 BadRequest Pragma: no-cache Strict-Transport-Security: max-age=31536000; includeSubDomains x-ms-ratelimit-remaining-subscription-writes: 1199 x-ms-request-id: befeee1f-ac33-4d84-8f04-0ff36d9aa698 x-ms-correlation-request-id: befeee1f-ac33-4d84-8f04-0ff36d9aa698 x-ms-routing-request-id: WESTUS2:20170312T180143Z:befeee1f-ac33-4d84-8f04-0ff36d9aa698 Cache-Control: no-cache Date: Sun, 12 Mar 2017 18:01:42 GMT ETag: “1D29B57E7FD6890” Server:…

0

Deploying a web app with .NET

Overview A walkthrough on creating a new web app from a Console app using .NET. This is not to be confused with deploying new code to an existing web app, it is a programmatic way to create web apps in a similar fashion to ARM or creation through the portal. Walkthrough 1. To begin, create…

0

Azure Functions : NLog and Database

Here are steps to write NLog to Database in Azure Functions   1. via Config (NLog.config) <?xml version=“1.0“ encoding=“utf-8“ ?> <nlog xmlns=“http://www.nlog-project.org/schemas/NLog.xsd“       xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance“>   <targets>     <!–<target name=”logfile” xsi:type=”File” fileName=”file.txt” />–>     <target name=“logfile“ xsi:type=“Database“ connectionstring=“Server=dbservername.database.windows.net,1433;Initial Catalog=dbname;Persist Security Info=False;User ID=dbuser;Password=password; MultipleActiveResultSets=False; Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;“>       <commandText>         insert into LogTable(time_stamp,level,logger,message) values(@time_stamp, @level, @logger, @message);…

0

How to get a System.Net trace of your C# Web Job

Overview In Azure App Services C# based Web Jobs, you can see the network traffic that is using the System.Net socket and related .Net classes using this functionality.  This should be only used to temporarily grab traces as the log will grow quite large and it (as with any logging) will decrease performance slightly. Walkthrough…

0

Azure App Service Authentication–AAD Groups

Overview I wanted an easy way to leverage Azure AD Groups in my application.  Thanks to Dushyant and my previous post on App Roles, I was able to throw together a sample.  references: Authorization in Cloud Applications using AD Groups , Azure App Service Authentication – App Roles  NOTE: If your user/org uses many groups,…

1