locked
Azure Functions not Listing After Deployment RRS feed

  • Question

  • User602350313 posted

    Please help me on this,

    I have created the Azure Function with Azure Signal Service.

    I have used following two functions

    [FunctionName("negotiate")]
    public static SignalRConnectionInfo GetSignalRInfo(
    [HttpTrigger(AuthorizationLevel.Anonymous, "post")] HttpRequest req,
    [SignalRConnectionInfo(HubName = "chat")] SignalRConnectionInfo connectionInfo)
    {
    return connectionInfo;
    }
    }

    public static Task SendMessage(
    [HttpTrigger(AuthorizationLevel.Anonymous, "post")] object message,
    [SignalR(HubName = "chat")] IAsyncCollector<SignalRMessage> signalRMessages)
    {
    return signalRMessages.AddAsync(
    new SignalRMessage
    {
    Target = "newMessage",
    Arguments = new[] { message }
    });


    }

    After Deployment in Azure, no Function listed in the Azure Functions.

    also getting the status

    Syncing 0 function triggers with payload size 2 bytes successful.

    Thursday, October 31, 2019 12:04 PM

All replies

  • User61956409 posted

    Hi krrishbiju,

    After Deployment in Azure, no Function listed in the Azure Functions.

    I did a test by creating Azure Functions app and publishing it to Azure from my Visual Studio 2017, I can find the functions with name negotiate and messages in Azure portal.

    I'd like to know which version SDK you are using, and if you can run the application locally with your SignalR Service connection string.

    With Regards,

    Fei Han

    Friday, November 1, 2019 5:49 AM