![mono 编译 c#](https://img-blog.csdnimg.cn/img_convert/92c20cdfa9c2dba4a608c234729ce326.png)
mono 编译 c#
Blazor quietly marches on. In case you haven't heard (I've blogged about Blazor before) it's based on a deceptively simple idea - what if we could run .NET Standard code in the browsers? No, not Silverlight, Blazor requires no plugins and doesn't introduce new UI concepts. What if we took the AOT (Ahead of Time) compilation work pioneered by Mono and Xamarin that can compile C# to Web Assembly (WASM) and added a nice UI that embraced HTML and the DOM?
开拓者悄悄地前进。 如果您没有听说过(我之前曾写过有关Blazor的文章),它是基于一个看似简单的想法-如果我们可以在浏览器中运行.NET Standard代码怎么办? 不,不是Silverlight,Blazor不需要插件,也不会引入新的UI概念。 如果我们接受Mono和Xamarin率先进行的AOT(提前)编译工作,该工作可以将C#编译为Web Assembly (WASM),并添加一个包含HTML和DOM的精美UI,该怎么办?
Sound bonkers to you? Are you a hater? Think this solution is dumb or not for you? To the left.
听起来很傻吗? 你讨厌吗? 认为此解决方案对您而言是愚蠢的吗? 在左边。
For those of you who want to be wacky and amazing, consider if you can do this and the command line:
对于那些想变得古怪而又令人惊奇的人,请考虑是否可以通过命令行执行此操作:
$ cat hello.cs
class Hello