软件项目-1.4_微软开源Blazor
2018-02-24 10:02
337 查看
Blazor介绍
微软的ASP.NET团队宣布了一个名为Blazor的新项目,它是一种基于流行语言C#,Razor和HTML的实验性Web UI框架,Blazor是Browser + Razor的组合。
Visual Studio产品系列在Windows,Linux和MacOS上提供了一个很好的.NET开发体验。Blazor是一个构建在.NET上的单页Web应用程序框架,通过WebAssembly在Web浏览器中运行。
Blazor应用程序类似于也在Web浏览器中运行的渐进式Web应用程序。它虽然使用诸如CSS 和HTML 之类的Web 技术,但它使用 C#语言和 Razor 语法代替 JavaScript 来构建可组合的 Web UI 。通过提供用于编译到 Web 的大小和高效加载的格式,WebAssembly 可让 .Net 在浏览器中运行。
Blazor框架具备功能,包括:
用于构建 composable UI 的组件模型
路由
布局
表格和验证
依赖注入
JavaScript 互操作
开发期间在浏览器中实时重新加载
服务器端渲染
在浏览器和 IDE 中全面调试 .NET
能够通过 asm.js 在较早版本的(非 WebAssembly )浏览器上运行
Sanderson's Blog
http://blog.stevensanderson.com/2018/02/06/blazor-intro/
Running .NETin the browser
The first step to building a .NET-based SPA frameworkis to have a way of running .NET code inside web browsers. We can at last dothis based on open standards, supporting any web browser (without any plugins),thanks to WebAssembly.
WebAssembly is now supported by all mainstreambrowsers, including on mobile devices. It’s a compact bytecode format optimisedfor minimum download sizes and maximum execution speed. Despite what a lot ofdevelopers first assume, it does not introduce new security concerns, becauseit isn’t regular assembly code (e.g., x86/x64 or similar) - it’s a new bytecodeformat that can only do what JavaScript can do.
So how does that let us run .NET? Well, the Mono team isadding support for WebAssembly. In case you missed the news, Monohas been part of Microsoft since 2016. Mono is the official .NET runtime forclient platforms (e.g., native mobile apps and games). WebAssembly is yetanother client platform, so it makes sense that Mono should run on it.
Mono aims to run under WebAssembly in two modes:interpreted and AOT.
以上引用Sanderson'sBlog,谢谢!
微软的ASP.NET团队宣布了一个名为Blazor的新项目,它是一种基于流行语言C#,Razor和HTML的实验性Web UI框架,Blazor是Browser + Razor的组合。
Visual Studio产品系列在Windows,Linux和MacOS上提供了一个很好的.NET开发体验。Blazor是一个构建在.NET上的单页Web应用程序框架,通过WebAssembly在Web浏览器中运行。
Blazor应用程序类似于也在Web浏览器中运行的渐进式Web应用程序。它虽然使用诸如CSS 和HTML 之类的Web 技术,但它使用 C#语言和 Razor 语法代替 JavaScript 来构建可组合的 Web UI 。通过提供用于编译到 Web 的大小和高效加载的格式,WebAssembly 可让 .Net 在浏览器中运行。
Blazor框架具备功能,包括:
用于构建 composable UI 的组件模型
路由
布局
表格和验证
依赖注入
JavaScript 互操作
开发期间在浏览器中实时重新加载
服务器端渲染
在浏览器和 IDE 中全面调试 .NET
能够通过 asm.js 在较早版本的(非 WebAssembly )浏览器上运行
Sanderson's Blog
http://blog.stevensanderson.com/2018/02/06/blazor-intro/
Running .NETin the browser
The first step to building a .NET-based SPA frameworkis to have a way of running .NET code inside web browsers. We can at last dothis based on open standards, supporting any web browser (without any plugins),thanks to WebAssembly.
WebAssembly is now supported by all mainstreambrowsers, including on mobile devices. It’s a compact bytecode format optimisedfor minimum download sizes and maximum execution speed. Despite what a lot ofdevelopers first assume, it does not introduce new security concerns, becauseit isn’t regular assembly code (e.g., x86/x64 or similar) - it’s a new bytecodeformat that can only do what JavaScript can do.
So how does that let us run .NET? Well, the Mono team isadding support for WebAssembly. In case you missed the news, Monohas been part of Microsoft since 2016. Mono is the official .NET runtime forclient platforms (e.g., native mobile apps and games). WebAssembly is yetanother client platform, so it makes sense that Mono should run on it.
Mono aims to run under WebAssembly in two modes:interpreted and AOT.
以上引用Sanderson'sBlog,谢谢!
相关文章推荐
- [转载]推荐30款开源项目管理软件
- 微软开放技术发布开源的微软云服务器底盘管理器 (Chasis Manager) 软件
- 微软开源项目MSBEE 解决.net2.0VS.net1.1 过渡中兼容问题
- 开源项目 配置管理软件推荐
- 1.4 微软的程序和项目管理(转自moneyice)
- 微软开源项目MSBEE 解决.net2.0VS.net1.1 过渡中兼容问题
- 微软开源项目MSBEE 解决.net2.0VS.net1.1 过渡中兼容问题
- 发现一个好的开源项目:lomoX(挑着看,每天看一点,看一年就ok了)——用Webkit开发桌面软件,炫
- 微软项目管理软件的二次开发
- 开源软件(subversion 1.3,Castle项目)的最近几个更新值得注意
- 最好的 VC++/MFC 开源软件项目
- 开源项目管理软件禅道ZenTaoPMS发布0.4 beta版本
- 国人的项目管理工具——禅道开源项目管理软件
- 15款替代微软产品的开源软件
- 支持微软SilverLight2 开源项目Eclipse4sl发布
- 新浪发起的UNIX开源软件项目memcachedb
- 最佳开源应用程序:项目管理软件
- 微软开源项目MSBEE 解决.net2.0VS.net1.1 过渡中兼容问题
- 禅道开源项目管理软件正式发布2.3版本
- 微软已将WinJS开源项目更新至3.0版本