This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace YourNameSpace.Test.Helpers; | |
| using System.Net.Mime; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Http.Features; | |
| using Microsoft.AspNetCore.Mvc.Controllers; | |
| using Moq; | |
| using Umbraco.Cms.Core.Models.PublishedContent; | |
| using Umbraco.Cms.Core.Routing; | |
| using Umbraco.Cms.Web.Common.Routing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace YourNameSpace.Test.Helpers; | |
| using Moq; | |
| using Umbraco.Cms.Core; | |
| using Umbraco.Cms.Core.Dictionary; | |
| using Umbraco.Cms.Core.Models; | |
| using Umbraco.Cms.Core.Models.Blocks; | |
| using Umbraco.Cms.Core.Models.PublishedContent; | |
| using Umbraco.Cms.Core.PropertyEditors.ValueConverters; | |
| using Umbraco.Cms.Core.Routing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Optimizes image file size for all PNG and JPG images in a Microsoft Azure blob storage | |
| container by processing them locally and replacing their content with the optimized result. | |
| .DESCRIPTION | |
| Image files are often needlessly oversized and can be compressed without quality loss using | |
| widely-available utilities. Microsoft Azure provides a blob storage service that can be used | |
| to host publicly-accessible images for websites or other purposes. For containers with large | |
| numbers of suboptimal images or for bulk optimization, this script optimizes all images in |