Posts

Showing posts from July, 2020

Microsoft Blazor

Image
Blazor is Microsoft provided framework which is used to build client-side UI using C# instead of a JS framework. It is a web UI framework based on C# & Razor that runs in a web browser. It simplifies the task of building fast and beautiful single-page applications that run in any browser. Pre-requisite: .NET Core 2.1 or later Visual Studio 2019 Blazor Extension Before starting with creating a sample app we need to understand different hosting models. Client-Side: Blazor client-side app works in all major browsers including mobile browser. Running dotnet code in a web browser is possible with Web Assembly. It is open standard & supported in all browsers. It is deployed as a set of the static file without any .Net dependencies. Server Side: In this app is executed from Windows Server. The only drawback is there is no offline support. But there is one advantage also, If the connection is lost, it'll automatically reconnect once it is up. This is possible with the help of Sig...