Serverless computing in Azure with .NET

Harness the power of the Cloud, leveraging the speed and scale of Azure Serverless computing
Preview in Mapt

Serverless computing in Azure with .NET

Sasha Rosenbaum

1 customer reviews
Harness the power of the Cloud, leveraging the speed and scale of Azure Serverless computing
Mapt Subscription
FREE
$29.99/m after trial
eBook
$20.00
RRP $39.99
Save 49%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$20.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Serverless computing in Azure with .NET Book Cover
Serverless computing in Azure with .NET
$ 39.99
$ 20.00
Azure Serverless Computing Cookbook Book Cover
Azure Serverless Computing Cookbook
$ 35.99
$ 18.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781787288393
Paperback468 pages

Book Description

Serverless architecture allows you to build and run applications and services without having to manage the infrastructure. Many companies have started adopting serverless architecture for their applications to save cost and improve scalability.

This book will be your companion in designing Serverless architecture for your applications using the .NET runtime, with Microsoft Azure as the cloud service provider. You will begin by understanding the concepts of Serverless architecture, its advantages and disadvantages. You will then set up the Azure environment and build a basic application using a sample text sentiment evaluation function. From here, you will be shown how to run services in a Serverless environment. We will cover the integration with other Azure and 3rd party services such as Azure Service Bus, as well as configuring dependencies on NuGet libraries, among other topics. After this, you will learn about debugging and testing your Azure functions, and then automating deployment from source control. Securing your application and monitoring its health will follow from there, and then in the final part of the book, you will learn how to Design for High Availability, Disaster Recovery and Scale, as well as how to take advantage of the cloud pay-as-you-go model to design cost-effective services. We will finish off with explaining how azure functions scale up against AWS Lambda, Azure Web Jobs, and Azure Batch compare to other types of compute-on-demand services.

Whether you’ve been working with Azure for a while, or you’re just getting started, by the end of the book you will have all the information you need to set up and deploy applications to the Azure Serverless Computing environment.

Table of Contents

Chapter 1: Understanding Serverless Architecture
What is serverless?
Azure serverless
Architecture
Applications
Summary
Chapter 2: Getting Started with the Azure Environment
Microsoft Azure Cloud
Azure serverless computing
Deploying a function
Clean up Azure resources
Summary
Chapter 3: Setting Up the Development Environment
Configuring the development environment
Creating the function
Deploying the application to Azure
Storing the results
Setting up a web dashboard for scoring results
Summary
Chapter 4: Configuring Endpoints, Triggers, Bindings, and Scheduling
Triggers and bindings
Endpoints
Blob Storage trigger
Timer trigger
Summary
Chapter 5: Integrations and Dependencies
Processing a Twitter feed
Sharing code between functions
Integrating with a Service Bus queue
.NET dependency
Adding NuGet libraries
Summary
Chapter 6: Integrating Azure Functions with Cognitive Services API
Using Microsoft Cognitive Services APIs to analyze text
The text sentiment analytics API call implementation
Storing the function results
Summary
Chapter 7: Debugging Your Azure Functions
Software debugging
Logging events
Debugging the functions locally
Handling errors
Remote debugging in the cloud
Summary
Chapter 8: Testing Your Azure Functions
The importance of testing
Software testing
Testing the functions
Performance testing
Summary
Chapter 9: Configuring Continuous Delivery
Version Control System
Continuous Integration and delivery
Version control for functions
Continuous delivery for functions
Load testing with VSTS
Automating Function App deployment
Summary
Chapter 10: Securing Your Application
Securing the application
Physical security
Host infrastructure
Networking security
Application-level security
Administrative access
Summary
Chapter 11: Monitoring Your Application
Application performance management
Monitoring tools
Functions monitoring tools
Functions Monitor tab
Application Insights
Monitoring functions with Application Insights
Summary
Chapter 12: Designing for High Availability, Disaster Recovery, and Scale
High Availability
Disaster Recovery
Scaling the application
Summary
Chapter 13: Designing Cost-Effective Services
Pay for what you use
Azure Functions pricing
The overall application cost
Calculating the overall applications costs
Summary
Chapter 14: C# Script-Based Functions
C# script-based functions
Using NuGet libraries
Sharing code between functions
Summary
Chapter 15: Azure Compute On-Demand Options
Compute on-demand
Azure WebJobs
Azure Logic Apps
Azure Batch
Azure PaaS Cloud Services
Summary

