Jobbr.Storage.MsSql 3.1.1

dotnet add package Jobbr.Storage.MsSql --version 3.1.1
                    
NuGet\Install-Package Jobbr.Storage.MsSql -Version 3.1.1
                    
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="Jobbr.Storage.MsSql" Version="3.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jobbr.Storage.MsSql" Version="3.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Jobbr.Storage.MsSql" />
                    
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 Jobbr.Storage.MsSql --version 3.1.1
                    
#r "nuget: Jobbr.Storage.MsSql, 3.1.1"
                    
#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 Jobbr.Storage.MsSql@3.1.1
                    
#: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=Jobbr.Storage.MsSql&version=3.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Jobbr.Storage.MsSql&version=3.1.1
                    
Install as a Cake Tool

Jobbr MSSql Storage Provider

This is a storage adapter implementation for the Jobbr .NET JobServer to store job related information on MS SQL Servers.

GitHub Checks NuGet-Stable NuGet Pre-Release

Installation

First of all you'll need a working jobserver by using the usual builder as shown in the demos (jobbrIO/demo). In addition to that you'll need to install the NuGet Package for this extension.

NuGet

Install-Package Jobbr.Storage.MsSql

Configuration

Since you already have a configured server, the registration of the MsSQL Storage Provider is quite easy. Actually you only need a working Database-Connection (A list of typical ConnectionStrings can be found on https://www.connectionstrings.com/sql-server/

using Jobbr.Storage.MsSql;

/* ... */

var builder = new JobbrBuilder();

builder.AddMsSqlStorage(config =>
{
    // Your connection string
    config.ConnectionString = @"Server=.\SQLEXPRESS;Integrated Security=true;InitialCatalog=JobbrDemoTest;";

    // Configure your SqlDialect (2017 is set by default)
    configuration.DialectProvider = new SqlServer2017OrmLiteDialectProvider();

    // Create tables (is set by default to true)
    configuration.CreateTablesIfNotExists = true;

    // Define how long jobs, triggers & runs should be kept in the database (optional)
    configuration.Retention = TimeSpan.FromDays(365);
});

server.Start();

Database-Schema

By default, the extension tries to create the tables if they are not present. You can disable this behaviour (see example above) and create the tables manually using the script located on source/Jobbr.Storage.MsSql/CreateTables.sql.

Diagram

License

This software is licenced under GPLv3. See LICENSE, and the related licences of 3rd party libraries below.

Acknowledgements

This extension is built using the following great open source projects

Credits

This application was built by the following awesome developers:

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
3.1.1 224 10/6/2025
3.1.0 200 9/30/2025
3.0.2 262 6/3/2025
3.0.1 204 6/3/2025
3.0.0 14,814 3/20/2023
2.3.0 1,484 6/12/2019
2.2.1 3,513 10/21/2018
2.2.0 1,541 10/20/2018
2.1.0 1,672 9/26/2018
2.0.2 1,604 9/17/2018
2.0.1 1,608 9/11/2018
2.0.0 1,595 9/10/2018
1.0.0 2,433 10/9/2017