前端技术:哪一个是新应用剃刀与角度的更好选择 [英] Front technology: which one is better option for new application razor-vs-angular

查看:78
本文介绍了前端技术:哪一个是新应用剃刀与角度的更好选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

My team is planning to convert our older application to new Enterprise level web application.

So, we are doing some research into the latest web frameworks. For the backend we have selected.Net Core web API with the SQL Server as Database. This layer will remain disconnected with the UI layer, as we are planning to use the same Web API for a mobile app as well.

We wanted to get some expert opinions on the "new" Razor vs. Angular.





我尝试过:





What I have tried:

We are particularly more concerned with performance, along with the this also consider Development efforts as we all are new with both the technology.

How does Core 2.0 Razor hold up to client-side rendering frameworks?

Is there any performance difference between both?

Which one is more mature in terms of front development?

Which technology has larger developer community?

Are we able to host both of it, on Linux/Unix server?

Thanks in advance!

推荐答案

Angular是一个比较成熟的平台,拥有更大的社区,并且谷歌充斥着随后的样本。缺点是它在不断发展,如果方法使用被弃用,将来你可能不得不改变你的代码。



Blazor看起来它将执行大多数JS framerworks ,但没有在社区或样本附近工作。虽然它是一项新技术,但由于代码将是ASP.NET,因此它的基础非常紧密。当前端组件更新时,它主要通过 mono.js 文件或通过SignalR通信连接到后端; ASP.NET代码定位应该保持不变。



只要安装了必要的组件,就可以在大多数服务器平台上实现。
Angular is the more mature platform, has a lot larger community, and Google is littered with samples to follow. The downside is it is continuously evolving and you may have to alter your code in the future if methods use become deprecated.

Blazor looks like it will out perform most JS framerworks, but has nowhere near the community or samples to work with. While it is a new technology, it's underpinnings are pretty set as the code will be ASP.NET. When the front-end component updates it will mostly be done via the mono.js file or through the SignalR communication to the backend; the ASP.NET code targeting should remain the same.

Either can be implemented on most server platforms as long as the requisite components are installed.


这篇关于前端技术:哪一个是新应用剃刀与角度的更好选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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