Posts

Showing posts with the label azure-functions

Is it possible to publish azure functions as precompiled dll's in the azure portal

Is it possible to publish azure functions as precompiled dll's in the azure portal I am developing Azure functions locally on VS and wish to publish them to azure portal later on. I want my function code to be non editable and non visible in the portal. Is it possible to pre-compile these function to dll's while publishing? I am thinking this also saves the cold time as the function will be pre-compiled. Or do I need at least one function there in which I can add reference to the dll of other functions. 1 Answer 1 Yes, if you are using Visual Studio 2017 or Visual Studio Code with CLI, that's the default way to publish .NET Azure Functions. See Thanks @Mikhail – Rahul Dobriyal Jul 3 at 4:51 By click...

When I am running azure HTTP Trigger function i am getting 401 unauthorized

When I am running azure HTTP Trigger function i am getting 401 unauthorized I am trying to run Azure HTTP Trigger Azure Function and I am receiving a 401 Unauthorized . It was working fine for me earlier. 401 Unauthorized When I created the new function under the same Function App and copied the same code then also it is running fine but when I am trying to run my created function then I am getting the same error that I mentioned. I'm seeing the following logs in the streaming service. 2018-07-02T07:09:41 Welcome, you are now connected to log-streaming service. 2018-07-02T07:09:48.893 [Info] Executing HTTP request: { "requestId": "53e54698-c46b-4cb6-9ed0-d042eaf9ec71", "method": "POST", "uri": "/api/Source/MPAA/false" } 2018-07-02T07:09:48.893 [Info] Executed HTTP request: { "requestId": "53e54698-c46b-4cb6-9ed0-d042eaf9ec71", "method": "POST", "uri...