Releasing Platy.Aspire.Hosting.Mockoon

general docker aspire mockoon cloud aspnetcore
Table of Contents

Overview

The library adds Mockoon support for Aspire.

Installation

dotnet cli: dotnet add package Platy.Aspire.Hosting.Mockoon --version 0.1.3

Package Reference: <PackageReference Include="Platy.Aspire.Hosting.Mockoon" Version="0.1.3" />

Usage

Add a Mockoon instance passing in the path to the mock json file and with a target port:-

builder.AddMockoonInstance("Mock.json", 3001, containerName:"dc-mockoon");