Skip to content

Commit

Permalink
[AzureDeploy] Enable deploy button on newer samples (microsoft#137)
Browse files Browse the repository at this point in the history
* Renames

* Link Node samples

* Fix typo

* Link C# samples

* Fix lint issues

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Update to support Azure Deploy button

* Add default port
  • Loading branch information
pcostantini authored and msft-shahins committed Jul 10, 2017
1 parent 1f9149c commit cef6ab5
Show file tree
Hide file tree
Showing 68 changed files with 2,685 additions and 644 deletions.
121 changes: 121 additions & 0 deletions CSharp/Blog-CustomChannelData/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"defaultValue": "BotBuilder-Samples",
"type": "string"
},
"hostingPlanName": {
"type": "string"
},
"siteLocation": {
"type": "string"
},
"sku": {
"type": "string",
"allowedValues": [
"Free",
"Shared",
"Basic",
"Standard"
],
"defaultValue": "Free"
},
"workerSize": {
"type": "string",
"allowedValues": [
"0",
"1",
"2"
],
"defaultValue": "0"
},
"repoUrl": {
"type": "string"
},
"branch": {
"type": "string"
},
"Project": {
"type": "string",
"defaultValue": "CSharp/Blog-CustomChannelData"
},
"MicrosoftAppId": {
"type": "string"
},
"MicrosoftAppPassword": {
"type": "string"
}
},
"resources": [
{
"apiVersion": "2014-06-01",
"name": "[parameters('hostingPlanName')]",
"type": "Microsoft.Web/serverFarms",
"location": "[parameters('siteLocation')]",
"properties": {
"name": "[parameters('hostingPlanName')]",
"sku": "[parameters('sku')]",
"workerSize": "[parameters('workerSize')]",
"numberOfWorkers": 1
}
},
{
"apiVersion": "2014-06-01",
"name": "[parameters('siteName')]",
"type": "Microsoft.Web/Sites",
"location": "[parameters('siteLocation')]",
"dependsOn": [
"[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]"
],
"tags": {
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty"
},
"properties": {
"name": "[parameters('siteName')]",
"serverFarm": "[parameters('hostingPlanName')]"
},
"resources": [
{
"apiVersion": "2014-04-01",
"type": "config",
"name": "web",
"dependsOn": [
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]"
],
"properties": {
"appSettings": [
{
"name": "Project",
"value": "[parameters('Project')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('MicrosoftAppId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('MicrosoftAppPassword')]"
}
]
}
},
{
"apiVersion": "2014-04-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]",
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/web')]"
],
"properties": {
"RepoUrl": "[parameters('repoUrl')]",
"branch": "[parameters('branch')]",
"IsManualIntegration": true
}
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<add key="MicrosoftAppId" value="" />
<add key="MicrosoftAppPassword" value="" />

<add key="LUIS_SubscriptionKey" value="YourSubscriptionKey" />
<add key="LUIS_ModelId" value="YourModelId" />
<add key="LUIS_SubscriptionKey" value="" />
<add key="LUIS_ModelId" value="" />
</appSettings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
Expand Down
5 changes: 5 additions & 0 deletions CSharp/Blog-LUISActionBinding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

A sample that contains a core implementation for doing LUIS Action Binding using the [Microsoft.Cognitive.LUIS.ActionBinding](Microsoft.Cognitive.LUIS.ActionBinding) framework in order to handle LUIS intents taking a service result as input. In addition, the solution contains sample Actions ([LuisActions.Samples.Shared](LuisActions.Samples.Shared)) that are commonly shared, and shows how to integrate them in a console, a bot and a ASP.NET MVC applications.

[![Deploy to Azure][Deploy Button]][Deploy CSharp/LUISActionBinding]

[Deploy Button]: https://azuredeploy.net/deploybutton.png
[Deploy CSharp/LUISActionBinding]: https://azuredeploy.net

### Prerequisites

The minimum prerequisites to run this sample are:
Expand Down
135 changes: 135 additions & 0 deletions CSharp/Blog-LUISActionBinding/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"defaultValue": "BotBuilder-Samples",
"type": "string"
},
"hostingPlanName": {
"type": "string"
},
"siteLocation": {
"type": "string"
},
"sku": {
"type": "string",
"allowedValues": [
"Free",
"Shared",
"Basic",
"Standard"
],
"defaultValue": "Free"
},
"workerSize": {
"type": "string",
"allowedValues": [
"0",
"1",
"2"
],
"defaultValue": "0"
},
"repoUrl": {
"type": "string"
},
"branch": {
"type": "string"
},
"Project": {
"type": "string",
"defaultValue": "CSharp/Blog-LUISActionBinding/LuisActions.Samples.Bot"
},
"MicrosoftAppId": {
"type": "string"
},
"MicrosoftAppPassword": {
"type": "string"
},
"LUIS_SubscriptionKey": {
"type": "string"
},
"LUIS_ModelId": {
"type": "string"
}
},
"resources": [
{
"apiVersion": "2014-06-01",
"name": "[parameters('hostingPlanName')]",
"type": "Microsoft.Web/serverFarms",
"location": "[parameters('siteLocation')]",
"properties": {
"name": "[parameters('hostingPlanName')]",
"sku": "[parameters('sku')]",
"workerSize": "[parameters('workerSize')]",
"numberOfWorkers": 1
}
},
{
"apiVersion": "2014-06-01",
"name": "[parameters('siteName')]",
"type": "Microsoft.Web/Sites",
"location": "[parameters('siteLocation')]",
"dependsOn": [
"[concat('Microsoft.Web/serverFarms/', parameters('hostingPlanName'))]"
],
"tags": {
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "empty"
},
"properties": {
"name": "[parameters('siteName')]",
"serverFarm": "[parameters('hostingPlanName')]"
},
"resources": [
{
"apiVersion": "2014-04-01",
"type": "config",
"name": "web",
"dependsOn": [
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]"
],
"properties": {
"appSettings": [
{
"name": "Project",
"value": "[parameters('Project')]"
},
{
"name": "MicrosoftAppId",
"value": "[parameters('MicrosoftAppId')]"
},
{
"name": "MicrosoftAppPassword",
"value": "[parameters('MicrosoftAppPassword')]"
},
{
"name": "LUIS_SubscriptionKey",
"value": "[parameters('LUIS_SubscriptionKey')]"
},
{
"name": "LUIS_ModelId",
"value": "[parameters('LUIS_ModelId')]"
}
]
}
},
{
"apiVersion": "2014-04-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]",
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/config/web')]"
],
"properties": {
"RepoUrl": "[parameters('repoUrl')]",
"branch": "[parameters('branch')]",
"IsManualIntegration": true
}
}
]
}
]
}
5 changes: 5 additions & 0 deletions CSharp/capability-SimpleTaskAutomation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

A sample bot showing how to do simple task automation scenarios.

[![Deploy to Azure][Deploy Button]][Deploy CSharp/SimpleTaskAutomation]

[Deploy Button]: https://azuredeploy.net/deploybutton.png
[Deploy CSharp/SimpleTaskAutomation]: https://azuredeploy.net

### Prerequisites

The minimum prerequisites to run this sample are:
Expand Down
Loading

0 comments on commit cef6ab5

Please sign in to comment.