FluentBuilder 0.0.10-preview-03

This is a prerelease version of FluentBuilder.
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluentBuilder --version 0.0.10-preview-03
                    
NuGet\Install-Package FluentBuilder -Version 0.0.10-preview-03
                    
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="FluentBuilder" Version="0.0.10-preview-03" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluentBuilder" Version="0.0.10-preview-03" />
                    
Directory.Packages.props
<PackageReference Include="FluentBuilder" />
                    
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 FluentBuilder --version 0.0.10-preview-03
                    
#r "nuget: FluentBuilder, 0.0.10-preview-03"
                    
#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 FluentBuilder@0.0.10-preview-03
                    
#: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=FluentBuilder&version=0.0.10-preview-03&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FluentBuilder&version=0.0.10-preview-03&prerelease
                    
Install as a Cake Tool

Usage

Annotate

Annotate a class with [FluentBuilder.AutoGenerateBuilder] to indicate that a FluentBuilder should be generated for this class:

[FluentBuilder.AutoGenerateBuilder]
public class User
{
    public string FirstName { get; set; }

    public string LastName { get; set; }

    public DateTime? Date { get; set; }
}

Use FluentBuilder

using System;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            var user = new FluentBuilder.UserBuilder()
                .WithFirstName("Test")
                .WithLastName("User")
                .Build();

            Console.WriteLine($"{user.FirstName} {user.LastName}");
        }
    }
}
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FluentBuilder:

Repository Stars
wiremock/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Version Downloads Last Updated
0.13.0 1,103 8/31/2025
0.12.0 744 8/24/2025
0.11.0 154 8/23/2025
0.11.0-preview-02 171 6/24/2025
0.11.0-preview-01 156 6/23/2025
0.10.0.4-preview-01 151 8/20/2025
0.10.0.3-preview-01 155 7/15/2025
0.10.0.2 1,855 6/26/2025
0.10.0.1 1,729 6/13/2025
0.10.0 17,290 10/19/2024
0.9.2 8,665 8/30/2024
0.9.1 484 8/24/2024
0.9.0 36,858 4/8/2023
0.9.0-preview-01 221 4/6/2023
0.8.0 511 4/3/2023
0.7.1 518 3/14/2023
0.7.1-preview-02 290 3/2/2023
0.7.1-preview-01 280 2/25/2023
0.7.0 10,312 9/20/2022
0.7.0-preview-01 252 9/16/2022
0.6.0 565 8/20/2022
0.5.1 2,006 7/28/2022
0.5.0 588 7/13/2022
0.4.9 4,771 6/25/2022
0.4.8 535 6/21/2022
0.4.7 539 6/4/2022
0.4.6 625 5/20/2022
0.4.5 552 5/16/2022
0.4.4 1,164 4/27/2022
0.4.2 596 4/3/2022
0.4.1 1,063 2/18/2022
0.4.0 546 2/18/2022
0.3.3 549 2/16/2022
0.3.2 553 2/16/2022
0.3.1 560 2/14/2022
0.3.0 547 2/12/2022
0.2.5 562 2/8/2022
0.2.4 617 2/6/2022
0.2.3 560 2/1/2022
0.2.2 588 1/31/2022
0.2.1 580 1/30/2022
0.2.0 665 1/30/2022 0.2.0 is deprecated because it has critical bugs.
0.1.2 567 1/20/2022
0.1.1 536 1/15/2022
0.1.0 557 1/13/2022
0.0.11 1,542 8/10/2021
0.0.11-preview-01 324 8/10/2021
0.0.10 421 8/8/2021
0.0.10-preview-03 312 8/8/2021
0.0.10-preview-02 338 8/7/2021
0.0.10-preview-01 323 8/7/2021
0.0.9 521 8/7/2021
0.0.8 450 8/6/2021
0.0.7 573 8/5/2021
0.0.6 442 8/5/2021
0.0.5 485 8/5/2021
0.0.4 13,688 7/21/2021
0.0.3 451 7/19/2021
0.0.2 438 7/19/2021
0.0.1 502 7/18/2021

# 0.0.8 (06 August 2021)
- #7 Add support for generics + update generated filename [enhancement]

The full release notes can be found here: https://github.com/StefH/FluentBuilder/blob/main/ReleaseNotes.md