Skip to content

Commit 009445c

Browse files
committed
update packages
1 parent 7b5c9da commit 009445c

File tree

7 files changed

+14
-12
lines changed

7 files changed

+14
-12
lines changed

Documents/AzureFunction.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ Once the resources are created you need to do some manual steps:
2424

2525
![Public Blob Storage](./Images/blob.png)
2626

27-
2. [Create a database](https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-dotnet#add-a-collection) called `pets` in Cosmos DB. Then add a collection called `checks`.
27+
2. [Create a database](https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-dotnet#add-a-collection) called `pets` in Cosmos DB. Then add two collection, one called `checks` and other called `leases`.
2828

29-
![Cosmos DB Collection](./Images/collection.png)
29+
![Cosmos DB Collection](./Images/collection1.jpg)
30+
31+
![Cosmos DB Collection](./Images/collection2.jpg)
3032

3133
## Deploy to Azure
3234

33-
To deploy the Azure Function just publish it from Visual Studio following the instructions in the "Publish to Azure" section of the [Azure Function Documentation](https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs).
35+
To deploy the Azure Function just publish it from Visual Studio following the instructions in the "Publish to Azure" section of the [Azure Function Documentation](https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs).

Documents/Images/collection.png

-11.4 KB
Binary file not shown.

Documents/Images/collection1.jpg

29.6 KB
Loading

Documents/Images/collection2.jpg

28.9 KB
Loading

Source/SmartHotel360.Website/ClientApp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.2",
44
"private": true,
55
"dependencies": {
6-
"@aspnet/signalr": "^1.0.3",
6+
"@aspnet/signalr": "^1.1.0",
77
"bootstrap": "^3.3.7",
88
"history": "4.6.3",
99
"jquery": "^3.3.1",

Source/SmartHotel360.Website/ClientApp/src/store/Pets.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ export const actionCreators = {
5656
uploadPet: (pet) => async (dispatch, getState) => {
5757
const tokenInfo = await requestSignalRToken();
5858
const options = {
59-
accessTokenFactory: () => tokenInfo.accessKey
59+
accessTokenFactory: () => tokenInfo.accessToken
6060
};
6161

6262
const connection = new signalR.HubConnectionBuilder()
63-
.withUrl(tokenInfo.endpoint, options)
63+
.withUrl(tokenInfo.url, options)
6464
.configureLogging(signalR.LogLevel.Information)
6565
.build();
6666

Source/SmartHotel360.WebsiteFunction/SmartHotel360.WebsiteFunction.csproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
<None Remove="lib\Microsoft.ProjectOxford.Vision.dll" />
88
</ItemGroup>
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.1.0-preview" />
11-
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.23" />
12-
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.CosmosDB" Version="3.0.1" />
13-
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.1" />
14-
<PackageReference Include="AzureAdvocates.WebJobs.Extensions.SignalRService" Version="0.3.0-alpha-hotfix1" />
10+
<PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.1.0-preview" />
11+
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.SignalRService" Version="1.0.0-preview1-10025" />
12+
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="1.0.24" />
13+
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.CosmosDB" Version="3.0.3" />
14+
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.3" />
1515
</ItemGroup>
1616
<ItemGroup>
1717
<Reference Include="Microsoft.ProjectOxford.Vision">
1818
<HintPath>lib\Microsoft.ProjectOxford.Vision.dll</HintPath>
19-
</Reference>
19+
</Reference>
2020
</ItemGroup>
2121
<ItemGroup>
2222
<None Update="local.settings.json">

0 commit comments

Comments
 (0)