This file contains 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" /> |
This file contains 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 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 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 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 MyStuff.App_Code | |
{ | |
using Umbraco.Core.Models; | |
using Umbraco.Web; | |
public static class MyHelpers | |
{ | |
public static string MyGetCropUrl(this IPublishedContent publishedContent, int width, int height) | |
{ | |
var bgColor = "fff"; |
This file contains 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
public bool IsConverter(PublishedPropertyType propertyType) | |
{ | |
return propertyType.DataTypeId == 1234; | |
} |
This file contains 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 Crumpled.Logic.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 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
.archetypeEditor div.archetypeProperty { | |
float: left; | |
clear: none; | |
margin-left: 20px; | |
} | |
.archetypeEditor div.archetypeProperty:first-child { | |
margin-left: 0; | |
} |
This file contains 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
<location path="umbraco"> | |
<system.webServer> | |
<urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" /> | |
</system.webServer> | |
</location> | |
<location path="App_Plugins"> | |
<system.webServer> | |
<urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" /> | |
</system.webServer> | |
</location> |
NewerOlder