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 Statiq.App; | |
| using Statiq.Common; | |
| using StatiqGenerator.Customisations.ReadingTime; | |
| namespace StatiqGenerator.Customisations.DisappearingLinks | |
| { | |
| public class ExpiringLinkConfigurator : IConfigurator<Bootstrapper> | |
| { | |
| public void Configure(Bootstrapper configurable) |
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.Net.Http; | |
| using System.Threading.Tasks; | |
| using System.Net.Http.Json; | |
| using System.Text.Json.Nodes; | |
| using System.Net.Http.Headers; | |
| using System.Text.Json; | |
| using System.Text.Json.Serialization; | |
| internal class Program | |
| { |
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
| function FixupXConnect | |
| { | |
| $source = "xconnect-xp0.json" | |
| $json = Get-Content $source -Raw | ConvertFrom-Json | |
| $json.Tasks.AddSqlDatabasesToElasticPool.Params | Add-Member -MemberType NoteProperty -Name "TrustServerCertificate" -Value ($true) | |
| $json.Tasks.CreateShardApplicationDatabaseServerLoginInvokeSqlCmd.Params | Add-Member -MemberType NoteProperty -Name "TrustServerCertificate" -Value ($true) | |
| $json.Tasks.CreateShardManagerApplicationDatabaseUserInvokeSqlCmd.Params | Add-Member -MemberType NoteProperty -Name "TrustServerCertificate" -Value ($true) |
OlderNewer