O'Reilly logo

Programming Microsoft Azure Service Fabric by Haishi Bai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required