Cloudinary.Core

Based on official cloudinary api, moved dotnet core.


Keywords
cloudinary, cdn, core
Install
Install-Package Cloudinary.Core -Version 1.30.0

Documentation

Cloudinary core

This is a direct port from CloudinaryDotNet official nuget package. so namespaces are the same, and all code should be the same.

Usages

var client = new Cloudinary("cloudinary://urlFromYourDashboard");
var sample = Cloudinary.GetResource("sample");

depdency DependencyInjection

IServiceCollection services.AddCloudinary(); //will get CLOUDINARY_URL env variable for authentication
//or services.AddCloudinary(new Account(user, key));
var sample = Cloudinary.GetResource("sample");

//It will get injected in constructor now.
constructor(Cloudinary cloudinary){
    cloudinary.DoApiCall();
}

Contributing

Contributions are welcome, for and make a pull request as you wish.

This repo uses node npm package.json scripts for easy build and packing without ide, but you'll need to have installed node on your system.

npm run build #builds all non test projects
npm test #tests all projects
npm run pack #creates nuget packages in git root.