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…

0

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

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

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…

1

How to enable C# 7 in Visual Studio 2017

Microsoft .NET
Microsoft .NET

I was working with Visual Studio 2017 and found that 4.6.2 is not installed as default yet, so I wrote this article here about that.  In that article I also point out that you need to install the System.ValueType NuGet package to the Tuples capabilities to work. This time I wanted to get the Pattern…

1

.Net Framework 4.6.2 not in Visual Studio 2017

Microsoft .NET
Microsoft .NET

Cannot find the .NET Framework 4.6.2 in Visual Studio 2017?  Without it you cannot get all the cool new C# features? When you create a new project for example, you may only see .NET Framework versions up to 4.6.1 as seen in Figure 1. Figure 1, where is 4.6.2 in Visual Studio 2017 This is…

5

How to call an async method from a console app main method

.NET Core
.NET Core

I find myself needing to look this code snippet up time to time so I thought I’d write it up. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core…

0

How to deploy a .NET Core console application to Azure, WebJob

.NET Core
.NET Core

Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core console application to Azure, WebJob .NET Core application, where is my EXE, how to publish Create a VNET and access…

0

.NET Core application, where is my EXE, how to publish

.NET Core
.NET Core

Short answer, there isn’t one.  When you compile your .NET Core console application for example, you get a DLL.  Then you execute it using the DOTNET command from the .NET Core SDK found here. Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an…

1

Troubleshooting an Azure App Service WebJob

KUDU Azure App Service
KUDU Azure App Service

Whenever you write a WebJob, for example in C#, you should always place your code within try{} catch{} code blocks.  If you do not manage your exceptions and your code throws an exception, it will likely terminate to process. I wanted to find out what happened when my WebJob threw an exception and I did…

0

How I improved my chatbot

ladybug.ai
ladybug.ai

I think a common attribute of a hardcore coder is procrastination.  Up to now I have brainstormed my LadyBug but have not done much coding to support the backend.  Nonetheless, this is probably my last blog on the design of my #chatbot and will start coding it pretty soon.  If you haven’t seen my other…

0

Adding LUIS Entities to my chatbot

ladybug.ai
ladybug.ai

I have written a number of articles about my #chatbot #chatbots using LUIS and the Azure Bot Service, see the following: Create a Bot using an Azure App Service Bot Service Most common chatbot questions and how to answer them Publishing a chatbot using Bot Services and LUIS How I tested / debugged my chatbot…

0