Badges
Tags
Categories
Meta
Tag Archives: service fabric
Service Fabric and Dependency Injection, part 3: Unit testing
This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing Unit testing of the final construct we’ve got in previous two parts would be challenging due to a number of reasons: … Continue reading
Service Fabric and Dependency Injection, part 2: Stateless Service
This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing Update: this approach is incorrect, unfortunately. It actually creates two containers: one to instantiate the service and another to instantiate the … Continue reading
Service Fabric and Dependency Injection, part 1: Stateful Service
This is a series of blog posts: Part 1: Stateful service Part 2: Stateless service Part 3: Unit testing The template of a Service Fabric application that is shipped with Visual Studio instantiates all services explicitly. Like and any other … Continue reading
How to deploy Service Fabric application using ARM template
You can deploy a Service Fabric application using an ARM templat with a number very different mechanisms, whichever you’d like: PowerShell the CLI the Portal But first you need the actual ARM template. Here’s an example of an application consisting … Continue reading
How to package Service Fabric application into SFPKG using custom MSBuild task
This task wouldn’t require much efforts but: Service Fabric doesn’t support packaging its “package” (which is not a real package but just a directory) into .sfpkg out-of-the-box. Only suggests to use ZipFile.CreateFromDirectory. MSBuildTasks doesn’t support .NET Core so we can’t … Continue reading
How to remove ARM resources for Service Fabric application and service using PowerShell
First you need to remove the resource corresponding to the application itself: And then the resource corresponding to the service:
The BuildLayout of the application is invalid. Code is missing for service
If you’re getting these very rare but still mysterious errors: Started executing script ‘Deploy-FabricApplication.ps1’. Test-ServiceFabricApplicationPackage : The BuildLayout of the application in c:\Temp\TestApplicationPackage_3811564851592\icw0q1rk.bus\Release is invalid. Code is missing for service MyWebApiPkg. or Register-ServiceFabricApplicationType : The BuildLayout of the application in … Continue reading
Durable queue in Azure Service Fabric using WebJobs, Part 2: Web API
This is the second post in a series about Durable queue in Azure Service Fabric using WebJobs: Part 1: Introduction to Asynchronous Operations Part 2: Web API Now let’s create another stateless service that will host the Web API. I … Continue reading
Durable queue in Azure Service Fabric using WebJobs, Part 1: Introduction to Asynchronous Operations
This the first post in a series about Durable queue in Azure Service Fabric using WebJobs: Part 1: Introduction to Asynchronous Operations Part 2: Web API The built-in into Azure Service Fabric (shortly ASF, or just SF) actor model and … Continue reading