Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Update for .net 5? Is this dead? #74

Open

Description

@snow-jallen

I went to teach a friend about LINQ and I thought this would be the perfect way, run .net in the browser, execute your linq queries, see what happens - it should be perfect, right?

Nope.

dotnet tool install -g dotnet-try
git clone https://github.com/dotnet/try-samples
cd try-samples
dotnet run

ok, everything looks good so far...but not a single sample will actually execute. I click on the play button, it spins for a while, then a red box shows up at the bottom of the code window. If I look at my dev tools console it's full of errors. :( Hundreds of them, just like this (see below).

What am I doing wrong? Isn't this supposed to just work? I guess I'll need to find some other way to teach my friend about LINQ. ☹️

sql.js:1133 POST https://localhost:54389/workspace/diagnostics?hostOrigin=https%3A%2F%2Flocalhost%3A54389%2F101-linq-samples%2Fdocs%2Frestrictions.md 500
(anonymous) @ sql.js:1133
e.fetch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
t.default @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
s @ sql.js:1133
Promise.then (async)
u @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
value @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
value @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
t.__tryOrUnsub @ sql.js:1133
t.next @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
t._next @ sql.js:1133
t.emitValue @ sql.js:1133
t.notifyNext @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
ae @ sql.js:1133
t._execute @ sql.js:1133
t.execute @ sql.js:1133
t.flush @ sql.js:1133
setInterval (async)
t.requestAsyncId @ sql.js:1133
t.schedule @ sql.js:1133
e.schedule @ sql.js:1133
t.schedule @ sql.js:1133
(anonymous) @ sql.js:1133
e._trySubscribe @ sql.js:1133
e.subscribe @ sql.js:1133
(anonymous) @ sql.js:1133
r @ sql.js:1133
t._tryNext @ sql.js:1133
t._next @ sql.js:1133
t.next @ sql.js:1133
t.next @ sql.js:1133
(anonymous) @ sql.js:1133
value @ sql.js:1133
$s @ sql.js:1133
Zs @ sql.js:1133
Ks @ sql.js:1133
qs @ sql.js:1133
Hs @ sql.js:1133
_s @ sql.js:1133
enqueueSetState @ sql.js:1133
b.setState @ sql.js:1133
s.onStateChange @ sql.js:1133
v @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
d @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
dispatch @ sql.js:1133
(anonymous) @ sql.js:1133
w @ sql.js:1133
(anonymous) @ sql.js:1133
e. @ sql.js:1133
(anonymous) @ sql.js:1133
i @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
postMessage (async)
IFrameMessageBus.post @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
step @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
fulfilled @ trydotnet.min.js?v=1.0.19553.4:1
Promise.then (async)
step @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
__awaiter @ trydotnet.min.js?v=1.0.19553.4:1
Session.setWorkspace @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
Promise.then (async)
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
SafeSubscriber.__tryOrUnsub @ trydotnet.min.js?v=1.0.19553.4:1
SafeSubscriber.next @ trydotnet.min.js?v=1.0.19553.4:1
Subscriber._next @ trydotnet.min.js?v=1.0.19553.4:1
Subscriber.next @ trydotnet.min.js?v=1.0.19553.4:1
Subject.next @ trydotnet.min.js?v=1.0.19553.4:1
(anonymous) @ trydotnet.min.js?v=1.0.19553.4:1
postMessage (async)
value @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
(anonymous) @ sql.js:1133
Mr @ sql.js:1133
ps @ sql.js:1133
fs @ sql.js:1133
Zs @ sql.js:1133
Ks @ sql.js:1133
qs @ sql.js:1133
Hs @ sql.js:1133
_s @ sql.js:1133
oa @ sql.js:1133
sa @ sql.js:1133
fa.render @ sql.js:1133
(anonymous) @ sql.js:1133
ea @ sql.js:1133
ma @ sql.js:1133
render @ sql.js:1133
(anonymous) @ sql.js:1133
o @ sql.js:18
(anonymous) @ sql.js:1133
o @ sql.js:18
(anonymous) @ sql.js:136
(anonymous) @ sql.js:138
Show 72 more frames from Library code
sql.js:1133 Uncaught (in promise) Error
at new t (sql.js:1133)
at e. (sql.js:1133)
at w (sql.js:1133)
at Generator._invoke (sql.js:1133)
at Generator.e. [as next] (sql.js:1133)
at s (sql.js:1133)

Activity

  1. mahdimerhi commented on Feb 28, 2021

    @mahdimerhi

    Hey, I just tried dotnet-try for the first time and the same happened to me too. but after the red box showed up I clicked on the "run" button again one or twice and it worked. The whole page is working well now.

  2. qayshp commented on Apr 26, 2022

    @qayshp

    Seems most definitely dead.
    dotnet try doesn't seem to work at all with 6.0.202

  3. JurrianFahner commented on Dec 3, 2023

    @JurrianFahner

    Seems most definitely dead. dotnet try doesn't seem to work at all with 6.0.202
    Doesn't also work with 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions