Skip to content

Commit c9a6372

Browse files
author
Russ Williams
committed
Updated some doc
1 parent 584e9be commit c9a6372

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.vs/BotFrameworkAccelerators/v16/.suo

6 KB
Binary file not shown.

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Bot Framework Accelerators
22
Development accelerators for the Microsoft Bot Framework
33

4-
## [Secured Web Chat Control](SecuredWebChatControl/README.md)
4+
## [Secured Web Chat Control](SecuredWebChatControl)
55
Shows how to embed a Web Chat control on a web page without exposing the bot secret

SecuredWebChatControl/Controllers/TokenController.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Microsoft.AspNetCore.Mvc;
88
using Microsoft.Extensions.Configuration;
99
using Microsoft.IdentityModel.Protocols;
10-
using MyFirstVirtualAssistantRHW.Services;
1110
using Newtonsoft.Json;
1211
using Newtonsoft.Json.Linq;
1312

@@ -19,15 +18,15 @@
1918
* dependency injection by adding the follwing line of code to the Startup.cs file
2019
* somewhere in the ConfigureServices() method:
2120
* services.AddSingleton<HttpClient>(new HttpClient());
22-
* 2) This code expects that to get the Bot Secret from the appsettings.cs file so
23-
* you'll need to add the following setting to the appsettings.cs file:
21+
* 2) This code expects that to get the Bot Secret from the appsettings.json file so
22+
* you'll need to add the following setting to the appsettings.json file:
2423
* "directLineSecret": "<YourDirectLineSecret>",
2524
* 3) Go to the Azure portal and enable the Direct Line channel and copy the Secret Key
2625
* and paste it in as the value of the directLineSecret setting that you created in
2726
* the previous step.
2827
* ----------------------------------------------------------------------------------
2928
*/
30-
namespace MyFirstVirtualAssistantRHW.Controllers
29+
namespace SecuredWebChatConrol.Controllers
3130
{
3231
[Route("api/[controller]")]
3332
[ApiController]

0 commit comments

Comments
 (0)