Giter Site home page Giter Site logo

ab.extensions's Introduction

AB.Extensions

This is a C# extensions library that I maintain to help reduce errors in code that I find in the wild. It is free of dependencies, includes tests, benchmarks and light commentary on usage. Some methods are pulled from StackOverflow, but with fixed corner cases and added test coverage. Others are just functions that I've found helpful or grown tired of re-googling and copy-pasting. Some useful constant strings and dates are scattered throughout, for those who hate magic strings like me.

The source now officially lives in Azure DevOps, but is continuously pushed to Github via Azure Pipelines CI.

Builds by Azure Pipelines

Primary Build in Azure Pipelines

CI Sync to Github

CI Sync

Install the Package

Import easily by editing your csproj:

<PackageReference Include="AB.Extensions" Version="4.0.0" />

Alternatively with dotnet CLI:

dotnet add package AB.Extensions

CI Packaging Notes

The Azure Artifacts feed which hosts the prerelease packages (uploaded by CI) is publically available here.

If you prefer Myget, those are located here.

Release versions are automatically uploaded to Nuget.org by CI under the following conditions:

  • master branch
  • all previous steps succeeded in the build
  • manual queue of build
  • when manually queuing the build, a variable of name PushReleaseNuget should be provided with value confirm.

This means that when making new branches for code modifications, it's a good practice to immediately identify the desired SemVer in the csproj metadata, and ensure the code change adheres accordingly.

Apply Linting/Formatting

A dotnet local tool is present in the repo which can help keep formatting & linting adherent to the .editorconfig file, even if you don't have dotnet format installed.

dotnet tool restore;
dotnet tool run dotnet-format;

ab.extensions's People

Contributors

andrew-brad avatar azure-pipelines[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jtone123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.