How to create an Azure Function in Visual Studio

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

These are some good instructions as well “Create your first function using Visual Studio”.  But I like to try it out myself.  Check out these other articles as well. How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here…

0

How to connect to a database from an Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I created a simple Azure Function and now I want to connect it to a database.  Check out these other articles as well. How to create an Azure Function in Visual Studio Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here I found this article also useful “Code…

0

Deploy an Azure Function created from Visual Studio

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I created an Azure Function and added some some code to connect to a database and now I want to deploy it to the Azure platform. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Check out all my Azure Functions articles here Right-click on…

0

An error occurred

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions…

0

Publish failed

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions…

0

Azure Function – take it to the limit, scale it up

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

Azure Functions are really cool #AzureFunction.  I wrote numerous articles about Azure Functions here, check them out.  As you know there are 2 kinds of Azure Functions: Consumption – do not have to worry about resource management App Service Plan – run your functions just like other Azure App Services Each have a different set of…

4

How to configure GitHub or VSTS for use with an Azure Function

GitHub - benjaminperkins
GitHub - benjaminperkins

I have written a few post about setting up source code repositories for App Services and now, while I am getting up to speed with Azure Functions I wanted to do the same.  Here are some other GitHub related articles I have written: #AzureFunctions #Azure #GitHub Setting up and using GitHub in Visual Studio 2017…

0

Azure Functions updates

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

Azure Functions CLI has been renamed to azure-functions-core-tools, see here. Also, appsettings.json has been renamed to local.settings.json, the appsettings.json file will show as deprecated, but will still work. See other changes here.

0

How to add assembly references to an Azure Function App

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

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 Benjamin Perkins
Azure Functions Benjamin Perkins

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 Benjamin Perkins
Azure Functions Benjamin Perkins

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 Benjamin Perkins
Azure Functions Benjamin Perkins

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 Benjamin Perkins
Azure Functions Benjamin Perkins

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

Azure Functions on 64 bit

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

Until this is updated in the portal to allow this, you can read how to enable that at the below links: Allow 64 bit to be enabled in the UI Set Azure Function App on Consumption Plan to 64 bit In summary: Access resource manager here Navogate to the Function App –> subscription/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/functionaAppName/config/web/use32BitWorkerProcess Set that…

1

Visual Studio Tool for Azure Functions

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I wrote a short post about the debugging Azure Functions in Visual Studio feature here.  There was a new video posted about it below.  #AzureFunctions Cool stuff.  Here are some other interesting links: Visual Studio Tools for Azure Functions Visual Studio Tools for Azure Functions Video Azure Functions Challenge Visual Studio Tools for Azure Azure…

0