Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Questions

  1. Which of the following are advantages of the unit test?
    • Your code is more beautiful.
    • The bugs found during the unit test are less expensive.
    • It increases your confidence when changing or maintaining code.
    • You can speed up development by parallelizing the tests.
  2. How can you register your service instances to leverage the dependency injection pattern in your function?
    • You must implement the IServiceCollection interface to manage your services.
    • You can create a class that implements the IWebJobsStartup interface and set it as the WebJobsStartup class.
    • You can define a class derived from the FunctionsStartup class and set it as a startup class using the FunctionsStartupAttribute attribute.
    • You cannot register your own services; ...
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.
Start your free trial

You might also like

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content