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

Use access token and refresh token returned by Identity API endpoints
In the previous part of this series we wired token based authentication and Identity API endpoints into our Employees Web API. Now it's time to test and confirm the working of our API.
Posted On : 15 Apr 2024
Use token authentication and Identity API endpoints in ASP.NET Core
If you are following previous articles of this series, you are probably comfortable working with Web API and class library projects in VS Code. We will take our example a step further and add authentication to the Web API.
Posted On : 08 Apr 2024
Work with Web API and Class Library projects in Visual Studio Code
In the previous article you learned to setup Visual Studio Code for ASP.NET Core development. We created ASP.NET Core MVC project and used scaffolding to create CRUD pages. In this article you will create a Web API that exposes the CRUD functionality to its client apps. You will also wrap the EF Core code inside a class library project.
Posted On : 19 Feb 2024
Develop ASP.NET Core apps using Visual Studio Code
Visual Studio Code or VS Code is a light weight IDE for modern web development. It supports a wide range of programming and scripting languages including C# and .NET Core. It has a very good extensions and libraries. If you are an ASP.NET developer familiar with Visual Studio and are looking to get introduced to Visual Studio Code this article is for you.
Posted On : 06 Feb 2024
Display tabular data using QuickGrid for Blazor
Displaying tables or grids is one of the most common requirements in web applications. There are plenty of third-party grid components available for ASP.NET Core and Blazor. However, if you require basic tabular display with sorting, paging, and filtering abilities QuickGrid component developed by the Blazor team is all you need. In this article we will explore some of the features and abilities of QuickGrid.
Posted On : 08 Jan 2024
Use API key authentication in ASP.NET Core
Developers often need to authenticate Web API calls at two levels. You might want to authenticate individual users while making an API call or you might want to authenticate the client that is trying to call an API. The former is can be implemented via a token based scheme and latter can be implemented using what is known an API key authentication.
Posted On : 11 Dec 2023
Understand the new Blazor project template in ASP.NET Core 8
Recently Microsoft released .NET 8 that also included a good amount of enhancements to ASP.NET Core. As a part of the improvements Blazor got a new project template -- Blazor Web App. The new project template supports the newly added features including render modes and authentication. In this article we will look at the new project template and template options in Visual Studio 2022.
Posted On : 21 Nov 2023
Use Endpoint Filters and Route Groups in Minimal APIs
ASP.NET Core Minimal APIs allow you to quickly create controller-less HTTP APIs with minimal dependencies. A minimal API typically has an endpoint URL and an endpoint handler. At times you want to intercept an endpoint handler so that you can add pre and post processing to the endpoint handler. That's where Endpoint Filters come into picture. When there are too many endpoints, it makes sense to group them using a common URL prefix. This is taken care by Route Groups. In this article we will examine both with a few examples.
Posted On : 16 Oct 2023
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