This package contains the common assembly which is shared by various GleamTech products. Product packages such as GleamTech.FileUltimate, GleamTech.DocumentUltimate, GleamTech.ImageUltimate and GleamTech.VideoUltimate depend on this package.
Install-Package GleamTech.Common -Version 4.5.0
dotnet add package GleamTech.Common --version 4.5.0
<PackageReference Include="GleamTech.Common" Version="4.5.0" />
paket add GleamTech.Common --version 4.5.0
#r "nuget: GleamTech.Common, 4.5.0"
## Version 4.5.0 - February 16, 2021
- **Added:** GleamTechWebConfiguration.DistributedStateMode property which specifies whether distributed state should be used for components.
The default is DistributedStateMode.Auto.
In DistributedStateMode.Auto mode, serialization of state objects to session is done only if your application is configured to use distributed session:
- If your application is configured to use in-process (not distributed) session, ComponentStateManager uses MemoryCache for performance reasons.
This way we can avoid unnecessary serialization of state objects to session which can cause overhead for requests.
- If your application is configured to use distributed session, ComponentStateManager uses distributed session,
i.e. serializes state objects to session so that state is available for cloud or multi-server environment.
- Distributed session meaning: If session state mode is InProc for ASP.NET Classic or MemoryDistributedCache is set for ASP.NET Core,
then session is in-process (not distributed). In other cases, session is distributed.
- **Improved:** Component.Id will throw exception if set to an invalid identifier (e.g. guid.ToString()).
For HTML and CSS compatibility, Id must begin with a letter ([A-Za-z]) and may be followed by any number of letters,
digits ([0-9]), hyphens (-), underscores (_).
- **Improved:** ComponentEventManager will throw exception if an event handler is not a static method (or not shared in VB).
Event handlers need to be static for both preventing memory leaks and allowing serialization to distributed session.
- **Improved:** Better concurrency for OpenFile and CreateFile in AzureBlobFileSystem, AmazonS3FileSystem and ArchiveFileSystem.
OpenFile should return a stream containing existing file for FileAccessOption.Write.
- No dependencies.
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.0.3)
- Microsoft.AspNetCore.Http (>= 2.0.3)
- Microsoft.AspNetCore.Http.Extensions (>= 2.0.3)
- Microsoft.AspNetCore.Mvc.Razor (>= 2.0.3)
- Microsoft.AspNetCore.Session (>= 2.0.3)
- Microsoft.Win32.Registry (>= 4.7.0)
- System.Drawing.Common (>= 4.7.0)
- System.Runtime.Caching (>= 4.7.0)
- System.Runtime.Loader (>= 4.3.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on GleamTech.Common:
DocumentUltimate is an ASP.NET Document Viewer and Converter which supports ASP.NET Core 2.0+, ASP.NET MVC 3+ and ASP.NET WebForms 4+ web applications/web sites. DocumentUltimate can also be used with .NET Core 2.0+ and .NET Framework 4.0+ console/desktop applications for conversion between several document formats. Features: - Universal web document viewer which works on both desktop and mobile browsers. - Crystal-clear zooming. High resolution rendering, preserving text and graphics (no rasterization) exactly as they are in the original. - Fast document loading, the whole document is not loaded at once, document pages are loaded as you are about to view them. - Search text within document. Navigate with bookmarks/outlines. - Change page layout modes (e.g. single page or facing pages), rotate pages and view on full screen. - Print, download original or download as PDF inside the viewer. - Secure document viewing, copy protection (DRM). Viewed documents are encrypted so they are copy-protected out of the box. Ability to disable downloading the original document or replicating it via printing or selecting and copying text. - Watermark document pages with text or image. Customize the watermarks with wide range of options e.g. position, size, rotation, opacity, color. - Pre-higlight keywords in the document, e.g. if you launch the document viewer from a search results page, you can higlight the searched keywords. - Self-contained conversion engine, no external dependencies, e.g. you don't need to install Microsoft Office on your server. - Single managed DLL which works both on 32-bit and 64-bit for hassle-free development and deployment. - Supports being used in desktop or console applications for converting between document formats. Only the document viewer is dependant on web applications. Supported Formats: - Portable Formats(.pdf, .xps, .oxps, .xpz) - Word Processing Formats(.docx, .docm, .dotx, .dotm, .doc, .dot, .rtf, .odt, .ott) - Spreadsheet Formats(.xlsx, .xlsm, .xltx, .xltm, .xlam, .xlsb, .xls, .xlt, .xml, .csv, .tsv, .dif, .ods, .ots) - Presentation Formats(.pptx, .pptm, .potx, .potm, .ppsx, .ppsm, .ppt, .pps, .odp, .otp) - Diagram Formats(.vsdx, .vsdm, .vstx, .vstm, .vssx, .vssm, .vdx, .vsx, .vtx, .vsd, .vss, .vst, .vdw) - Project Management Formats(.mpp, .mpt, .mpx) - Email Formats(.msg, .eml, .emlx) - Ebook Formats(.epub, .mobi) - Markup Formats(.html, .htm, .mht, .mhtml, .web) - Text Formats(.txt) - Cad Formats(.dwg, .dxf) - Scanner Image Formats(.tif, .tiff, .djvu, .dcm) - Vector Image Formats(.ps, .svg, .emf, .xaml) - Raster Image Formats(.psd, .jpg, .jpeg, .jpe, .jfif, .jp2, .jpf, .jpx, .j2k, .j2c, .jpc, .jxr, .wdp, .hdp, .png, .gif, .webp, .bmp, .wmf, .dib)
VideoUltimate is the fastest and easiest .NET Video Reader and Thumbnailer which can read any video file format on the planet. It supports .NET Core 2.0+ and .NET Framework 4.0+ web/console/desktop applications. It allows you read a video file frame by frame or generate meaningful thumbnails.
ImageUltimate is the fastest and easiest ASP.NET image resizer which supports ASP.NET Core 2.0+, ASP.NET MVC 3+ and ASP.NET WebForms 4+ web applications/web sites. ImageUltimate can also be used with .NET Core 2.0+ and .NET Framework 4.0+ console/desktop applications for conversion between several image formats. Features: - Can load and save many image file formats (raster, vector and camera raw). - Provides a fluent interface for easily chaining image manipulation commands. - Vastly faster (10x) than System.Drawing namespace and optimized specifically for web use. Minimal memory usage and the ability to process very large images in a fast manner. - Provides detailed information about an image file like format, size, DPI, pixel format and metadata like EXIF and IPTC. - Fast thumbnail generation, smartly looks for a EXIF thumbnail, removes black stripes above and below it and resizes it down further if needed. - Provides these image transforms: Resize, LiquidResize (seam carving), Crop, TrimBorders, Rotate, Flip. - Provides these image color/tone corrections and filters: Brightness, Contrast, Enhance, Blur, Sharpen. - Caches generated images both on server and browser with a smart versioning algorithm. A unique and browser-cacheable url is generated according to the chained commands and whenever you change these commands (or modify the source image externally), the url will vary and this will cause browser to automatically detect changes (no need to press F5). - Generates SEO friendly urls. By default the file name of the source image is used but it's possible to override this file name for SEO purposes. - Single managed DLL (works both on 32-bit and 64-bit) for easy deployment and no dependencies. No messy Web.config settings. Just drop it in your bin folder and you are ready to go. - Strongly-typed API for web, no need to learn and memorize messy url querystring parameters, just chain commands with the help of intellisense. ASP.NET MVC usage example: @this.ImageTag("Image1.jpg", task => task.ResizeWidth(300)) ASP.NET WebForms usage example: <%=this.ImageTag("Image1.jpg", task => task.ResizeWidth(300)) %> General usage examples: using (var imageTask = new ImageTask(@"C:\Pictures\Picture1.jpg")) imageTask.ResizeWidth(300).Save(@"C:\Output\Picture2.jpg"); Note: This package contains a fully working version of the product, however without a license key it will run in trial mode. This means after 30 days, the generated images will be watermarked with a red "ImageUltimate" text at the bottom right corner.
FileUltimate is an ASP.NET File Manager and Uploader which supports ASP.NET Core 2.0+, ASP.NET MVC 3+ and ASP.NET WebForms 4+ web applications/web sites. Integrate a file manager into your ASP.NET application or site rapidly. - Browse and manage files with access control. - Accept files with the advanced upload functionality. - Offer a structured and neat download area. - Preview documents (70+ file formats, including PDF © Microsoft Office), images, audios and videos. Note: This package contains a fully working version of the product, however without a license key it will run in trial mode.
This package is not used by any popular GitHub repositories.