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

Integrating the ScoreText function with the SQL database

Now that we have created our SQL Server database, it is time to configure our Azure Function to store the output in the DocumentTextScore table.

In this book, we will use an inherent feature of Azure Functions, which allows us to define the SQL connection as an output binding. To do so, we will use a new library called ApiHub SDK, which allows us to interact with an SQL database as if we were interacting with an external API. This approach makes it easier for us to swap the connection out for a different type of data store if required in the future.

Lets execute the following steps to integrate the ScoreText function with the your SQL database:

  1. To add the SQL table as the output, go ...
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