Click here to Skip to main content
15,897,891 members
Articles / Web Development / HTML

Gallery Server Pro - An ASP.NET Gallery for Sharing Photos, Video, Audio and Other Media

Rate me:
Please Sign up or sign in to vote.
4.86/5 (131 votes)
18 Oct 2013GPL331 min read 830.4K   539  
Gallery Server Pro is a complete, stable ASP.NET gallery for sharing photos, video, audio and other media. This article presents the overall architecture and major features.
namespace GalleryServerPro.Web.Entity
{
	/// <summary>
	/// A simple object that contains synchronization status information. This class is used to pass information between the browser and the web server
	/// via AJAX callbacks during a synchronization.
	/// </summary>
	public class SynchStatusWebEntity
	{
		/// <summary>
		/// A GUID that uniquely identifies the current synchronization.
		/// </summary>
		public string SynchId;
		/// <summary>
		/// The status of the current synchronization. This is the text representation of the <see cref="GalleryServerPro.Business.Interfaces.SynchronizationState" /> enumeration.
		/// </summary>
		public string Status;
		/// <summary>
		/// A user-friendly version of the status.
		/// </summary>
		public string StatusForUI;
		/// <summary>
		/// The total number of files in the directory or directories that are being processed in the current synchronization.
		///  </summary>
		public int TotalFileCount;
		/// <summary>
		/// The one-based index value of the current file being processed.
		/// </summary>
		public int CurrentFileIndex;
		/// <summary>
		/// The path, including the file name, to the current file being processed. The path is relative to the media object
		/// directory. For example, if the media objects directory is C:\mypics\ and the file currently being processed is
		/// at C:\mypics\vacations\india\buddha.jpg, this property is vacations\india\buddha.jpg.
		/// </summary>
		public string CurrentFile;
		/// <summary>
		/// The percent complete of the current synchronization.
		/// </summary>
		public int PercentComplete;
		/// <summary>
		/// A list of all files that were encountered during the synchronization but were not added. The key contains
		/// the name of the file; the value contains the reason why the object was skipped. Guaranteed to not be null.
		/// </summary>
		public System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, string>> SkippedFiles;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior) Tech Info Systems
United States United States
I have nearly 20 years of industry experience in software development, architecture, and Microsoft Office products. My company Tech Info Systems provides custom software development services for corporations, governments, and other organizations. Tech Info Systems is a registered member of the Microsoft Partner Program and I am a Microsoft Certified Professional Developer (MCPD).

I am the creator and lead developer of Gallery Server Pro, a free, open source ASP.NET gallery for sharing photos, video, audio, documents, and other files over the web. It has been developed over several years and has involved thousands of hours. The end result is a robust, configurable, and professional grade gallery that can be integrated into your web site, whether you are a large corporation, small business, professional photographer, or a local church.

Comments and Discussions