Chapter 2. Stateless services
The service you implemented in Chapter 1, “Hello, Service Fabric!,” was a background service that does processing by itself. It doesn’t respond to any user requests. Although the background service is useful, most services need to take in user requests. In this chapter, you’ll learn several ways to handle user requests by using a stateless service. First, you’ll learn how to add an ASP.NET 5 Web Service to your application. Then, you’ll learn how to implement a few common communication stacks for your services to take client requests via different protocols.
Implement ASP.NET 5 applications
It’s common for a cloud-based application to have a web front end. So, Service Fabric provides a built-in ASP.NET Web API template ...
Get Programming Microsoft Azure Service Fabric now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.