从浏览器运行C# [英] Running c# from a browser

查看:100
本文介绍了从浏览器运行C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很好奇是否有可能让浏览器运行c#代码.例如,能够在文本框中编写代码,然后像在虚拟状态或类似状态下运行代码.我只是有一个想法想和我一起玩,真的只是想知道它是否可行.我尝试四处搜寻,但找不到任何答案,因此我以为我会 ass 专业人士.

谢谢,

Artie

I am curious if it''s possible to have a browser run c# code. For instance be able to write code in a textbox and then run the code just in like a virtual state or something. I just had an idea I wanted to play around with and really just want to know if it''s possible or not. I''ve tried searching around but am not able to find any answers so I''d thought I''d ass ask the professionals.

Thanks,

Artie

推荐答案

您可能要检查这些链接;

即时编译.NET代码 [ http://bytes.com/topic/c-sharp/answers/644288- run-code-entered-textbox [ ^ ]

http://stackoverflow.com/questions/826398/is-it-possible-to-dynamic-compile-and-execute-c-code-fragments [ ^ ]
You might want to check these links;

Compiling .NET code on-the-fly[^]

http://bytes.com/topic/c-sharp/answers/644288-run-code-entered-textbox[^]

http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-code-fragments[^]


这篇关于从浏览器运行C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