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
@using Umbraco.Web.Models | |
@Model.Content.GetCropUrl(100, 200, "myContentCropperPropertyAlias", quality: 90, imageCropMode: ImageCropMode.Pad, ratioMode: ImageCropRatioMode.Height, furtherOptions: "&slimmage=true") |
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 MyProj.Common.Cache | |
{ | |
using System.Web.Configuration; | |
using System.Web.Mvc; | |
using System.Web.UI;b | |
using DevTrends.MvcDonutCaching; | |
public class ConfigDurationOutputCacheAttribute : DonutOutputCacheAttribute | |
{ |
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 MyProject.ValueConverters | |
{ | |
using System.Linq; | |
using System.Web; | |
using HtmlAgilityPack; | |
using Umbraco.Core.Models.PublishedContent; | |
using Umbraco.Core.PropertyEditors; | |
using Umbraco.Core.PropertyEditors.ValueConverters; |
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
"%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe" -ssadd -d umbOktoberFest2015SessionState -S <SQLServer\Instance> -U <SQLUser> -P <SQLPassword> –sstype c | |
<sessionState allowCustomSqlDatabase="true" cookieless="UseCookies" mode="SQLServer" sqlConnectionString="server=<SQLServer\Instance>;database=umbOktoberFest2015SessionState;user id=<SQLUser>;password=<SQLPassword>" timeout="43200" /> |
OlderNewer