Where can I get an open source C# sample project for SmugMug API 1.3 or 2.0?

ckelleyckelley Big grinsRegistered Users Posts: 23 Big grins

I'm an ASP.NET web developer who is new to SmugMug. My task is to upload photos and videos of arbitrary size in batches of up to 300 files to SmugMug from an ASP.NET webform page. Here's what I have already completed:
  • I have an ASP.NET webform project that enables a user to select multiple files from their local disk and upload them to my server in a single operation.
  • Large files are automatically chucked while uploading to work around HTTP request size limitations.
  • Progress bars appear next to thumbnails to provide feedback during an upload operation.
  • File uploads in progress can be individually cancelled.
  • The application automatically creates thumbnails of the uploaded images on the server and displays them to the user when an upload operation completes.
  • Uploaded files can be selectively deleted.
  • I have my SmugMug API key.
Now I need to invoke the SmugMug API 1.3 or 2.0 from C# 4.5 to save/delete files to SmugMug.

Here's what I've found searching the web so far for ASP.NET source code:
Neither of the above contains the class library that I am looking for. Can anyone point me to something more current than the above?


  • jhofkerjhofker Smug8 Developer Lincoln, NERegistered Users Posts: 136 Major grins
    edited April 5, 2014
    Last time I looked for an updated .NET wrapper, there wasn't one. Maybe you'll write the next good one? Or maybe you'd consider submitting a patch to either of the two you found so far.
  • ckelleyckelley Big grins Registered Users Posts: 23 Big grins
    edited April 16, 2014
    .NET Wrapper for API 1.2.2 available from Luke Foust
    Many thanks to Luke Foust for doing such a good job on his SmugMug.Net wrapper. I discovered it by searching for "SmugMug" in NuGet.

    I later found and downloaded the source code from https://bitbucket.org/lfoust/smugmug/overview

    The VS.NET solution that Luke provides included a SmugMug.UnitTests project with 49 unit test cases for SmugMug API 1.2.2. I used VS.NET 2012's Test Explorer to execute them and they all succeeded.
  • ckelleyckelley Big grins Registered Users Posts: 23 Big grins
    edited April 24, 2014
    SmugMug API 1.3.0 OO Model in C#
    Here's one that I just found that supports the 1.3.0 API:

Sign In or Register to comment.