From the course: Azure Service Fabric for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating Service Fabric stateless Reliable Services with ASP.NET Core

Creating Service Fabric stateless Reliable Services with ASP.NET Core - Azure Tutorial

From the course: Azure Service Fabric for Developers

Start my 1-month free trial

Creating Service Fabric stateless Reliable Services with ASP.NET Core

- [Instructor] Let's add a new service to the Service Fabric application. This time we're going to use ASP.NET Core Stateless Service template. To add an additional service, right click on the application and select Add New Service Fabric Service and select Stateless ASP.NET Core. I'm going to set the name to ECommerce.Api.Search. Due to the fact that this is an ASP.NET Core web application, it's requesting me to select the kind of application that I want to create and this time, I'm going to select API. Let's close this document and as you can see now, we have three projects in the solution. If you open the ApplicationManifest file, you can see that there is an additional Service element that is pointing to ECommerce.Api.SearchType. And now, let's go ahead and expand the Search project and open the Startup class. As you can see, this is our regular .NET Core Startup class where you can configure the services and…

Contents