Skip to content

.Net Core library to upload images to the server in Restful Api's

License

Notifications You must be signed in to change notification settings

codewithasfend/ImageUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ImageUploader

.Net Core library to upload images to the server in Restful Api's

Setup

Usage

  var stream = new MemoryStream(byte[] ImageArray);
  var guid = Guid.NewGuid().ToString();
  var file = $"{guid}.jpg";
  var folder = "Images";
  var response = FilesHelper.UploadImage(stream, folder, file);
  if (!response)
  {
     // Bad Request...
  }
  else
  {
     // Image Uploaded...
  }       	

About

.Net Core library to upload images to the server in Restful Api's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published