From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Challenge: Implementing job logic

Challenge: Implementing job logic

(upbeat music) - [Instructor] Okay, now it's time for another short challenge. The goal's for you to get real hands on practice implementing jobs logic in Dapr. If you'd like to skip it, join me in the next chapter. Now, if you accept the challenge, you'll need to implement an EmailApplicationService class in the Rescue microservice, and then inject that object in the job handler. The goal of the EmailApplicationService class should be to email the digest to the adopters, and then, you have to implement an IEmailServiceInterface in a concrete DigestEmailService. As a bonus, you can use the RescueDbContext to retrieve the adopters and pets, and you have to decrypt the adopter's names. When you're done, join me in the next video and I'll walk you through how I solved this.

Contents