Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Error output

To see how the console displays an error, we can change the parameter we supplied in the Request body section from name to text:

As expected, we got the 400 Bad Request error code, and also the Please pass a name on the query string or in the request body error message.

Note that the Logs window is still displaying the output indicating that the function completed successfully. This is because even though an error message was returned due to wrong input, no error has occurred in the function itself:

    2017-01-14T16:39:35.928 Function started (Id=49b724d2-2e3d-4b85-     9aaa-4ffd8dcef948) 2017-01-14T16:39:35.928 C# HTTP trigger function ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content