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 System; | |
| using System.Net.Http; | |
| using System.Net.Http.Formatting; | |
| using System.Web.Http.Filters; | |
| using Newtonsoft.Json.Serialization; | |
| namespace Filters | |
| { | |
| [AttributeUsage(AttributeTargets.All)] | |
| public class CamelCasingFilterAttribute : ActionFilterAttribute |
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
| <div class="umb-editor umb-relatedlinks" ng-controller="noerd.Lightyears.LinkController"> | |
| <table class="table table-striped"> | |
| <thead> | |
| <tr> | |
| <td>Caption</td> | |
| <td>Link</td> | |
| <td>New window</td> | |
| </tr> | |
| </thead> | |
| <tbody> |
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
| [CamelCasingFilter] | |
| [RoutePrefix("umbraco/backoffice/api/test")] | |
| [IsBackOffice] | |
| [UmbracoAuthorize] | |
| public class UmbracoTestController : ApiController | |
| { | |
| } | |
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
| public class FriendlyUrlService | |
| { | |
| // ------------------------------------------------------------------------- | |
| // Fields | |
| // ------------------------------------------------------------------------- | |
| private static readonly IDictionary<string, string> _friendlyCharMap; | |
| // ------------------------------------------------------------------------- | |
| // Cosntructor |