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


How to use jQuery to update records from inside the GridView with no Page Postback and without using Update Panel

Last Updated: June 6, 2021

update gridview with jquery

There is no need to use OnRowEditing & OnRowUpdating events of GridView when updating records from it as it can be easily done using jQuery. In this tutorial I will teach you how to use jQuery to do the update of records from inside the GridView itself so that there is No Page Postback.

(more…)

Call Web API from JavaScript with XMLHttpRequest (XHR)

Last Updated: January 20, 2026

javascript api

JavaScript is a powerful programming language and I will now Call Web API from it. To be precise, I will use XMLHttpRequest (XHR) object to call the web api from JavaScript. I already have created my Web API built in ASP.NET Core, it is in RESTful pattern and has all the CRUD operations like providing flight reservations data to clients in JSON, searching the reservations with their ids, updating and deleting reservations and so on.

This tutorial is a part of the ASP.NET Core API series which contains 5 tutorials to master this area:

(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: June 6, 2021

sum of columns gridview-footer

When working with GridView in ASP.NET Web Forms, there are requirements to show the sum of all the columns in the footer of the GridView. Well, let me tell you don’t write lengthy C# codes in .aspx.cs for these simple things, instead you can achieve this by using only a few lines of jQuery.

(more…)

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

Last Updated: January 17, 2024

JWT jquery

JWT authentication is a popular standard to secure the Web API. In my last tutorial I explained in full details about ASP.NET Core JWT Authentication and Authorization of Web API, if you haven’t read it make sure you do it now.

(more…)

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

Last Updated: January 17, 2024

JWT JSON Web Token

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…)