You can check them out if you want to learn more. Some are theoretical, some are more practical. You can look through them.
IAmTimCorey (C# mostly)
Christopher Okhravi (General videos, about programming concepts, ideas and rules)
IAmTimCorey (C# mostly)
Christopher Okhravi (General videos, about programming concepts, ideas and rules)
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.TestHost; | |
| using System; | |
| using System.Net.Http; | |
| namespace Tests | |
| { | |
| public class InjectionFixture : IDisposable | |
| { | |
| private readonly TestServer server; |
| @model IEnumerable<EPiServer.DataAbstraction.ContentType> | |
| @{ | |
| Layout = null; | |
| } | |
| @Html.Partial("PageTypeTablePartial", Model) |
| using EPiServer.Core; | |
| using EPiServer.PlugIn; | |
| using EPiServer.SpecializedProperties; | |
| using EPiServer.Web.PropertyControls; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Configuration; | |
| using System.Web.UI.WebControls; | |
| namespace Namespace.Path.In.Project |
| <# | |
| #OPTIONAL | |
| ** Windows 7 ** | |
| Should upgrade to WMF 5 first for reduced errors | |
| https://www.microsoft.com/en-us/download/details.aspx?id=50395 | |
| # If Dev Machine | |
| [Environment]::SetEnvironmentVariable("BoxStarter:InstallDev", "1", "Machine") # for reboots |
Provides functionality for:
Set the stores you want to list in the stores, for example:
protected static List<object> stores = new List<object>()
{
| param([string]$site=$(throw "Site argument is required.")) | |
| function vdir-exists([string]$name) | |
| { | |
| if((Test-Path -path $name) -eq $False) | |
| { | |
| return $False | |
| } | |
| (Get-Item $name).GetType().Name -eq "ConfigurationElement" |
| ALTER DATABASE [AspectoWeb] SET SINGLE_USER WITH ROLLBACK IMMEDIATE | |
| RESTORE DATABASE [AspectoWeb] | |
| FROM DISK = N'C:\Users\RasmusKL\Desktop\www.aspectoweb.com_backup_2011_12_15_030005_0285276\www.aspectoweb.com_backup_2011_12_14_031114_3950159.wbak' | |
| WITH NORECOVERY, REPLACE | |
| RESTORE DATABASE [AspectoWeb] | |
| FROM DISK = N'C:\Users\RasmusKL\Desktop\www.aspectoweb.com_backup_2011_12_15_030005_0285276\www.aspectoweb.com_backup_2011_12_15_030005_0285276.bak' | |
| WITH RECOVERY |