This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* shakespeare * Change text. * cleanup/finalize
- Loading branch information
Showing
2 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
|
||
echo on | ||
//set environment variables. Fill in the fields below, then run this at the command level before running the NET Core app. | ||
//Then run the app from the command level. Like this: | ||
CMD> testenvvars_SET | ||
CMD> dotnet urn | ||
//set environment variables. Fill in the fields below, then run each line in the command window one at a time | ||
//then run the .NET Core app from the command window. You should be in the same folder as the arm-read-write.csproj file. | ||
CMD> dotnet run | ||
|
||
//Doing this instead of hardcoding these variables ensures that you don't accidentally save them to github. | ||
// | ||
SET IOT_DEVICE_ID=Contoso-Test-Device | ||
SET IOT_HUB_URI="IOT-HUB-NAME-GOES-HERE.azure-devices-net"; | ||
SET IOT_DEVICE_KEY="IOT-DEVICE-KEY-GOES-HERE" | ||
SET IOT_DEVICE_KEY="IoT-device-key-goes-here" | ||
// | ||
//to see local environment variables, type set and hit return, and it will show them all |