-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Real-World Web Development with .NET 10 - Second Edition
By :
This chapter is about building web services using FastEndpoints, a popular third-party package that shuns controllers in favor of a more efficient way of defining web service endpoints. While 95% of this book is about controller-based technologies, real-world web development shouldn’t be dogmatic about technology choices. This chapter is the only one that doesn’t use controllers, to show an alternative way to build web services that is popular with .NET developers.
ASP.NET Core Web API, ASP.NET Core OData, and FastEndpoints are all options for building web services (mostly for developers to call using HTTP, although user apps like Excel and Power BI can also pull data from web services, especially those built using OData, due to its flexible nature).
All web services can be interacted with using the same tools like VS Code’s REST Client and Visual Studio’s HTTP Editor, and web services can be called by a...