GithubHelp home page GithubHelp logo

fbeltrao / azurefunctionextensions Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 5.0 1.07 MB

Set of Azure Function Extensions: Redis output and IDatabase resolving, HTTP calls, etc.

License: MIT License

C# 100.00%
azure-functions serverless redis azure-event-grid signalr

azurefunctionextensions's People

Contributors

fbeltrao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

azurefunctionextensions's Issues

Microsoft.Azure.WebJobs.Host: Exception binding parameter 'db'. Fbeltrao.AzureFunctionExtensions: Object reference not set to an instance of an object.

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

azure consumption plan

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.

Error sending event grid events (code: BadRequest)

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

Authentication settings from App settings

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?

Missing a License

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.

Cannot bind parameter 'outputEvents'

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.