Cloud-Native Development

CCW03 Microservice Solution With Serverless Functions and Serverless Containers – Pros and Cons

11/16/2022

2:00pm - 3:15pm

Level: Advanced

Alon Fliess

Chief Architect

CodeValue

Microservices – the cure for all software problems, is it?

Services are autonomous! Database for each service! Don't share code – share contracts! Continues Integration and continues deployment!

All of these are great ideas, but how?

In this session, we dive into the code of a .NET 6 C# based Microservices system, focusing on two serverless approaches: Azure Functions and the new Azure Container Apps. First, we start with the minimal approach of Azure Functions App as the service hosting model. Learning about resource binding and triggers to work with Cloud services such as Azure Storage Queue and CosmosDB. Then, we continue with Azure Containers Apps and Dapr, understanding the similarities between the containers-based serverless approach and the functions-based approach.

With the knowledge gained in this session, you can choose how to implement your next microservice solution.

You will learn:

  • How to compare the two Azure MSA Serverless approaches
  • About using Azure Functions/Dapr binding for Cloud resource connectivity
  • About using Automapper/Json to ease sharing contracts and not code