What You Will Learn

  • Understand the best practices of Serverless architecture
  • Learn how how to deploy a Text Sentiment Evaluation application in an Azure Serverless environment
  • Implement security, identity, and access control
  • Take advantage of the speed of deployment in the cloud
  • Configure application health monitoring, logging, and alerts
  • Design your application to ensure cost effectiveness, high availability, and scale

Authors

Table of Contents

Chapter 1: Understanding Serverless Architecture
What is serverless?
Azure serverless
Architecture
Applications
Summary
Chapter 2: Getting Started with the Azure Environment
Microsoft Azure Cloud
Azure serverless computing
Deploying a function
Clean up Azure resources
Summary
Chapter 3: Setting Up the Development Environment
Configuring the development environment
Creating the function
Deploying the application to Azure
Storing the results
Setting up a web dashboard for scoring results
Summary
Chapter 4: Configuring Endpoints, Triggers, Bindings, and Scheduling
Triggers and bindings
Endpoints
Blob Storage trigger
Timer trigger
Summary
Chapter 5: Integrations and Dependencies
Processing a Twitter feed
Sharing code between functions
Integrating with a Service Bus queue
.NET dependency
Adding NuGet libraries
Summary
Chapter 6: Integrating Azure Functions with Cognitive Services API
Using Microsoft Cognitive Services APIs to analyze text
The text sentiment analytics API call implementation
Storing the function results
Summary
Chapter 7: Debugging Your Azure Functions
Software debugging
Logging events
Debugging the functions locally
Handling errors
Remote debugging in the cloud
Summary
Chapter 8: Testing Your Azure Functions
The importance of testing
Software testing
Testing the functions
Performance testing
Summary
Chapter 9: Configuring Continuous Delivery
Version Control System
Continuous Integration and delivery
Version control for functions
Continuous delivery for functions
Load testing with VSTS
Automating Function App deployment
Summary
Chapter 10: Securing Your Application
Securing the application
Physical security
Host infrastructure
Networking security
Application-level security
Administrative access
Summary
Chapter 11: Monitoring Your Application
Application performance management
Monitoring tools
Functions monitoring tools
Functions Monitor tab
Application Insights
Monitoring functions with Application Insights
Summary
Chapter 12: Designing for High Availability, Disaster Recovery, and Scale
High Availability
Disaster Recovery
Scaling the application
Summary
Chapter 13: Designing Cost-Effective Services
Pay for what you use
Azure Functions pricing
The overall application cost
Calculating the overall applications costs
Summary
Chapter 14: C# Script-Based Functions
C# script-based functions
Using NuGet libraries
Sharing code between functions
Summary
Chapter 15: Azure Compute On-Demand Options
Compute on-demand
Azure WebJobs
Azure Logic Apps
Azure Batch
Azure PaaS Cloud Services
Summary

Book Details

ISBN 139781787288393
Paperback468 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Azure Serverless Computing Cookbook Book Cover
Azure Serverless Computing Cookbook
$ 35.99
$ 18.00
Azure for Architects Book Cover
Azure for Architects
$ 35.99
$ 18.00
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third Edition
$ 31.99
$ 16.00
ASP.NET Core 2 and Angular 5 Book Cover
ASP.NET Core 2 and Angular 5
$ 35.99
$ 18.00
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 18.00
Building Microservices with .NET Core 2.0 - Second Edition Book Cover
Building Microservices with .NET Core 2.0 - Second Edition
$ 35.99
$ 18.00