I would like to know how can I run Dart applications on the server side. But I ask you to, please, read the whole question before answering it.
I know that some users already asked for something like this (or, maybe, the same thing), but I didn't find any answer useful. Well, the best one said that the "Dart VM" is inside Dart SDK. That's great! But how should I proceed? What should I do with the files? It lacks of documentation (or I'm being really blind on finding it).
The thing is: I know that Dart client side applications can be compiled to JavaScript. That's fine. I don't have any questions about it. But when we're talking about Dart server side applications (like an application with a listener), my server has to have a VIRTUAL MACHINE (as Dart documentation says).
So... What is the procedure to install a Dart Virtual Machine on a Linux server?
Thanks for the help!
Felipe,
I am a Dart beginner and wanted to know the answer myself. After some Googling, I found this tutorial that describes how to build servers that handle multiple protocols.
Quick Start: Put the ./dart-sdk/bin/ in your PATH variable and do 'dart somedartapp.dart'.
Hope this helps!
Related
I am trying to implement remote desktop server using libvnc, I have downloaded the libvnc and build the library and able to run sample code. And in the example code I can see the function rfbGetScreen http://libvnc.github.io/doc/html/libvncserver_doc.html which display plain background not the desktop. Does that mean I have to find some other library to get desktop and share using vnc, or vnc has some inbuilt function to do this.
it does seem so. You need to put into rfbScreenInfoPtr::framebuffer screenshots. I've never saw any inbuilt functions yet. May be I've poorly searched.
Try SDL2. May be it will help.
Can you use install4j with nodejs? I have a server I need to have an installer for, can install4j work with this?
If not do any of you know something that can/
Other installers seem that would take a lot of time to solve my issue, since I also need information from the user (like paths.)
You can install anything with install4j. However, the installer requires a JRE to run so you have to bundle one with it, even though you don't need it for your installed application. Also, a lot of install4j's functionality is geared towards supporting Java launchers, so that will not be useful for you.
This is probably a stupid question but I am no the best with technology so I figured I might as well ask. I am working on creating a website for myself and I would like to put Monogame work on there. Is there a way I could I guess compress it all into one file for a person to download and then play it? or possibly make it playable via my website and how have them download anything?
This is my first post on her so sorry if this is not worded properly (it being 2:30 a.m. is not helping either). Thank you very much!
You cannot implement MonoGame as a game on your website. The closest you're gonna get is having it working over Local Network. And this has only been tested with XNA.
However yes, if you compile a complete version of your game and Zip it, that should work. As far as I've experienced, if you simply make sure to include MonoGame.Framework.Dll, it should work without any further requirements (apart of course from the standard ones, such as DirectX and .Net Framework in general).
You might want to test this on a clean computer (Virtual machine would also work I think). If this doesn't work, make an installer instead, using the Visual Studio Publish feature. I've never had that fail before
I have a difficult question that needs some answering, i have seen some projects where
the application runs a socket in a browser that has a console like format that the user can run for their node.js module...
If the actually calling a function or script is impossible from the web side,
i think it would be nifty to just see the console logs in the window.
If any advice could be shared, that would be amazing!
Thanks :)
Yes, there are several projects that do this. Weinre is very commonly used. You can look at its source code to see how it does it.
If I were to build it from scratch, I would utilize Socket.IO. Send the command, return the result.
I'm a .NET developer and would like to use something like Node.js and run it in the Microsoft cloud. Is there an equivalent? I know Microsoft is helping port this over but no sign of when this will happen and I need something in the meantime.
There's a couple of projects under way:
https://github.com/dnewcome/Node.net
https://github.com/Rduerden/Node.cs
I couldn't vouch for their completeness.
I'd also have a read of this post by Ayende, the comments are particularly interesting:
http://ayende.com/blog/72705/node-cs
Why would you need Node.js when .NET has supported event-driven async IO from the very beginning? (Look at the all the .Begin/.End methods in the IO and web request classes).
Furthermore, the explicitly event-driven approach used by Node.js and the .NET APM (Asynchronous Programming Model) will soon be superceded by the async/await keywords in C#. This has the benefit of producing much more readable code.
Actually a port of node to windows is already underway and currently actively worked on. You can already download a windows build of node on the official page. It is however still far from beeing production ready, but you should be able to play around with it.
Try to look at manos and it's manifesto article.
Hi i started the development of a Node.Cs like server with support for .NET MVC Controllers, Razor etc. Just to explain, is based on a system like Node.Js with few threads, without locks and with a queue of couroutines.
PS any suggestion or correction is welcome!
Documentation
MvcMusicStore sample port on Node.Cs
Packages on Nuget