Skip to main content
net9.0

This package is part of Fabricator, an infrastructure automation framework. Fabricator.Core provides the core interfaces for various deployment functionality.

Published
Jan 4, 2026
9mo ago
Total Downloads
1.0K
1,046

Install

dotnet add package FVNever.Fabricator.Core --version 0.4.0
ProductVersions
.NET
net9.0

README

Fabricator Status Ventis Fabricator.Core on nuget.org

Fabricator is a hackable DevOps platform, similar to PowerShell's Desired State Configuration in concept.

Core Concept

With Fabricator, the user describes the desired state of their environment, and Fabricator does its best to lead the configuration to this desired state, when asked to do so.

Fabricator's "script" is an F# .fsx script, where you may use all your favorite refactoring and code inspection tools; you may wrap or augment Fabricator calls with your code if you want to.

Fabricator offers a DSL and a set of basic tasks to configure the environment, everything is available via NuGet and easily extendable.

Also, Fabricator is portable across the platforms supported by .NET.

Basic Workflow

To start using Fabricator, you should:

  1. Create a new F# script file, with contents similar to the example.
  2. Run the script with dotnet fsi ./script.fsx check — this will check the environment and show the changes that are about to be performed.
  3. If everything's alright, run the script via dotnet fsi ./script.fsx apply — this will apply the changes to the current environment.

Quick script example:

#r "nuget: FVNever.Fabricator.Console, 0.4.0"
#r "nuget: FVNever.Fabricator.Resources, 0.4.0"

open System
open System.IO
open Fabricator.Console
open Fabricator.Resources.Archive
open Fabricator.Resources.Downloads
open Fabricator.Resources.Files
open Fabricator.Resources.Hash
open TruePath

let shawlVersion = "1.7.0"
let shawlHash = Sha256 "EAA4FED710E844CC7968FDB82E816D406ED89C4486AB34C3E5DB2DA7E5927923"

let cacheDir = AbsolutePath @"T:\Temp\fabricator\download-cache"
let shawlUrl = Uri $"https://github.com/mtkennerly/shawl/releases/download/v{shawlVersion}/shawl-v{shawlVersion}-win64.zip"

let shawlDownloadCache = cacheDir / Path.GetFileName shawlUrl.LocalPath
let shawlExecutable = AbsolutePath @"C:\Programs\shawl\shawl.exe"

let installShawl = [
    downloadFile(shawlUrl, shawlHash, shawlDownloadCache)
    unpackArchive(shawlDownloadCache, shawlHash, shawlExecutable.Parent.Value)
    ensureFileExists shawlExecutable
]

let resources = [
    yield! installShawl
]

exit <| EntryPoint.main fsi.CommandLineArgs resources

This script will make sure there's an executable C:\Programs\shawl\shawl.exe downloaded from the specified URL. This executable might then be used for other resources' setup, e.g., for the Windows service resource.

Prerequisites

To work with Fabricator, you'll need .NET SDK 9.0 or later.

Documentation

License

The project is distributed under the terms of the MIT license.

The license indication in the project's sources is compliant with the REUSE specification v3.3.

Changes from Previous Version

No structural changes between v0.3.0 and v0.4.0.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.