Glitter 2024.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Glitter --version 2024.1.1
NuGet\Install-Package Glitter -Version 2024.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="Glitter" Version="2024.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Glitter --version 2024.1.1
#r "nuget: Glitter, 2024.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.
// Install Glitter as a Cake Addin
#addin nuget:?package=Glitter&version=2024.1.1

// Install Glitter as a Cake Tool
#tool nuget:?package=Glitter&version=2024.1.1

🗻 Glitter

Named after the second largest mountain in Norway, Glitter is a simple framework for encapsulating functionality to keep implementations clean, concise, and optimized.

License

[!IMPORTANT] This repository is undergoing a consolidation effort. As a result some things may feel out of place, or incomplete. Please be patient as we work to bring everything together.*

[!WARNING] The Glitter.Data.Sql and Glitter.Validation namespaces and the objects defined within them are not ready for public consumption. As a result, they are subject to change without notice. Use at your own risk.

💁‍♀️ Getting Started

Get started by reviewing the answers to the following questions:

✅ Small changes, continuously integrated

Glitter employs workflows for continuous integration to ensure the repository is held to industry standards; here's the current state of those workflows:

.NET Workflow

💎 A few more gems

We believe in keeping the community informed, so here's a few more tidbits of information to satisfy some additional curiosities:

Contributors Issues Stars

🛣️ What does the future hold

The future of Glitter is bright, and we're excited to share our roadmap with you. It all starts with a simple consolidation effort:

  • Import the old Glitter.Extensions repo.
    • Add the old repo to this one.
    • Find proper namespaces for existing extensions.
    • Move files from the dedicated project into the primary project.
    • Consolidate unit tests.
  • Import the old Glitter.Sql repo.
    • Add the old repo to this one.
    • Create the official Glitter.Data.Sql namespace in the Glitter project.
    • Move files from the dedicated project into the primary project.
    • Consolidate unit tests.

Our next steps involve adding new features to the consolidated repo:

  • Add support for encapsulation of individual workloads.
  • Complete support for encapsulated SQL interactions.
  • Add support for pipelines.
  • Add support for encapsulated API interactions.
  • Add support for encapsulated file interactions.

These particular features have a long way to go, but we're excited to discuss them and get your feedback in our discussions area.

🛢️ Encapsulating SQL Requests

Glitter offers several ways to encapsulate SQL requests:

The encapsulation strategy employed by Glitter is definition driven. This means that your encapsulations simply define a request to execute a stored procedure, function, or query. The encapsulation does not actually execute the request, but rather provides a means to execute the request. For example, the following encapsulation defines a request to execute a stored procedure:

public class UserInsertRequest
    : SqlStoredProcedure
{
    public UserInsertRequest(string username, string givenName, string surname)
        : base(schema: "Sample", name: "UserInsert")
    {
        _ = AddParameter("Username", username, DbType.String, length: 100);
        _ = AddParameter("GivenName", givenName, DbType.String, length: 100);
        _ = AddParameter("Surname", surname, DbType.String, length: 100);
    }
}

🔥 What Glitter.Extensions has to offer

[!WARNING] This section contains broken links. Please be patient as we work to bring this repo up-to standards and determine our roadmap.

📝 Release Notes (Glitter.Extensions)

  • 2024.1.1.0
    • Added support for .NET 8.0.
    • Added extensions for string instances.
  • 2023.5.21
    • Fixed a bug with dequeue extensions not validating until enumerated.
    • Added overloads for the In extension.
    • Added explicit support of .NET Standard 2.1.
    • Added explicit support of .NET Framework 4.8.
    • Added explicit support of .NET 6.
    • Added explicit support of .NET 7.
  • 2023.1.0.0
    • Initial release.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

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
2024.3.1.1 282 1/19/2024
2024.3.1 182 12/20/2023
2024.1.1 90 12/19/2023
2023.8.1 417 8/10/2023

## 2024.1.1.0
           - Added support for .NET 8.0.
           - Added extensions for `string` instances.
           
           ## 2023.9.1.0
           - Added validation support.

           ## 2023.8.1.0
           - Initial release.