I am writing few Azure Functions script that reads and write from/to an internal database and display relevant information into a webpage.  I noticed extreme slowness or even timeout in the web UI when loading the web page which calls the Azure Funct...
The azure-functions-cli offers a way to kickoff debugging, but these instructions seem to be Visual Studio specific.  I tried using a similar trick to serverless by setting up a run config in WebStorm to point the JavaScript file to:  \node_modules\a...
From my Azure Function (which runs in Node.js, triggered by EventHub message) I would like to make a post request to some external page. Something like:  module.exports = function (context, eventHubMessages) {  var http = require("http");  co...
I want to send emails from an Azure function (Javascript) using SendGrid. I have done the following   created a new AppSettings for SendGrid API Key SendGrid output binding set of Azure Function Following is my Azure Function          module.exports...
I want one of my Azure Functions to do an HTTP Redirection.  This is the current code of the function:  module.exports = context => {   context.res.status(302)   context.res.header('Location', 'https://www.stackoverflow.com')   con...
I'm attempting to use the Azure storage SDK for node to create a Table in Table Store, if it does not exist.  The following code is valid and returns a 200 response, although there is no response content. However, the table is created as expected...
How can I share code (e.g. Mongo schema definitions) between files in an Azure function app?  I need to do this, as my functions require access to a shared mongo schema and models, such as this basic example:  var blogPostSchema = new mongoose.Schema...
I am trying azure function (nodejs) with google authentication from a client side javascript app. I have set up CORS for the correct URL(i.e. http://localhost:8080). But I am still getting the following error:     Credentials flag is 'true',...
I'm trying to set metadata for service bus messages in a JavaScript Azure Function using the service bus binding output. Unfortunately, it appears that the binding only supports the body.  Looking at the docs, I see that you can access this infor...
I am getting an error with this javascript function definition in Azure. I am defining this within an Azure function for use by the exported function.  async function getData() {     var data = await postRequest();     return data; };   Below is the...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.