Abstract
In this chapter, you will learn about the integration between Dapr and ASP.NET Core. If you made it so far in the book, you have already seen a lot of examples implemented in ASP.NET. Dapr does not need really anything special to be used with any web framework. However, when it comes to ASP.NET Core, Dapr has some syntactic sugar that makes it even easier. There is support for using the State Management and the Publish and Subscribe building blocks natively inside a controller. There is also a way to expose a secret store as an ASP.NET Core configuration. Furthermore, implementing a gRPC service doesn’t mean that you have to import the Protobuf files of Dapr in order to call its gRPC API. It comes pre-packaged inside the support for ASP.NET Core.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Gatev, R. (2021). Using Dapr in ASP.NET Core. In: Introducing Distributed Application Runtime (Dapr). Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6998-5_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6998-5_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6997-8
Online ISBN: 978-1-4842-6998-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)