How to add assembly references to an Azure Function App

Azure Functions
Azure Functions

I wanted to do this and I found these articles helpful: #AzureFunction #Azure #Csharp Azure Functions C# developer reference –> see Referencing External Assemblies How to make a simple DLL as an assembly reference just for fun Could not load file or assembly … The system cannot find the file specified SOLVED It did take…

8

Could not load file or assembly ‘benjamin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.","errorDetails" SOLVED

Azure Functions
Azure Functions

I was writting this article about #AzureFunctions here called “How to add assembly references to an Azure Function App” and another here called “How to make a simple DLL as an assembly reference just for fun” and I got this exceptions when I called the Azure Function: D:\>curl.exe -G http://localhost:7071/api/GrettingsAssemblyReference?code=b442be73f7124dd8ae57747e7ffc496d -d name=Benjamin {“id”:”3abc8583-47c0-43e3-90f0-d2f7fe577d43″,”requestId”:”b74ef638-0f71-4303-adca-2c7741e1dcb7″,”statusCode”:500,”errorCode”:0,”messsage”:”Exception while executing function:…

0

How to make a simple DLL as an assembly reference just for fun

Azure Functions
Azure Functions

The path to reproducing a scenario for a custom is sometimes a long-ish one.  I needed to include a custom assembly in an Azure Function App which I describe here “How to add assembly references to an Azure Function App” and documented this one here “Could not load file or assembly” along the way here…

0

Export an Azure App Service Certificate PFX PowerShell

Azure PowerShell
Azure PowerShell

I found this article “Creating a local PFX copy of App Service Certificate” here and wanted to do a reproduction of it. I wrote an article here where I discussed “How (I) configured an App Service Certificate for my Azure App Service” which might help to get a broader perspective of what and how to…

0

How (I) configured an App Service Certificate for my Azure App Service

Azure App Service
Azure App Service

Here is some good information about the App Service Certificates.  Like custom domain names, you can also purchase SSL certificates from within the Azure portal here.  I was working with a customer who was having some problems with the configuration and decided to walk through the configuration myself, and like always, will document and share…

0

Azure Functions Access-Control-Allow-Credentials with CORS

Azure Functions
Azure Functions

There is a known issue documented on GitHub here with a title of Cross origin http request CORS fails with response header missing ‘Access-Control-Allow-Credentials: true’.  Although the issue described and a solution provided, I thought I would write up what I did as I use C# and didn’t see any examples of that, so here…

0

How to disable TLS 1.0 on an Azure App Service Web App

Microsoft Azure
Microsoft Azure

Short answer is that you can’t. (see alternative solution below) The reason is that when you deploy an Azure App Service it goes into a multi-tenant scale unit.  A scale unit looks something like Figure 1, which I stole from here.  Also, have a look at this forums discussion here. Figure 1, Azure App Service…

6

Testing/Consuming an Azure Function

Azure Functions
Azure Functions

I created an Azure Function using these instructions and the Visual Studio Tools For Azure Functions which I discussed here and here. #Azure #AzureFunction #AzureAppService I also found some good instructions on how to test Azure Functions here. As shown in Figure 1, I created a C# Http Trigger Azure Function named ‘SayHello’ with an…

0

Setting up and using GitHub in Visual Studio 2017

Visual Studio
Visual Studio

I wrote this article here about setting up GitHub in Visual Studio 2015 and felt it necessary to document the same in Visual Studio 2017.  Here is how I setup GitHub source code management in Visual Studio 2017 Community. Install the GitHub extension for Visual Studio Create your GitHub repo and then login Create a…

8

Dumping modules from a memory dump for decompilation

WinDbg Debugging
WinDbg Debugging

One of my favorite WinDbg commands is the psscor4 SaveAllModules (sam).  I used to just bang that one out and use JustDecompile to look at the code to find out what was going on, like why the process was hanging or consuming more memory than expected. At the moment psscor4 does not support the most…

1

Configure PowerShell for running Azure Cmdlets

azure powershell
azure powershell

I am really a GUI fan, but sometimes I have to help people run Azure PowerShell cmdlets.  I wrote a few other Azure PowerShell articles like these here: How to tell which Azure PowerShell version you are running Moving an Azure App Service Deploy an App Service using Azure PowerShell to a Deployment Slot In…

0