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
| <?xml version="1.0" encoding="utf-8"?> | |
| <dashBoard> | |
| <section alias="StartupSettingsDashboardSection"> | |
| <areas> | |
| <area>settings</area> | |
| </areas> | |
| <tab caption="Welcome"> | |
| <control showOnce="true" addPanel="true" panelCaption=""> | |
| views/dashboard/settings/settingsdashboardintro.html | |
| </control> |
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
| <!-- Repository connection settings --> | |
| <!-- For each site, a custom repository must be configured, so Courier knows how to connect and authenticate--> | |
| <repositories> | |
| <!-- If a custom Umbraco Membership provider is used, specify login & password + set the passwordEncoding to clear: --> | |
| <repository name="Sample" alias="sample" type="CourierWebserviceRepositoryProvider" visible="true"> | |
| <url>http://url.com</url> | |
| <!--Enter login details:--> | |
| <login>some@mail.com</login> | |
| <password>test@123</password> |
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
| <?xml version="1.0"?> | |
| <configuration> | |
| <repositories> | |
| <repository name="Target" alias="target" type="CourierWebserviceRepositoryProvider" visible="true"> | |
| <url>http://target.localhost</url> | |
| <user>0</user> | |
| </repository> | |
| </repositories> |
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
| @inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
| @using Umbraco.Forms.Core | |
| @{ | |
| Layout = “Master.cshtml”; | |
| } | |
| <pre> | |
| Invalid: @Licensing.IsInvalid() <br> | |
| Local Browser Request: @Licensing.IsLocalBrowserRequest() <br> | |
| Is Trial: @Licensing.IsTrial() <br> |
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
| //------------------------------------------------------------------------------ | |
| // <auto-generated> | |
| // This code was generated by a tool. | |
| // | |
| // Umbraco.ModelsBuilder v3.0.10.102 | |
| // | |
| // Changes to this file will be lost if the code is regenerated. | |
| // </auto-generated> | |
| //------------------------------------------------------------------------------ |
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
| <?xml version="1.0"?> | |
| <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="Redirect umbraco.io to google.com" stopProcessing="true" xdt:Transform="Insert"> | |
| <match url=".*" /> | |
| <conditions> | |
| <add input="{HTTP_HOST}" pattern="^(.*)?.s1.umbraco.io$" /> | |
| <add input="{REQUEST_URI}" negate="true" pattern="^/umbraco" /> |
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
| @inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.Home> | |
| @using ContentModels = Umbraco.Web.PublishedContentModels; | |
| @using Umbraco.Web.Routing; | |
| @{ | |
| Layout = "Master.cshtml"; | |
| IEnumerable<IContentFinder> finders = ContentFinderResolver.Current.Finders; | |
| } | |
| @foreach (var finder in finders) | |
| { |
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 (SmtpClient client = new SmtpClient()) | |
| { | |
| } | |
| SmtpClient client = new SmtpClient(); | |
| try | |
| { | |
| } |
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 Morten | |
| { | |
| public class RegisterEvents : ApplicationEventHandler | |
| { | |
| protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) | |
| { | |
| System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; | |
| } | |
| } | |
| } |
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.Collections.Generic; | |
| using System.Web.Http; | |
| using Umbraco.Web.WebApi; | |
| namespace UmbracoTestApiAttributes.Controllers | |
| { | |
| [RoutePrefix("api/books")] | |
| public class BookController : UmbracoApiController | |
| { | |
| [HttpGet] |