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


Learn JavaScript Promise method in easiest way

Last Updated: June 3, 2021

javascript promise

The Promise is an object that may produce a value, sometime in the future, on the completion of an asynchronous operation. The produced value can be either a successful result or an error .

(more…)

What is Endpoint Routing, Implementing it from start [with codes]

Last Updated: April 29, 2022

endpoint routing

The concept of Routing is very vast and I have covered it in 6 tutorials which are:

So make sure you cover each of these one by one.

ASP.NET Core 3.0 brings a new concept of Endpoint routing which scans incoming HTTP requests and maps them to Endpoint in the application. Endpoints can be controllers, razor pages, Blazor, SignalR and gRPC. This allows different types of Dot Net apps to work together without any problem. Endpoint Routing improves the overall routing mechanism feature in Dot Net.

In Dot Net 6.0 endpoint routing middleware wraps the entire middleware pipeline, therefore there's no need to have explicit calls to endpoints methods described in this tutorial. Simply looks at my tutorial on ASP.NET Core Routing if you are using Dot Net 6. For Dot Net 5.0 and earlier kindly continue.
(more…)

How to Implement Cookie Authentication in ASP.NET Core

Last Updated: February 20, 2024

cookie authentication

Cookie Authentication in ASP.NET Core is used to implement our own Custom Authentication Logic without using ASP.NET Core Identity in any way.

(more…)

How to Enable Cross-Origin Requests (CORS) in ASP.NET Core

Last Updated: February 20, 2024

enable cors aspnet core

Browser security prevents a web page located on a domain to make requests to another web page which is located on a different domain. This restriction is called the same-origin policy. This security feature prevents malicious sites to read data from another websites.

(more…)

jQuery Interview Questions – Top 100 Answers

Last Updated: June 21, 2021

jquery interview questions

The below jQuery Interview Questions with answers will help you to succeed every job interview. These interview questions are divided into 4 parts: (more…)

How to use Select2 jQuery plugin in ASP.NET CORE

Last Updated: June 21, 2021

select2 jquery aspnet core

Select2 is a jQuery based replacement for HTML Select Control. It supports searching, remote data sets, and infinite scrolling of results. It is available in GitHub and is free to use for everyone.

(more…)

How to Call Web API from jQuery [ASP.NET Core Edition]

Last Updated: January 20, 2026

consuming aspnet core api in jquery

In my ASP.NET Core tutorial on Web API I created a REST Web API having GET, POST, PUT and DELETE methods. This API was performing CRUD operations on Reservation objects. Now in this tutorial I will Call this Web API from jQuery. I will use jQuery AJAX to pass Parameters and Credentials to the Web API. So let's get started.

Make sure to keep the Web API project in running state so that the API can be called by jQuery code.

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

(more…)

How to use jQuery AJAX method to call an Action method in ASP.NET Core

Last Updated: March 5, 2022

jquery ajax aspnet core

ASP.NET Core is a modern web development framework by Microsoft. You can build any type of projects – big or small, in this framework. ASP.NET Core is based on Model View Controller (MVC) architecture where any HTTP based request is captured by a Controller which then passes the response to the View.

(more…)

How to efficiently use jQuery Focus & Blur methods

Last Updated: June 3, 2021

jquery focus blur

The jQuery Focus method is called when a control gets focus. (more…)

Complete Guide: Union all vs Union operators in SQL Server

Last Updated: June 8, 2021

union all vs union

SQL Server has 2 operators called Union All and Union that combine the result-set of two or more SELECT statements. The difference between Union All and Union operators is that Union All will ‘not remove the duplicate rows’ from the combined result-set, on the other hand Union operator will ‘remove the duplicate rows’ from the combined result-set. (more…)