Welcome to BinaryIntellect Knowledge Base !
BinaryIntellect Knowledge Base is dedicated to .NET and web development related content. Here you will find articles, tutorials, how tos, and code samples on .NET family of technologies such as ASP.NET, ASP.NET Core, Blazor, C#, ADO.NET, Entity Framework, Web API and more. For latest article updates connect with me on Twitter, LinkedIn, and Facebook.

Latest Articles

Test APIs using Endpoints Explorer and .http files
ASP.NET Core web developers often need to test the controller based APIs and minimal APIs they add in their projects. Typically developers use tools such as Postman or Swagger for this purpose. Visual Studio 2022 now has tools that can come handy for quickly testing your APIs. This article explains these tools with an example.
Posted On : 18 Sep 2023
Use protected browser storage in Blazor
In the previous article we learned to use sessionStorage and localStorage in Blazor apps. The localStorage object also has storage event that one can use to get notified when localStorage is modified in some way. In this article we will first discuss the storage event with an example. We will then learn to use what is known as Protected Browser Storage that is available exclusively to Blazor Server apps.
Posted On : 14 Aug 2023
Use sessionStorage and localStorage in Blazor
Traditionally developes used cookies to store small pieces of information on the client machine. Although you can use cookies in Blazor apps, there is a modern and more handy alternative -- sessionStorage and localStorage objects.
Posted On : 07 Aug 2023
Show cascading dropdown lists in Blazor
In the previous article we learned to cascading create dropdown lists in ASP.NET Core MVC. You might want the same functionality in Blazor Web Assembly apps also. That's what we are going to do in this article.
Posted On : 17 Jul 2023
Show cascading dropdown lists in ASP.NET Core
Many years ago I wrote a few articles on displaying cascading dropdown lists in ASP.NET. Since this is a very common requirement while building web UIs it's worthwhile to see how cascading dropdown lists can be displayed in ASP.NET Core MVC also.
Posted On : 19 Jun 2023
Group Dropdown list items in ASP.NET Core
Displaying a list of options in a dropdown list or a listbox is quite common in ASP.NET Core forms. You can use the Select Tag Helper to render a <select> element and its options. If you want to display a large number of options to choose from, it would be better to group those options to make it easier for the end user to make the selection. In this article we will learn two ways to group dropdown list items.
Posted On : 05 Jun 2023
Display Checkbox and Radio Button table column in ASP.NET Core
Displaying data in tabular or grid format is quite common in web applications. At times you want to display a column as a series of checkboxes or radio buttons such that a user can indicate a boolean selection. In this article we will discuss a possible approach to accomplish that task.
Posted On : 29 May 2023
Perform CRUD operations on JSON data using SQL Server and EF Core -- Part 2
In the previous part of this article we created the Projects table and EF Core classes. Now it's time to create a Web API that performs the CRUD operations on the Projects table.
Posted On : 15 May 2023
Perform CRUD operations on JSON data using SQL Server and EF Core -- Part 1
Non-relational data is quite common these days. Such a non-relational data is often stored in JSON format. There are database engines available that process JSON documents and allow you to work with data using specialized libraries designed for that purpose. However, at times you need to work with relational and non-relational data together in the same application.
Posted On : 01 May 2023
Pass a JSON Web Token (JWT) to minimal API using fetch()
In the previous article we learned to call Web API and minimal API using fetch(). Many a times your APIs are secured using JSON Web Token (JWT) based authentication scheme. And you need to pass the JWT while making API calls. In this part of the article we will learn to do just that.
Posted On : 17 Apr 2023