
Explore the rise of microservices, their contrast with monoliths, and how containers, API gateways, private databases, and dapr tackle resilience, scaling, and monitoring in distributed applications.
Explore Dapr, the distributed application runtime, an open source framework sponsored by Microsoft that simplifies microservice complexity with building block APIs for state management, service-to-service invocation, and pubsub messaging.
Build an MvcWeb project where MvcFront calls WeatherApi's weatherforecast endpoint via Dapr service invocation through sidecars, using http and grpc options with the dotnet sdk.
About docker server instances and component config files when carrying out tests
Inject the DaprClient and publish with PublishEventAsync using the pubsub component, topic, and data, while configuring subscriptions with AddDapr, app.UseCloudEvents, and MapSubscribeHandler for messagebus topics.
Explain the pubsub data flow using dapr sidecars, showing how service A publishes messages to a broker, how service B subscribes and handles orderreceived, and how retries and statuses work.
Explore a four microservices architecture using Dapr pubsub, a state store, and the inbox pattern to process image uploads, detect faces with the Azure Face API, and dispatch emailed results.
Publish events from a frontend mvc project, uploading user email and an image, converting to bytes, and sending an OrderReceivedEvent to the Dapr pubsub bus (redis-backed).
Inject IOrderRepository into the OrdersController and implement the OrderReceived post endpoint to subscribe to OrderReceivedEvent on the eventbus, create orders with registered status, and publish OrderRegisteredEvent.
Navigate the Azure Portal to access the Microsoft Face API, sign up for free credits, and use the F0 tier with up to 20 transactions per minute and 30k monthly.
Create a FacesApi web api using aspnetcore, integrate dapr with redis state store, and implement a FIFO processing flow that sends orders to Azure Face API and publishes OrderProcessedEvent.
Add a subscriber endpoint in the OrdersApi to process OrderProcessedEvent, map data to OrderStatusChangedToProcessedCommand, update the order to Processed, save faces, and persist OrderDetails via the repository and SaveChanges.
Build a notification api with Dapr integration to process OrderProcessedEvent via a sendmail endpoint, generating emails with base64 face images and dispatching OrderDispatchedEvent.
subscribe the orders api to the order dispatched event from the eventbus and update the order status to dispatched in the database.
Discover how Microsoft Tye dockerizes aspnet core microservices without docker files, enables service discovery, and offers a local orchestrator with a dashboard for debugging and deployment.
Build and run the tye.yaml to build docker images and dapr sidecars, view the tye dashboard, and partial or complete debugging with tye run --debug, attach to a process.
Welcome to the first DAPR video course anywhere in the world!
Revolutionize the way you develop your microservices applications!
This course starts explaining what separates a microservices architecture and a monolithic architecture
It sets out to teach you what led the Microsoft company to come up with the Dapr (Distributed Application Runtime) technology.
It teaches you the components of the Dapr technology and what those components are useful for
It teaches you how to install and/or update Dapr library globally on your local machine
It teaches you the Dapr relation with Docker
It teaches you what side car technology means and how it helps ease the development of microservices applications.
It teaches you what Service Invocation Block (Service Discovery Block) is used for and what methods Dapr makes available to put that block into action in your projects.
It teaches you Dapr SDK for .NET library.
It teaches you as a starter how to build a simple microservices project where you learn how to use Service Invocation Building Block in a project that consists of a web frontend and webapi backend projects, whereby discovering the backend service automatically.
It teaches you how the PubSub Messaging Building Block helps you develop asynchronously communicating microservices easily with the Dapr sidecar technology without any plumbing code.
After teaching you the basics, it lets you learn how to design a fully functional distributed microservices business application involving 4 microservices and Azure Face API portal's free of charge face detection offerings.
It teaches you in a step by step fashion starting with the web interface to develop each microservice, testing the collaboration between the microservices and the outcome at each stage.
It teaches you how to get an Authentication key from the Azure Face API portal and to use it within your microservice to send a photo to the API and get back the face image coordinates from there.
It teaches you how to spin up docker containers for mssqlserver and maildev for email.
It teaches you how to create migrations code using Entity Framework Core and creating the database and its tables during design time.
It teaches how to run the migrations code during the runtime automatically by code.
It teaches you how to use 3rd party image processing libraries to crop face images from a photo given the face coordinates.
It teaches you to learn and put into good usage the Input and Output Bindings from the Dapr library.
It teaches you how to use Dapr Input Binding Block as a Cron job service to make one webapi end-point wake up at regular intervals to do the given job.
It teaches you how to use redis database as a key/value pair data store as a Dapr Side car element known as State Management Building Block.
It teaches you how to use redis as a messaging instrument when using the pub/sub Building Block of the Dapr
You will get a taste of telemetry and diagnostics facilities using Zipkin with Dapr through the Dapr dashboard.
It teaches you how to utilize Microsoft's another new invention namely the Tye Project to orchestrate your microservices by using a tye.yaml file similar to docker-compose technology but without writing any docker files.
You will also learn how to debug a daprized app by the Tye Project.
You will also get a taste of structured logging server such as SEQ that will help you with your drill-down queries of the logs.
You can continue your dapr adventure with the now ready follow-up course showing the details of deploying our daprized microservices apps to Azure Kubernetes Environment. This course now includes also the Microsoft's new offering for serverless deployment to Azure, namely the Azure Container Apps deployment.
Some reviews about the course:
Antilop wrote:5 stars
Great course so far. I thought building microservices was difficult before I was introduced to this course. Frank Ozz offers a simple way of creating such projects with a revolutionary new technology. I am so luck that I found this course.
Enjoy the course