Getting started with ASP.NET Core Blazor (Part 1)


This is one of the cool technologies came from Microsoft for web developer who are willing to develop modern application without compromising the performance of application. If you are C# developer and Having asp.net Webform background, then you will feel very much comfortable and productive with this blazor.

There are so many single Page framework is available like AngularJS, Angular,ReactJS, Knockoutjs, Backbone, EmberJS, MeteorJS, PolymerJS, Aurelia, Vue, Mithril. js, Node.js, etc.

A single-page application is an app that works inside a browser and does not require page reloading during use. You are using this type of applications every day. For instance, Gmail, Google Maps, Facebook or GitHub etc.
If you have worked on the above framework then you might be aware that AngularJs, Angular, Backbone and KnockoutJs etc. all the syntax and approach will different from each other. This is the big headache for asp.net developer to remember and kill the productivity of developer.

Why should I use Blazor instead of existing single page framework?

1. It is more productive like asp.net Webform. It can save more than 60% development time and cost as compare to existing single page framework
2. It is very easy to learn. Developer can finish complex task with in very less time.
3. Create rich interactive UIs using C# instead of JavaScript.
4. Share server-side and client-side app logic written in .NET.
5. Render the UI as HTML and CSS for wide browser support, including mobile browsers.
6. Leverage the existing .NET ecosystem of .NET libraries.
7. Benefit from .NET’s performance, reliability, and security.
8. Stay productive with Visual Studio on Windows, Linux, and macOS
9. Build on a common set of languages, frameworks, and tools that are stable, feature-rich, and easy to use.

Type of Blazor Application
1. Blazor Server
2. Blazor Web Assembly

Blazor Server run on server and it uses SignalR to communicate between client/server.

Blazor Web Assembly, still in a preview version.In this approach it will use the WebAssembly to run the C# code on browser.

Summary:

In this small note we saw that what is Blazor and why it is so important for asp.net web developer. In coming day so many big company will adopt this technology due to its high productivity features. It will save so much development cost of any application.