Table of Contents....5
About the Author....10
About the Technical Reviewers....11
Introduction....13
Chapter 1: Introduction to Azure....15
SaaS, PaaS, IaaS....16
Azure Portal....18
Azure Resources....20
How to Create Resources....22
Pricing....23
Azure CLI....29
Bicep....31
Security....33
Data Backup....36
Policies....37
Install Required Components for Development Environment....39
Summary....40
Chapter 2: Azure Function....41
Scenarios for Using Functions....42
First Function....50
Program Class....55
Deploying Azure Resources....56
Deploying Azure Function....61
Request Object....62
Reading Parameters....62
Response Object....65
Routing....66
Timer Trigger....67
Durable Function....69
Get Results and Check Status....74
Durable Function – Chaining Pattern....75
Durable Function – Fan-Out/Fan-In Pattern....80
Durable Function – Monitoring Pattern....84
Durable Function – Human Interaction Pattern....87
Scaling....91
Always On Feature....101
Authentication....106
Authentication Through Azure Portal....107
Creating Middleware....111
Azure Function Portal Overview....114
Tags....116
Resource Group – Resource Visualizer....118
Hosting Plan Tiers....119
Summary....120
Chapter 3: Application Insights....121
Deploying Application Insights....121
Application Insights Overview....124
Integration with Existing Project....126
Reading Logs from the Function....132
Searching in Logs....135
Searching in Transaction Section....138
Metrics....142
Failures....144
Workbook....146
Application Map....148
Alerts....150
Summary....155
Chapter 4: Storage Account....157
How to Deploy....158
Azure Storage Explorer....161
Blobs....168
Working with Blobs Through Azure Function....168
Queues....181
Table....188
Summary....196
Chapter 5: Event Grid....198
Creating an Event Grid....201
Creating an Event Handler....204
Creating a Subscription....208
Running the Event....211
Receiving the Cloud Event....213
Provisioning Event Grid with Bicep....216
Summary....219
Chapter 6: Service Bus....220
Create Service Bus....222
Creating a Queue....224
Consume Queues with the Azure Function....226
Create a Topic and Subscription....232
Consume Topic with the Azure Function....234
Using the Filter on Topic....238
Deploy Resources Using Bicep....242
Summary....244
Chapter 7: SQL Server....245
Create a SQL Server....246
Prepare Data....253
Create a Function to Connect....255
Deploy Function....259
Summary....259
Chapter 8: Key Vault....260
Creating Key Vault....261
Create a Secret....263
Create a Function....265
Adding the Application Permissions....271
Recovering a Secret....275
Create a Certificate....276
Bicep Script for Deployment....279
Summary....280
Chapter 9: Managed Identity and RBAC....281
Managed Identity in Azure Function....282
Storage with Managed Identity....289
Service Bus with Managed Identity....293
Key Vault with Managed Identity....294
Summary....296
Chapter 10: Virtual Network....297
Deploying Virtual Network with Bicep....298
Connecting Azure Function....301
Connecting Key Vault....302
Connecting Storage Account....303
Connecting SQL Server....304
Manually Creating and Configuring....305
Configuring the Network with Other Services....309
Summary....309
Index....310
Harness the power of Azure to create cutting-edge applications, services, and infrastructure. This book is a comprehensive guide designed to help experienced C# developers master the fundamentals of Microsoft Azure. Whether you're new to Azure or looking to deepen your cloud expertise, this book provides a solid foundation in Azure basics, and resource organization, and covers some of the most commonly used Azure resources. It also includes C# solutions and bicep scripts to deploy infrastructure on Azure.
The book starts with Azure fundamentals covering its structure, resource management, and pricing followed by its resource organization. You will then go through the latest version of Azure Functions and its implementation. Storage account features such as containers and queues are discussed next along with securing your applications with Managed Identity. You will learn how to manage, save, and maintain data in Azure using SQL Server and understand the advanced systems for message delivery. And you will learn about the Virtual Network and how Azure resources can be isolated from other services and from the Internet, if needed.
After reading the book, you will be able to build, deploy, and manage Azure as a scalable and robust cloud solution.
C# developers who want to improve their knowledge and be more competitive, DevOps who desire to automate infrastructure deployment for Azure Cloud, architects who want to familiarize themselves with the fundamental services of the Azure platform