Giter Site home page Giter Site logo

ziphelper's Introduction

Introduction

This is a C# .Net Standard library which enables zipping and unzipping strings in memory.

No additional NuGet packages are needed, this logic is based on System.IO.Compression.

Please check if System.IO.Compression and Linq are included.

NuGet

The Zip/Unzip logic is also available on http://nuget.org.

You can find it on https://www.nuget.org/packages/ZipHelperLib/.

Or use your Package Manager in Visual Studio: Install-Package ZipHelperLib -Version 1.0.0

Solution

This solution is deviced in three parts:

  1. ZipHelperLib, the zip/unzip logic
  2. ZipHelperApp, a test application for the zip/unzip logic; it uses a file (included in project) containing Lorem Ipsum text just to fill a stringto start with. After execution, check the compression rate
  3. ZipHelperUnit, a unittest for the zip/unzip logic; it uses a text string, not a file

Publishing

Follow this guide

Do these steps:

  • Update the`package version like '1.0.1' in the csproj of the library
  • Compile the code
  • Run the unittests
  • In Visual Studio, right-click the project
  • Publish
  • Publish to a local folder
  • Publish to 'ZipHelper\ZipHelperLib\bin\Release\netstandard2.0\publish'

A package is created.

Run:

dotnet nuget push ZipHelperLib.1.0.1.nupkg --api-key [a valid key gnerated on nuget.org] --source https://api.nuget.org/v3/index.json

pause

See a new version is made available.

Contribute

This logic is licenced under the MIT license.

Want to contribute? Throw me a pull request....

Want to know more about me? Check out my blog

ziphelper's People

Contributors

sandervandevelde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.