Skip to content

Commit

Permalink
Added SignalR package
Browse files Browse the repository at this point in the history
  • Loading branch information
sethpulsipher committed Oct 23, 2024
1 parent 0e64791 commit dac5064
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.11.4" />
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.10" />
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.28.0" />
<PackageReference Include="MudBlazor" Version="7.14.0" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.1.2" />
<PackageReference Include="AutoMapper" Version="13.0.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"resourceGroupName": {
"type": "string",
"defaultValue": "BookStoreAppResourceGroup",
"metadata": {
"_parameterType": "resourceGroup",
"description": "Name of the resource group for the resource. It is recommended to put resources under same resource group for better tracking."
}
},
"resourceGroupLocation": {
"type": "string",
"defaultValue": "westus2",
"metadata": {
"_parameterType": "location",
"description": "Location of the resource group. Resource groups could have different location than resources."
}
},
"resourceLocation": {
"type": "string",
"defaultValue": "[parameters('resourceGroupLocation')]",
"metadata": {
"_parameterType": "location",
"description": "Location of the resource. By default use resource group's location, unless the resource provider is not supported there."
}
}
},
"resources": [
{
"type": "Microsoft.Resources/resourceGroups",
"name": "[parameters('resourceGroupName')]",
"location": "[parameters('resourceGroupLocation')]",
"apiVersion": "2019-10-01"
},
{
"type": "Microsoft.Resources/deployments",
"name": "[concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('BookStoreAppBlazorServerUI', subscription().subscriptionId)))]",
"resourceGroup": "[parameters('resourceGroupName')]",
"apiVersion": "2019-10-01",
"dependsOn": [
"[parameters('resourceGroupName')]"
],
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"sku": {
"name": "Free_F1",
"tier": "Free",
"size": "F1",
"capacity": 1
},
"location": "[parameters('resourceLocation')]",
"name": "BookStoreAppBlazorServerUI",
"type": "Microsoft.SignalRService/SignalR",
"apiVersion": "2018-10-01"
}
]
}
}
}
],
"metadata": {
"_dependencyType": "signalr.azure"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dependencies": {
"signalr1": {
"serviceConnectorResourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.Web/sites/BookStoreAppBlazorServer/providers/Microsoft.ServiceLinker/linkers/AzureSignalRConnectionString_D4A2D057D8",
"secretStore": "AzureAppSettings",
"resourceId": "/subscriptions/[parameters('subscriptionId')]/resourceGroups/[parameters('resourceGroupName')]/providers/Microsoft.SignalRService/SignalR/BookStoreAppBlazorServerUI",
"type": "signalr.azure",
"connectionId": "Azure:SignalR:ConnectionString",
"dynamicId": null
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"dependencies": {
"signalr1": {
"type": "signalr",
"connectionId": "Azure:SignalR:ConnectionString",
"dynamicId": null
}
}
}

0 comments on commit dac5064

Please sign in to comment.