Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Description - Simple to Embed: JavaScript Support #95

Open
2 tasks
LadyNaggaga opened this issue Jun 22, 2018 · 7 comments
Open
2 tasks

Project Description - Simple to Embed: JavaScript Support #95

LadyNaggaga opened this issue Jun 22, 2018 · 7 comments

Comments

@LadyNaggaga
Copy link
Collaborator

LadyNaggaga commented Jun 22, 2018

Suggestion from @jskeet
Reference: Product Roadmap Review

Feedback: For Noda Time, I wrote a horribly hacky bit of JavaScript for the various interactions with the server. None of this was complicated, or it wouldn't exist - my command of JavaScript is pretty dire. But it makes sense to avoid wheel reinvention: the Try.NET project could provide the JavaScript to make all of this work with very little effort on the part of the site developer wanting to embed Try.NET.

@jskeet
Copy link

jskeet commented Jun 22, 2018

If it's useful to see the code that I've got, it's here: https://github.com/nodatime/nodatime/blob/335de575f51912a45adf70fcef6a8a5dcd09595f/src/NodaTime.Web/wwwroot/js/trydotnet.js

Try not to laugh too hard ;)

@LadyNaggaga LadyNaggaga changed the title Simple to Embed: JavaScript Support Project Description - Simple to Embed: JavaScript Support Jul 13, 2018
@colombod
Copy link
Member

colombod commented Jun 3, 2019

@jskeet , @LadyNaggaga Now that we publish js api is worth reviewing this issue.

@jskeet
Copy link

jskeet commented Jun 3, 2019

Definitely very happy to give this a go when I can, although it won't be for a couple of weeks, I expect :(

@jskeet
Copy link

jskeet commented Jun 8, 2019

Is there documentation for using the JS API from a regular web application? Most of the docs I've seen are for the dotnet try command (understandably!) rather than embedding in a web application.

@jonsequitur
Copy link
Contributor

This isn't documented yet.

@DomenPigeon
Copy link

Hi, @colombod is there any news on this, I would love to use trydotnet, but because the trydotnet.js is closed for public its currenlty quite hard, the only way is really to do something what jskeet did.

@douglasg14b
Copy link

Same deal, even basic docs on how one could use the online .Net interactive on their own docs site would be greatly appreciated.

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

No branches or pull requests

6 participants