Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Azure Digital Twins

You're reading from   Hands-On Azure Digital Twins A practical guide to building distributed IoT solutions

Arrow left icon
Product type Paperback
Published in Mar 2022
Publisher Packt
ISBN-13 9781801071383
Length 446 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alexander Meijers Alexander Meijers
Author Profile Icon Alexander Meijers
Alexander Meijers
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Section 1: Azure Digital Twin Essentials
2. Chapter 1: About Digital Twins FREE CHAPTER 3. Chapter 2: Requirements and Installation 4. Section 2: Getting Started with Azure Digital Twins
5. Chapter 3: Digital Twin Definition Model 6. Chapter 4: Understanding Models 7. Chapter 5: Model Elements 8. Chapter 6: Creating Relationships between Azure Digital Twin Models 9. Chapter 7: Querying Digital Twins 10. Chapter 8: Building Models Using Ontologies 11. Section 3: Digital Twins Advanced Techniques
12. Chapter 9: APIs and SDKs 13. Chapter 10: Building a Digital Twin Pipeline 14. Chapter 11: Updating the Model 15. Chapter 12: Event Routing 16. Chapter 13: Setting up Azure Maps 17. Chapter 14: Integrating Azure Maps 18. Chapter 15: Monitoring and Troubleshooting 19. Section 4: Digital Twin Implementations in Real-world Scenarios
20. Chapter 16: Facility of the Future 21. Chapter 17: Creating Digital Twins for Smart Building 22. Chapter 18: Simulations Using a Digital Twin 23. Assessments 24. Other Books You May Enjoy

Creating an Azure function

An Azure function can be created by using Visual Studio. It is like creating a .NET web application that runs in the cloud based on a trigger. Start Visual Studio. Select Create a new project, as shown in Figure 11.5:

Figure 11.5 – Getting started with Visual Studio 2019

Execute the following steps, as shown in Figure 11.6:

  1. Enter Azure Function in the search field.
  2. Select the Azure Functions template.
  3. Click on the Next button:

Figure 11.6 – Select Azure Functions as the template for our project

Execute the following steps, as shown in Figure 11.7:

  1. Enter the project name SmartBuildingSensorUpdater.
  2. Set the location to c:\Github.
  3. Click on the Create button:

Figure 11.7 – Enter the project and location name for our project

Execute the following steps, as shown in Figure 11.8:

  1. Select Service Bus Queue trigger.
  2. Select...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime