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 System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.IO; | |
using System.Linq; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Blob; | |
using Umbraco.Core.IO; |
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 System.Web.Http; | |
using System.Web.Http.Dispatcher; | |
using Umbraco.Core; | |
using Umbraco.Web.Mvc; | |
namespace MySite.CastleConfiguration | |
{ | |
public class ApplicationEventHandler : IApplicationEventHandler | |
{ | |
public void OnApplicationInitialized(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) |
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
/* Originally based on script from https://our.umbraco.org/projects/developer-tools/sql-scripts */ | |
/* Use to create missing PropertyData entries if the Umbraco UI gives a timeout error when trying | |
* to add a new property to an existing document type */ | |
Declare @ContentTypeAlias nvarchar(255), @PropertyTypeAlias nvarchar(255) | |
Set @ContentTypeAlias = 'nodeTypeAlias' | |
Set @PropertyTypeAlias = 'propertyTypeAlias' | |
Declare @ContentTypeId int, @PropertyTypeId int |
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
class MyController { | |
editor: any; | |
grapesJsConfig: { | |
//whatever | |
} | |
constructor(private readonly $scope: ng.IScope) {} |