diff --git a/clients/ts/FunctionalTests/FunctionalTests.csproj b/clients/ts/FunctionalTests/FunctionalTests.csproj
index 4a51804075..250728200b 100644
--- a/clients/ts/FunctionalTests/FunctionalTests.csproj
+++ b/clients/ts/FunctionalTests/FunctionalTests.csproj
@@ -5,6 +5,18 @@
True
+
+
+
+
+
+
+
+
+
+
+
+
@@ -25,6 +37,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/clients/ts/FunctionalTests/tsconfig.json b/clients/ts/FunctionalTests/tsconfig.json
index a9c8306f13..b82243eeea 100644
--- a/clients/ts/FunctionalTests/tsconfig.json
+++ b/clients/ts/FunctionalTests/tsconfig.json
@@ -1,4 +1,5 @@
{
+ "compileOnSave": false,
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
diff --git a/samples/ClientSample/RawSample.cs b/samples/ClientSample/RawSample.cs
index 5ac8c1a6cb..b72804e7a9 100644
--- a/samples/ClientSample/RawSample.cs
+++ b/samples/ClientSample/RawSample.cs
@@ -2,15 +2,16 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
-using System.Diagnostics;
+using System.Buffers;
+using System.IO;
+using System.IO.Pipelines;
using System.Linq;
-using System.Net.Http;
using System.Text;
-using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Sockets;
using Microsoft.AspNetCore.Sockets.Client;
+using Microsoft.AspNetCore.Sockets.Client.Http;
using Microsoft.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;
@@ -35,36 +36,25 @@ namespace ClientSample
baseUrl = string.IsNullOrEmpty(baseUrl) ? "http://localhost:5000/chat" : baseUrl;
var loggerFactory = new LoggerFactory();
- var logger = loggerFactory.CreateLogger();
Console.WriteLine($"Connecting to {baseUrl}...");
var connection = new HttpConnection(new Uri(baseUrl), loggerFactory);
try
{
- var closeTcs = new TaskCompletionSource