当前位置:网站首页>Is blazor ready to serve the enterprise?

Is blazor ready to serve the enterprise?

2020-11-10 14:23:17 osc_5k0epejp

If you are writing .NET Web Applications , You may have realized that in the last year .NET Web The hot spots in the field of development are Blazor Of . If you don't understand Blazor, It allows you to use C# To write the Web Applications , Traditionally you have to use JavaScript. In the past two years, , I've seen it evolve from a lovely Microsoft experimental project to what they think is a production ready project .

With the official release next week .NET 5 ! We see Blazor A lot of improvements to :CSS Isolation 、JavaScript Isolation 、 Component virtualization 、 Switching events support 、 Delay loading 、 Server side pre rendering and so on . These improvements can help Blazor Catch up with the leading SPA The basic functions of the framework , Such as Vue、React and Angular.

If you're writing code for a company of the right size , You might think Blazor Are you ready for enterprise application development . You can convince your bosses to use it for new application development , Is it possible to refactor an existing application ? I think it's ready . However , It's not an easy answer " yes "-- It involves a subtle answer , It's not just about new technology . Here I would like to share a related English article :

  • Is Blazor Safe for Your Enterprise to Bet On?

We will answer some common questions to answer this question :

Blazor Is another Silverlight Do you ?

If you use Blazor Developed for a while , I must feel that this is an unreasonable argument , It's usually the right question to ask Blazor Questions raised by feeling without understanding , But this is one of you in .NET Questions that must be answered in Ecology .Blazor Is based on WebAssembly Standard built ( Use C# instead of JavaScript To build Web Applications ), Instead of using Microsoft's exclusive technology that can be suddenly abandoned . It doesn't need to be like Silverlight That browser plug-in .

Blazor How to help teams deliver faster ?

Blazor It's lower than usual with JavaScript Associated front end learning curve , And allow developers to use their languages and tools to get things done .Blazor It will not replace JavaScript . however , If you are a service with a majority of C# The developer's company , The work efficiency will be significantly improved . The team just needs to be familiar with the core SPA Concept , but .NET Domain knowledge is reusable , A very typical situation is to engage in a lot of Winform Development of students , The switch to Blazor Development Web The speed will be enjoyable .

Whether it supports good ecosystems ?

because Blazor Is in .NET In ecosystem , So it also has Microsoft's official support , Like any other product . Besides ,Microsoft Continue to invest a lot of energy , And has a long history of backward compatibility . Ecosystems are not like Angular and React That evolution , They have made great progress , But it's growing dramatically . Just like Peter · What Vogel said ,Blazor Has been and Vue comparison , have 25% Revenue ( From Google Trends ).

Good performance ?

And others SPA Compared to the framework ,Blazor Is it good enough ? in the majority of cases , There will be some waiting - Blazor Web Assembly Has a large download size ( As it loads in the browser .NET), also Blazor Server With network hops per user interaction ..NET The team has made great progress in addressing performance ,AOT Compilation is .NET 6 in ASP.NET The biggest feature request for ( And it also affects ASP.NET Middle Africa Blazor Applications ). If you're dealing with massive amounts of data , You may need to wait for these improvements , But in most business situations, these improvements should be appropriate .

版权声明
本文为[osc_5k0epejp]所创,转载请带上原文链接,感谢