Tutorials on ASP.NET Core, Blazor, jQuery, JavaScript, Entity Framework, Identity, WordPress, SQL, HTML & more


Call Web API from JavaScript with XMLHttpRequest (XHR)

Last Updated: October 30, 2026

javascript api

JavaScript is a powerful programming language that can be used to Call Web API directly from the browser. In this tutorial, I will show you how to call a Web API using JavaScript, specifically with the XMLHttpRequest (XHR) object. I have already created a Web API built with ASP.NET Core that follows the RESTful pattern and supports all the essential CRUD operations. The API provides flight reservation data to clients in JSON format and allows clients to search reservations by ID, update existing reservations, delete reservations, and perform other related operations. I will use JavaScript and the XHR object to communicate with this API.

(more…)

How to perform Localization with Portable Object (PO) files in an ASP.NET Core

Last Updated: March 10, 2024

Portable Object files also known commonly as PO files are text based files containing the entry holding the relation between an original untranslated string and its corresponding translation. They are a substitute for resource files to perform localization of a website built in asp.net core.

(more…)

Globalization and Localization with Resource Files in ASP.NET Core

Last Updated: March 10, 2024

Globalization Localization Resource

(more…)

How to use Globalization and localization in ASP.NET Core

Last Updated: March 10, 2024

Globalization Localization

(more…)

How to implement gRPC in ASP.NET Core

Last Updated: October 6, 2024

grpc asp.net core

gRPC is a Remote Procedure Call protocol developed by Google which is up to 6 times faster than REST APIs. In this tutorial we will create a gRPC service in ASP.NET Core. The following topics are covered:
  • Unary
  • Server Streaming
  • Client Streaming
  • Bi-directional Streaming
The full source codes created in this tutorial can be downloaded by the download link given at the last paragraph of this tutorial. So enjoy learning gRPC.
(more…)

Show GridView Data in Left to Right manner

Last Updated: June 6, 2021

show gridview data in left to right manner

The GridView by default shows the data from ‘top to bottom’. If you want to show the data from left to right then you can use JavaScript to do this work. Here in this tutorial I will use JavaScript to swap the GridView’s Rows and Columns to bring 2 changes:

(more…)

How to show sum of columns in the footer of the GridView with jQuery

Last Updated: August 29, 2026

sum of columns gridview-footer

When working with a GridView in ASP.NET Web Forms, you may often need to show the sum of all the columns in the GridView footer. While this can be achieved using lengthy C# code in the .aspx.cs file, there is a much simpler approach.

With just a few lines of jQuery, you can quickly calculate and display column totals without writing complex server-side code.

In this tutorial, I will show you some of the simplest ways to calculate and display column sums in the GridView footer using jQuery. The examples are easy to implement and can help you reduce unnecessary C# code.

(more…)

How to call a JWT secured APIs with jQuery AJAX [with source codes]

Last Updated: September 25, 2026

JWT jquery

JWT authentication is a popular standard for securing Web APIs. In my previous tutorial, I explained in detail how to implement ASP.NET Core JWT Authentication and Authorization of Web API — if you haven't read it yet, make sure to check it out before continuing.

(more…)

ASP.NET Core JWT Authentication and Authorization of Web API [Detailed]

Last Updated: October 20, 2026

What is JWT in .NET - JWT which stands for "JSON Web Tokens" is an open standard method for securely transmitting information between parties as a JSON object (commonly known as ‘Token’). The token is digitally signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. Since the token is signed with a public/private key pairs, the signature certifies that only the party holding the private key is the one that signed it. The JWT is generated by the authentication server when a client successfully logs in. This token contains the user’s identity and access rights and is then sent with every API request (which the client makes) as a bearer token in the authorization header.

(more…)

How to Install Bootstrap Package in ASP.NET Core Application in Visual Studio

Last Updated: October 17, 2026

install bootstrap visual studio

Visual Studio provides several ways to install and manage client-side libraries such as Bootstrap and jQuery in ASP.NET Core applications. These libraries help you build responsive, interactive, and visually appealing web applications without writing every feature from scratch.

In this tutorial, you will learn about two client-side package management tools:

  1. LibMan (LibraryManager)
  2. Bower

You will understand how they work, how to install client-side libraries using these tools, and how to configure the downloaded files in your ASP.NET Core project. Follow the step-by-step examples to learn how to add these libraries to your application and start using them in your web pages.

I will also give you an example of this installation process. So make sure to read this tutorial on one go.

(more…)