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

Updating the function to process text

Now that we have verified that the function gets triggered successfully upon file upload, we can build upon the code we have developed in the previous chapter to tie the new BlobTrigger function to the database. We will, essentially, use the exact same code we've developed for the ScoreText function, but now apply it to the text file uploaded to storage.

We are still using a randomized score rather than processing an actual text sentiment. The actual sentiment processing, which generates a meaningful score, will be added in Chapter 6, Intregrating Azure Functions with Cognitive Services API.

To update the function, execute the following steps:

  1. In the ScoreDocument.cs file, add a using statement for ...
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