Zaria.Calabash.DevHost 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Zaria.Calabash.DevHost --version 1.0.2
                    
NuGet\Install-Package Zaria.Calabash.DevHost -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Zaria.Calabash.DevHost" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zaria.Calabash.DevHost" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Zaria.Calabash.DevHost" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zaria.Calabash.DevHost --version 1.0.2
                    
#r "nuget: Zaria.Calabash.DevHost, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Zaria.Calabash.DevHost@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zaria.Calabash.DevHost&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Zaria.Calabash.DevHost&version=1.0.2
                    
Install as a Cake Tool

Instruction

To use this dev host do th following:

  1. Create a console applicaiton
  2. refreence the calabash .NET plugin you want to test
  3. Create a new instanf of the CalabashDevHost class
  4. Call InitializeAI passing in a class that inherits from SolutionHost as the type argument and a populated HostSettings argument
  5. Call StartREPL to start a REPL loop for testing your AI skills
  6. To test your HTTP triggers you can alternatively call StartHTTP
  7. To test your time triggered workers you can alternatively call StartBackgroundWorker

The following sample code illustrates:

namespace Calabash.AgentTestHarness
{
    internal class Program
    {
        async static Task Main(string[] args)
        {
            var host = new CalabashDevHost();
            await host.InitializeAI<SampleHost>(new HostSettings
            {
                AIDeploymentName = "<ai deployment name>",
                AIEndpoint = "<ai url>",
                AIKey = "<ai key>",
                LogCategory = "test",
                Username = "<some email>",
                HttpListenPort = 5000,
                BasePath = "/api",
            });

            //await host.StartHTTP();  //Starts an http listener that can be used to test your http triggers
            //await host.StartREPL();  //Starts a console repl for testing your AI skills
            //await host.StartBackgroundWorker();  //Starts background workers for testing your time triggers. 
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.6.17 102 7/10/2026
2.6.15 110 6/20/2026
2.6.14 125 6/18/2026
2.6.13 112 6/16/2026
2.6.11 112 6/16/2026
2.6.10 104 6/5/2026
2.6.9 120 5/28/2026
2.6.8 107 5/28/2026
2.6.7 137 5/18/2026
2.6.6 105 5/18/2026
2.6.5 105 5/18/2026
1.0.9 113 4/25/2026
1.0.7 110 4/24/2026
1.0.6 103 4/24/2026
1.0.5 113 4/24/2026
1.0.4 104 4/24/2026
1.0.3 103 4/21/2026
1.0.2 104 4/21/2026
1.0.1 103 4/20/2026
1.0.0 104 4/20/2026