Migrating Applications to the Cloud with Azure
by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
Creating an Azure function
Azure Functions are usually small pieces of code that can be executed on Azure without us having to deploy a server. This solution is often called Function as a Service, or FaaS. For this reason, functions can also be seen as microservices or even nanoservices. They're lightweight and enable a small piece of functionality. Functions are based on Web Apps, as discussed in Chapter 6, Designing Web Applications. They even show in your Web Apps overview. However, functions aren't exactly the same as Web Apps, so they come with some limitations. For example, while Web Apps support logging to files, functions can only use Application Insights for monitoring, which we will discuss in Chapter 13, Diagnostics and Monitoring ...
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.
Read now
Unlock full access