Skip to content

Instantly share code, notes, and snippets.

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<NoWarn>NU1701</NoWarn>
<RestoreAdditionalProjectSources>
https://botbuilder.myget.org/F/experimental/api/v3/index.json;
</RestoreAdditionalProjectSources>
<StartupObject>botIBI.Program</StartupObject>
<NoWin32Manifest>true</NoWin32Manifest>
System.Net.Http.WinHttpException: An operation was attempted on something that is not a socket
Module "System.Runtime.ExceptionServices.ExceptionDispatchInfo", in Throw
Module "System.Threading.Tasks.RendezvousAwaitable`1", in GetResult
Module "System.Net.Http.WinHttpHandler", in StartRequest
System.Net.Http.HttpRequestException: An error occurred while sending the request.
Module "Microsoft.Rest.RetryDelegatingHandler", in SendAsync
Module "System.Runtime.ExceptionServices.ExceptionDispatchInfo", in Throw
Module "System.Runtime.CompilerServices.TaskAwaiter", in ThrowForNonSuccess
Module "System.Runtime.CompilerServices.TaskAwaiter", in HandleNonSuccessAndDebuggerNotification
Module "System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter", in GetResult
System.Net.Http.WinHttpException: An operation was attempted on something that is not a socket
Module "System.Runtime.ExceptionServices.ExceptionDispatchInfo", in Throw
Module "System.Threading.Tasks.RendezvousAwaitable`1", in GetResult
Module "System.Net.Http.WinHttpHandler", in StartRequest
System.Net.Http.HttpRequestException: An error occurred while sending the request.
Module "Microsoft.Rest.RetryDelegatingHandler", in SendAsync
Module "System.Runtime.ExceptionServices.ExceptionDispatchInfo", in Throw
Module "System.Runtime.CompilerServices.TaskAwaiter", in ThrowForNonSuccess
Module "System.Runtime.CompilerServices.TaskAwaiter", in HandleNonSuccessAndDebuggerNotification
public class TourInitiationDialog : WaterfallDialog
{
public TourInitiationDialog(string id, BotAccessors accessors, DialogSet dialogs, IEnumerable<WaterfallStep> steps = null)
: base(id, steps)
{
dialogs.Add(new ConfirmPrompt("beginTourPrompt"));
dialogs.Add(new ConfirmPrompt("botCompliancePrompt"));
dialogs.Add(new CustomPrompt("emotionPrompt"));
dialogs.Add(new ConfirmPrompt("botFunctionalityPrompt"));
dialogs.Add(new ConfirmPrompt("weatherPrompt"));
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>