How to Export Data to Excel in Blazor

In this new post, I’m going to show how to export data to Excel in Blazor WebAssembly or Server. Creating and exporting data to Excel file is one of the frequently used feature in web apps. First, for creating an export in Excel, I will use a free library that is a NuGet package. ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API. So, you can download the full source…

Read More

Next generation of Windows is here

Next generation of Windows is here

Microsoft has created an event for showing the next generation of Windows is (almost) here on June 24th. Here the event to add to your calendar. After teasing the next generation of Windows during Build last week, Microsoft announced that it’ll officially unveil the new version of its operating system on June 24th at 11AM Eastern. The company has begun sending out invites to media. It’s revealed that CEO Satya Nadella and chief product officer Panos Panay will be headlining the event. The promise at Build At Build, Nadella said he’s been testing the…

Read More

Exciting time for Windows users

Windows10 Sun Valley - Exiting time for Windows users

This week it is quite an exciting time for Windows users and developers. Let me tell you why. Microsoft isn’t talking about its big Windows plans at Build 2021 this week, and that’s because the company is preparing to detail what’s next for its PC operating system separately. Microsoft CEO Satya Nadella teased this announcement during his Build keynote this morning, revealing he has been testing “the next generation of Windows” in recent months. “Soon we will share one of the most significant updates to Windows of the past decade…

Read More

Blazor using HttpClient with authentication

Microsoft Blazor wallpaper

Today, we are going to learn how to create a secure connection in Blazor using HttpClient with authentication to gain access to the protected resources on the Web API’s side. Everything is based on IdentityServer. Until now, we secure Blazor WebAssembly With IdentityServer4 and enabled login and logout actions. After successful login, IdentityServer sends us the id_token and the access_token. But we are not using that access_token yet. So, in this article, we are going to change that. But, using the access token with Blazor WebAssembly is not going to be our…

Read More

Working with Blazor’s component model

Microsoft Blazor wallpaper

Welcome to Working with Blazor’s component model” post! In this new post I’ll build a simple project in Blazor and explain the basic Blazor components and interactions. Also, the source code of the project I’m going to create in this post is available on GitHub. Here the posts I wrote about Blazor that help you to learn this new technology better and faster: What is a Blazor component? First, the fundamental building blocks of Blazor applications are components, almost everything you do will directly or indirectly work with them. In…

Read More