Description
Environment
dotnet --info
Output:
.NET Core SDK (reflecting any global.json):
Version: 2.2.100-preview2-009404
Commit: f4707d384d
Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-x64
Base Path: /home/jesse/dotnet/sdk/2.2.100-preview2-009404/
Host (useful for support):
Version: 2.2.0-preview2-26905-02
Commit: ad4d306fe0
.NET Core SDKs installed:
2.2.100-preview2-009404 [/home/jesse/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.0-preview2-35157 [/home/jesse/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.0-preview2-35157 [/home/jesse/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.0-preview2-26905-02 [/home/jesse/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Note: dotnet
points to preview version on my machine.
Slow terminal printing
-
I installed latest dotnet-httprepl with this command:
dotnet tool install -g dotnet-httprepl --version 2.2.0-preview3-35246 --add-source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
-
I created and ran a default webapi project:
dotnet new webapi && dotnet run
-
I spun up dotnet-httprepl with
dotnet-httprepl --help
The usage printed to the screen one line at a time extremely slowly. I timed it and it takes a full 10 seconds to print to the terminal.
Duplicated characters
The second issue is when I open a repl session, typing results in duplicate characters to be printed to the screen:
- Run httprepl with
dotnet-httprepl http://localhost:5000
jesse@xubuntu:~/git $ dotnet-httprepl http://localhost:5000
(Disconnected)~ set base "http://localhost:5000"
http://localhost:5000/~ lls
http://localhost:5000/~ II am ttypiing a senttencce
No matching command found
Execute 'help' to se available commands
http://localhost:5000/~ II aam ccarefully ttypingg tthis.. Myy kkeyboard is not brokenn.e
No matching command found
Execute 'help' to se available commands
http://localhost:5000/~ sset bbaase hhttttppss::////lloocalhost::550001
https://localhost:5001/~
As you can see, it still understands the commands that are being typed, so I think it's just a display issue.
Also that string "Execute 'help' to se available commands" was copied verbatim from the output.
I'm looking forward to using this tool in my development! :)