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
BACKUP DATABASE [sc821Sitecore_core] | |
TO DISK = N'E:\SitecoreInstances\sc821\821db\sc821Sitecore_core' | |
WITH NOFORMAT, NOINIT, | |
NAME = N'sc821Sitecore_core-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 | |
GO | |
BACKUP DATABASE [sc821Sitecore_master] | |
TO DISK = N'E:\SitecoreInstances\sc821\821db\sc821Sitecore_master' | |
WITH NOFORMAT, NOINIT, | |
NAME = N'sc821Sitecore_master-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 | |
GO |
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
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<settings> | |
<setting name="MasterVariablesReplacer"> | |
<patch:attribute name="value">Sitecore.Sharedsource.Data.MasterVariablesReplacer,Sitecore.Sharedsource</patch:attribute> | |
</setting> | |
</settings> | |
</sitecore> | |
</configuration> |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
public static class CollectionExtensions | |
{ | |
public static string ToQueryString(this IDictionary<string, string> dict) | |
{ | |
if (dict.Count == 0) return string.Empty; |
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
[LuisIntent("Help")] | |
public async Task Help(IDialogContext context, IAwaitable<IMessageActivity> activity, LuisResult result) | |
{ | |
var message = await activity; | |
var reply = context.MakeMessage(); | |
reply.TextFormat = "markdown"; | |
reply.Text = @"You can try some of the below options | |
* find me sweaters | |
* do you have wallets | |
* show me yellow v - neck sweaters"; |
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
#paths to the project templates on your system | |
$global:classTemplate = "$env:VS140COMNTOOLS..\IDE\ProjectTemplatesCache\CSharp\Windows Root\Windows\1033\ClassLibrary\csClassLibrary.vstemplate" | |
$global:webTemplate = "$env:VS140COMNTOOLS..\IDE\ProjectTemplatesCache\CSharp\Web\1033\WebApplicationProject40\EmptyWebApplicationProject40.vstemplate" | |
#variable used to store the path for the empty Habitat folder | |
$global:helixPath ="" | |
#empty variable used to store the solution name | |
$global:solutionName = "" |
NewerOlder