fbeltrao / azurefunctionextensions Goto Github PK
View Code? Open in Web Editor NEWSet of Azure Function Extensions: Redis output and IDatabase resolving, HTTP calls, etc.
License: MIT License
Set of Azure Function Extensions: Redis output and IDatabase resolving, HTTP calls, etc.
License: MIT License
Hello,
I am struggling and hope you can help.
I have a WebFunction initiated by a QueueTrigger. When I add your nuget package to my Visual Studio 2017 project and add
[RedisDatabase(Connection = "%redis_connectionstring%")] IDatabase db,
and the connection setting in local.settings.json then when I run the webfunction then I get
[30/12/2018 15:52:24] System.Private.CoreLib: Exception while executing function: HttpRequestRedis. Microsoft.Azure.WebJobs.Host: Exception binding parameter 'db'. Fbeltrao.AzureFunctionExtensions: Object reference not set to an instance of an object.
My Webfunction looks like this
[FunctionName("HttpRequestRedis")]
public static async Task Run(
[QueueTrigger(CloudQueues.TempRequestLoggingForRedis, Connection = "StorageAccount")]string myQueueItem,
[RedisDatabase(Connection = "%redis_connectionstring%")] IDatabase db,
ILogger log
)
{
}
If I remove the following from the method signature
[RedisDatabase(Connection = "%redis_connectionstring%")] IDatabase db,
Then it works as expected. Please advise how I may proceed.
Thanks
Ian
if am using azure consumption plan then will you product still make new connections to redis server. There are lot of people facing connection issues when using redis cache in functions with consumption plans.
please advise.
Hi, I use the EventGrid output extention.
wend I add events to the outputevents, it works really well
but when I send no event, there is an error !
when i see the source code, in AzureFunctionExtensions/src/AzureFunctionExtensions/EventGrid/EventGridOutputAsyncCollector.cs
FlushAsync should do Nothing if this.eventGridEvents is empty
thanks
Would it be possible to refer to an app setting instead of the actual authentication settings in the attribute parameters (for instance the sas key of the Event Grid binding extension), like the Event Hub binding for instance?
From your blog post and the Readme file it looks like you want people to use the library, but without an explicit license people can't really use it. If you don't want people to use it while in pre-release, then an explicit message about that would be helpful.
Right now, I'd like to use the Event Grid output, but due to missing licensing I can't.
Hello, when I try to run the sample project (all nugets updated) locally in emulator I get this error:
[16/10/2018 13:09:22] Error indexing method 'PublishEventGridEvent.MultipleAsync'
[16/10/2018 13:09:22] Microsoft.Azure.WebJobs.Host: Error indexing method 'PublishEventGridEvent.MultipleAsync'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'outputEvents' to type IAsyncCollector`1. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
maybe it is connected with this one?
Azure/azure-functions-host#3386 (comment)
Hi, would you mind to rename Startup to something more specific?
For more readable extensions.json in case of multiple extensions.
Thanks ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.